15,7 → 15,6 |
;; ;; |
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
|
|
format MS COFF |
|
API_VERSION equ 0x01000100 |
342,12 → 341,12 |
|
; Fill in the direct call addresses into the struct |
|
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 |
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 |
|
; save the pci bus and device numbers |
|
788,8 → 787,6 |
|
mov esi, RTL8139_LIST |
mov ecx, [RTL8139_DEV] |
test ecx, ecx |
jz .fail |
.nextdevice: |
mov ebx, dword [esi] |
|
803,8 → 800,7 |
test ax , ax |
jnz .got_it |
|
dec ecx |
jnz .nextdevice |
loop .nextdevice |
|
ret ; If no device was found, abort (The irq was probably for a device, not registered to this driver) |
|