2
0
mirror of https://github.com/xcat2/xNBA.git synced 2024-12-24 12:11:33 +00: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:
Andrei Faur 2010-07-07 15:43:41 +03:00 committed by Michael Brown
parent 68c2f07f15
commit ab14421990

View File

@ -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 )