From 35c4be95ade76e0509694f8482112a9b3a7f694d Mon Sep 17 00:00:00 2001 From: CleverMouse Date: Fri, 22 Jan 2010 11:09:23 +0000 Subject: [PATCH] fix typo in network drivers git-svn-id: svn://kolibrios.org@1377 a494cfbc-eb01-0410-851d-a64ba20cac60 --- kernel/branches/net/drivers/RTL8139.asm | 2 +- kernel/branches/net/drivers/pcnet32.asm | 2 +- kernel/branches/net/drivers/sis900.asm | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/kernel/branches/net/drivers/RTL8139.asm b/kernel/branches/net/drivers/RTL8139.asm index 3e8a13036e..6791b948bb 100644 --- a/kernel/branches/net/drivers/RTL8139.asm +++ b/kernel/branches/net/drivers/RTL8139.asm @@ -302,7 +302,7 @@ align 4 proc service_proc stdcall, ioctl:dword mov edx, [ioctl] - mov eax, [ebx+IOCTL.io_code] + mov eax, [edx+IOCTL.io_code] ;------------------------------------------------------ diff --git a/kernel/branches/net/drivers/pcnet32.asm b/kernel/branches/net/drivers/pcnet32.asm index e881af01c5..840a568e10 100644 --- a/kernel/branches/net/drivers/pcnet32.asm +++ b/kernel/branches/net/drivers/pcnet32.asm @@ -470,7 +470,7 @@ align 4 proc service_proc stdcall, ioctl:dword mov edx, [ioctl] - mov eax, [ebx+IOCTL.io_code] + mov eax, [edx+IOCTL.io_code] ;------------------------------------------------------ diff --git a/kernel/branches/net/drivers/sis900.asm b/kernel/branches/net/drivers/sis900.asm index 5e1af8cea5..b2b4beaa9b 100644 --- a/kernel/branches/net/drivers/sis900.asm +++ b/kernel/branches/net/drivers/sis900.asm @@ -133,7 +133,7 @@ service_proc: ; pointer to IOCTL structure. mov edx, [esp+4] ; edx -> IOCTL ; 2. Get request code and select a handler for the code. - mov eax, [ebx+IOCTL.io_code] + mov eax, [edx+IOCTL.io_code] test eax, eax ; check for SRV_GETVERSION jnz @f ; 3. This is SRV_GETVERSION request, no input, 4 bytes output, API_VERSION.