summaryrefslogtreecommitdiffstats
path: root/src/drivers/net/pcnet32.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/drivers/net/pcnet32.c')
-rw-r--r--src/drivers/net/pcnet32.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/drivers/net/pcnet32.c b/src/drivers/net/pcnet32.c
index 24425aab..79f68b07 100644
--- a/src/drivers/net/pcnet32.c
+++ b/src/drivers/net/pcnet32.c
@@ -634,8 +634,7 @@ static void pcnet32_transmit(struct nic *nic __unused, const char *d, /* Destina
/**************************************************************************
DISABLE - Turn off ethernet interface
***************************************************************************/
-static void pcnet32_disable(struct dev *dev __unused)
-{
+static void pcnet32_disable ( struct nic *nic __unused ) {
/* Stop the PCNET32 here -- it ocassionally polls memory if we don't */
lp->a.write_csr(ioaddr, 0, 0x0004);