summaryrefslogtreecommitdiffstats
path: root/src/drivers/net/eepro.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/eepro.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/eepro.c')
-rw-r--r--src/drivers/net/eepro.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/drivers/net/eepro.c b/src/drivers/net/eepro.c
index a191a163..42450b9d 100644
--- a/src/drivers/net/eepro.c
+++ b/src/drivers/net/eepro.c
@@ -456,8 +456,7 @@ static void eepro_transmit(
/**************************************************************************
DISABLE - Turn off ethernet interface
***************************************************************************/
-static void eepro_disable(struct dev *dev __unused)
-{
+static void eepro_disable ( struct nic *nic __unused ) {
eepro_sw2bank0(ioaddr); /* Switch to bank 0 */
/* Flush the Tx and disable Rx */
outb(STOP_RCV_CMD, ioaddr);