Subversion Repositories Kolibri OS

Rev

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

Rev 1733 Rev 2220
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: 1733 $
17
$Revision: 2220 $
18
 
18
 
19
struct	ETH_FRAME
19
struct	ETH_FRAME
20
	.DstMAC 	dp  ?  ; destination MAC-address
20
	.DstMAC 	dp  ?  ; destination MAC-address
Line 42... Line 42...
42
iglobal
42
iglobal
Line 43... Line 43...
43
 
43
 
44
	ETH_BROADCAST	dp  0xffffffffffff
44
	ETH_BROADCAST	dp  0xffffffffffff
Line 45... Line -...
45
endg
-
 
46
 
-
 
47
align 4
-
 
48
uglobal
-
 
49
	ETH_RUNNING	dd  ?
-
 
50
endg
-
 
51
 
-
 
52
 
-
 
53
;-----------------------------------------------------------------
-
 
54
;
-
 
55
; ETH_init
-
 
56
;
-
 
57
;  This function resets all ethernet variables
-
 
58
;
-
 
59
;-----------------------------------------------------------------
-
 
60
macro	ETH_init {
-
 
61
 
-
 
62
	mov	[ETH_RUNNING], 0
-
 
63
 
-
 
64
}
-
 
65
 
45
endg
66
 
46
 
67
;-----------------------------------------------------------------
47
;-----------------------------------------------------------------
68
;
48
;
69
; ETH_input
49
; ETH_input