Subversion Repositories Kolibri OS

Rev

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

Rev 1206 Rev 1241
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: 1206 $
17
$Revision: 1241 $
18
 
18
 
Line 19... Line 19...
19
MAX_ETH_DEVICES 	equ MAX_NET_DEVICES
19
MAX_ETH_DEVICES 	equ MAX_NET_DEVICES
Line 475... Line 475...
475
	ret
475
	ret
Line 476... Line 476...
476
 
476
 
477
.bytes_tx:
477
.bytes_tx:
478
	add	eax, ETH_DRV_LIST
478
	add	eax, ETH_DRV_LIST
479
	mov	eax, dword [eax]
479
	mov	eax, dword [eax]
480
	mov	eax, dword [eax + ETH_DEVICE.bytes_tx + 4]
480
	mov	ebx, dword [eax + ETH_DEVICE.bytes_tx + 4]
481
	mov	eax, dword [eax + ETH_DEVICE.bytes_tx]
481
	mov	eax, dword [eax + ETH_DEVICE.bytes_tx]
482
	mov	[esp+20+4], ebx 			; TODO: fix this ugly code
482
	mov	[esp+20+4], ebx 			; TODO: fix this ugly code
Line 483... Line 483...
483
	ret
483
	ret