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/davicom.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/davicom.c')
-rw-r--r-- | src/drivers/net/davicom.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/drivers/net/davicom.c b/src/drivers/net/davicom.c index 07f8dc76..b9ba9b8c 100644 --- a/src/drivers/net/davicom.c +++ b/src/drivers/net/davicom.c @@ -617,9 +617,7 @@ static int davicom_poll(struct nic *nic, int retrieve) /*********************************************************************/ /* eth_disable - Disable the interface */ /*********************************************************************/ -static void davicom_disable(struct dev *dev) -{ - struct nic *nic = (struct nic *)dev; +static void davicom_disable ( struct nic *nic ) { whereami("davicom_disable\n"); davicom_reset(nic); |