From: Andrei Faur Date: Wed, 7 Jul 2010 12:43:41 +0000 (+0300) Subject: [pcnet32] Fix pcnet32_wio_reset() bug X-Git-Tag: v1.20.1~2619 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ab144219901ebfb7893787c70d74a685d10cb0ba;p=thirdparty%2Fipxe.git [pcnet32] Fix pcnet32_wio_reset() bug This bug caused .probe to fail because the NIC did not reset properly. Signed-off-by: Andrei Faur Signed-off-by: Stefan Hajnoczi Signed-off-by: Michael Brown --- diff --git a/src/drivers/net/pcnet32.c b/src/drivers/net/pcnet32.c index 48cc5f714..e957ad9bb 100644 --- a/src/drivers/net/pcnet32.c +++ b/src/drivers/net/pcnet32.c @@ -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 )