summaryrefslogtreecommitdiffstats
path: root/src/drivers/net/sundance.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/sundance.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/sundance.c')
-rw-r--r--src/drivers/net/sundance.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/drivers/net/sundance.c b/src/drivers/net/sundance.c
index 4806509d..0c00fab3 100644
--- a/src/drivers/net/sundance.c
+++ b/src/drivers/net/sundance.c
@@ -555,8 +555,7 @@ static void sundance_transmit(struct nic *nic, const char *d, /* Destination */
/**************************************************************************
DISABLE - Turn off ethernet interface
***************************************************************************/
-static void sundance_disable(struct dev *dev __unused)
-{
+static void sundance_disable ( struct nic *nic __unused ) {
/* put the card in its initial state */
/* This function serves 3 purposes.
* This disables DMA and interrupts so we don't receive