mirror of
https://github.com/ipxe/ipxe
synced 2025-12-10 13:32:20 +03:00
[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>
This commit is contained in:
committed by
Michael Brown
parent
68c2f07f15
commit
ab14421990
@@ -74,7 +74,7 @@ static void pcnet32_wio_write_rap ( unsigned long addr , u16 val )
|
|||||||
|
|
||||||
static void pcnet32_wio_reset ( unsigned long addr )
|
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 )
|
static int pcnet32_wio_check ( unsigned long addr )
|
||||||
|
|||||||
Reference in New Issue
Block a user