summaryrefslogtreecommitdiffstats
path: root/src/drivers/net/pcnet32.c
diff options
context:
space:
mode:
authorMichael Brown2005-04-13 01:31:37 +0200
committerMichael Brown2005-04-13 01:31:37 +0200
commitc87ba23399c5d728190141596cdaec9b4b56593c (patch)
tree8f05aff2113205fdef78c6ef8e152dcab2235594 /src/drivers/net/pcnet32.c
parentAutomatically updated using (diff)
downloadipxe-c87ba23399c5d728190141596cdaec9b4b56593c.tar.gz
ipxe-c87ba23399c5d728190141596cdaec9b4b56593c.tar.xz
ipxe-c87ba23399c5d728190141596cdaec9b4b56593c.zip
Automatically updated using
perl -pi -0777 -e 's/_disable\s*\(\s*struct dev \*dev\s*\)\s*{\s*struct nic \*nic.*?$/_disable ( struct nic *nic ) {/ms' *.c perl -pi -0777 -e 's/_disable\s*\(\s*struct dev \*dev(\s*__unused)?\)\s*{/_disable ( struct nic *nic$1 ) {/ms' *.c
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);