Browse Source

[pcnet32] Fix pcnet32_wio_reset() bug

This bug caused .probe to fail because the NIC did not reset properly.

Signed-off-by: Andrei Faur <da3drus@gmail.com>
Signed-off-by: Stefan Hajnoczi <stefanha@gmail.com>
Signed-off-by: Michael Brown <mcb30@ipxe.org>
tags/v1.20.1
Andrei Faur 14 years ago
parent
commit
ab14421990
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      src/drivers/net/pcnet32.c

+ 1
- 1
src/drivers/net/pcnet32.c View File

74
 
74
 
75
 static void pcnet32_wio_reset ( unsigned long addr )
75
 static void pcnet32_wio_reset ( unsigned long addr )
76
 {
76
 {
77
-	inw ( addr + PCNET32_DWIO_RESET );
77
+	inw ( addr + PCNET32_WIO_RESET );
78
 }
78
 }
79
 
79
 
80
 static int pcnet32_wio_check ( unsigned long addr )
80
 static int pcnet32_wio_check ( unsigned long addr )

Loading…
Cancel
Save