From 0651536c07e112be14693123683556fcd7e07200 Mon Sep 17 00:00:00 2001 From: hidnplayr Date: Sat, 14 Jun 2014 10:34:31 +0000 Subject: [PATCH] Small bugfix concerning ISA devices git-svn-id: svn://kolibrios.org@4974 a494cfbc-eb01-0410-851d-a64ba20cac60 --- drivers/ethernet/RTL8029.asm | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/drivers/ethernet/RTL8029.asm b/drivers/ethernet/RTL8029.asm index 56dca42e2c..5e311d21c3 100644 --- a/drivers/ethernet/RTL8029.asm +++ b/drivers/ethernet/RTL8029.asm @@ -268,13 +268,12 @@ proc service_proc stdcall, ioctl:dword jmp .hook .isa: - mov esi, device_list mov ecx, [devices] test ecx, ecx jz .firstdevice_isa - mov al, [eax+3] movzx edi, word [eax+1] + mov al, [eax+3] .nextdevice_isa: mov ebx, [esi] cmp edi, [device.io_addr] @@ -291,7 +290,7 @@ proc service_proc stdcall, ioctl:dword call create_new_struct mov eax, [edx + IOCTL.input] - movzx ecx, word [eax+1] + movzx ecx, word[eax+1] mov [device.io_addr], ecx mov cl, [eax+3] mov [device.irq_line], cl