Explorar el Código

[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 hace 14 años
padre
commit
ab14421990
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1
    1
      src/drivers/net/pcnet32.c

+ 1
- 1
src/drivers/net/pcnet32.c Ver fichero

@@ -74,7 +74,7 @@ static void pcnet32_wio_write_rap ( unsigned long addr , u16 val )
74 74
 
75 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 80
 static int pcnet32_wio_check ( unsigned long addr )

Loading…
Cancelar
Guardar