Subversion Repositories Kolibri OS

Rev

Rev 9017 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 9017 Rev 9394
Line 12... Line 12...
12
;;          GNU GENERAL PUBLIC LICENSE                             ;;
12
;;          GNU GENERAL PUBLIC LICENSE                             ;;
13
;;             Version 2, June 1991                                ;;
13
;;             Version 2, June 1991                                ;;
14
;;                                                                 ;;
14
;;                                                                 ;;
15
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
15
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
Line 16... Line 16...
16
 
16
 
Line 17... Line 17...
17
$Revision: 9017 $
17
$Revision: 9394 $
18
 
18
 
Line 19... Line 19...
19
ETH_FRAME_MINIMUM       = 60
19
ETH_FRAME_MINIMUM       = 60
Line 60... Line 60...
60
        DEBUGF  DEBUG_NETWORK_ERROR,'K : cannot create kernel thread for ethernet, error %d\n', eax
60
        DEBUGF  DEBUG_NETWORK_ERROR,'K : cannot create kernel thread for ethernet, error %d\n', eax
61
  @@:
61
  @@:
Line 62... Line 62...
62
 
62
 
Line 63... Line -...
63
}
-
 
64
 
-
 
65
;-----------------------------------------------------------------;
-
 
66
;                                                                 ;
-
 
67
; eth_input: This function is called by ethernet drivers.         ;
-
 
68
; Push the received ethernet packet onto the ethernet input queue.;
-
 
69
;                                                                 ;
-
 
70
;  IN:  [esp] = Pointer to buffer                                 ;
-
 
71
;                                                                 ;
-
 
72
;  OUT: /                                                         ;
-
 
73
;                                                                 ;
63
}
-
 
64
 
-
 
65
align 4
-
 
66
; This function is called by ethernet drivers.
-
 
67
; Push the received ethernet packet onto the ethernet input queue.
-
 
68
;
-
 
69
;  Input:
-
 
70
;    [esp + 4] = Pointer to buffer
-
 
71
;    [esp + 8] = Return address (yes, really)
-
 
72
;
-
 
73
;  Example:
-
 
74
;    push .retaddr
74
;-----------------------------------------------------------------;
75
;    push buf_addr
Line 75... Line 76...
75
align 4
76
;    jmp eth_input
Line 76... Line 77...
76
eth_input:
77
eth_input: