瀏覽代碼

[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 年之前
父節點
當前提交
ab14421990
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1
    1
      src/drivers/net/pcnet32.c

+ 1
- 1
src/drivers/net/pcnet32.c 查看文件

@@ -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…
取消
儲存