Subversion Repositories Kolibri OS

Rev

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

Rev 1161 Rev 1171
Line 447... Line 447...
447
	dec	bl
447
	dec	bl
448
	jz	.in_queue	; 6
448
	jz	.in_queue	; 6
449
	dec	bl
449
	dec	bl
450
	jz	.out_queue	; 7
450
	jz	.out_queue	; 7
Line 451... Line -...
451
 
-
 
452
 
451
 
453
.error:
452
.error:
454
	mov	eax, -1
453
	mov	eax, -1
Line 455... Line 454...
455
	ret
454
	ret
456
 
455
 
457
.packets_tx:
456
.packets_tx:
458
	add	eax, ETH_DRV_LIST
457
	add	eax, ETH_DRV_LIST
-
 
458
	mov	eax, dword [eax]
459
	mov	eax, [eax]
459
	mov	eax, dword [eax + ETH_DEVICE.packets_tx]
Line 460... Line 460...
460
	mov	eax, [eax + ETH_DEVICE.packets_tx]
460
 
461
	ret
461
	ret
462
 
462
 
463
.packets_rx:
463
.packets_rx:
464
	add	eax, ETH_DRV_LIST
464
	add	eax, ETH_DRV_LIST
Line 465... Line 465...
465
	mov	eax, [eax]
465
	mov	eax, dword [eax]
466
	mov	eax, [eax + ETH_DEVICE.packets_rx]
466
	mov	eax, dword [eax + ETH_DEVICE.packets_rx]
467
	ret
467
	ret
468
 
468
 
469
.bytes_tx:
469
.bytes_tx:
Line 470... Line 470...
470
	add	eax, ETH_DRV_LIST
470
	add	eax, ETH_DRV_LIST
471
	mov	eax, [eax]
471
	mov	eax, dword [eax]
472
	mov	eax, dword [eax + ETH_DEVICE.bytes_tx + 4]
472
	mov	eax, dword [eax + ETH_DEVICE.bytes_tx + 4]
473
	ret
473
	ret
474
 
474
 
Line 475... Line 475...
475
.bytes_rx:
475
.bytes_rx:
476
	add	eax, ETH_DRV_LIST
476
	add	eax, ETH_DRV_LIST