diff options
author | Michael Brown | 2005-04-13 01:31:37 +0200 |
---|---|---|
committer | Michael Brown | 2005-04-13 01:31:37 +0200 |
commit | c87ba23399c5d728190141596cdaec9b4b56593c (patch) | |
tree | 8f05aff2113205fdef78c6ef8e152dcab2235594 /src/drivers/net/sundance.c | |
parent | Automatically updated using (diff) | |
download | ipxe-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.c | 3 |
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 |