Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[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>
  • Loading branch information
Daedrus authored and mcb30 committed Jul 11, 2010
1 parent 68c2f07 commit ab14421
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/drivers/net/pcnet32.c
Expand Up @@ -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 )
Expand Down

0 comments on commit ab14421

Please sign in to comment.