[gPXE-devel] [PATCH][pcnet32] Fix pcnet32_wio_reset() bug
Andrei Faur
da3drus at gmail.com
Wed Jul 7 08:43:41 EDT 2010
This bug caused .probe to fail because the NIC did not reset properly.
Signed-off-by: Andrei Faur <da3drus at gmail.com>
---
src/drivers/net/pcnet32.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/drivers/net/pcnet32.c b/src/drivers/net/pcnet32.c
index eeb7b72..a997f3c 100644
--- a/src/drivers/net/pcnet32.c
+++ b/src/drivers/net/pcnet32.c
@@ -74,7 +74,7 @@ static void pcnet32_wio_write_rap ( unsigned long addr , u16 val )
static void pcnet32_wio_reset ( unsigned long addr )
{
- inw ( addr + PCNET32_DWIO_RESET );
+ inw ( addr + PCNET32_WIO_RESET );
}
static int pcnet32_wio_check ( unsigned long addr )
--
1.6.3.3
More information about the gPXE-devel
mailing list