Subversion Repositories Kolibri OS

Compare Revisions

Regard whitespace Rev 1485 → Rev 1486

/kernel/branches/net/drivers/RTL8139.asm
15,6 → 15,7
;; ;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
 
 
format MS COFF
 
API_VERSION equ 0x01000100
341,12 → 342,12
 
; Fill in the direct call addresses into the struct
 
mov dword [device.reset], reset
mov dword [device.transmit], transmit
mov dword [device.get_MAC], read_mac
mov dword [device.set_MAC], write_mac
mov dword [device.unload], unload
mov dword [device.name], my_service
mov [device.reset], reset
mov [device.transmit], transmit
mov [device.get_MAC], read_mac
mov [device.set_MAC], write_mac
mov [device.unload], unload
mov [device.name], my_service
 
; save the pci bus and device numbers
 
787,6 → 788,8
 
mov esi, RTL8139_LIST
mov ecx, [RTL8139_DEV]
test ecx, ecx
jz .fail
.nextdevice:
mov ebx, dword [esi]
 
800,7 → 803,8
test ax , ax
jnz .got_it
 
loop .nextdevice
dec ecx
jnz .nextdevice
 
ret ; If no device was found, abort (The irq was probably for a device, not registered to this driver)