diff options
author | Michael Brown | 2005-04-14 17:09:28 +0200 |
---|---|---|
committer | Michael Brown | 2005-04-14 17:09:28 +0200 |
commit | cee678de7c204c10deb5b8627327688c0b238181 (patch) | |
tree | cb32b38745ad6f2f62f2284e0cc9bd0bcdd0b140 /src/drivers/net/davicom.c | |
parent | Automatically modified by (diff) | |
download | ipxe-cee678de7c204c10deb5b8627327688c0b238181.tar.gz ipxe-cee678de7c204c10deb5b8627327688c0b238181.tar.xz ipxe-cee678de7c204c10deb5b8627327688c0b238181.zip |
Fixed up automatic modifications by hand.
Diffstat (limited to 'src/drivers/net/davicom.c')
-rw-r--r-- | src/drivers/net/davicom.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/drivers/net/davicom.c b/src/drivers/net/davicom.c index 8ab697b9..4fef8f66 100644 --- a/src/drivers/net/davicom.c +++ b/src/drivers/net/davicom.c @@ -157,7 +157,7 @@ static int TxPtr; /*********************************************************************/ static void whereami(const char *str); static int read_eeprom(unsigned long ioaddr, int location, int addr_len); -static int davicom_probe(struct dev *dev); +static int davicom_probe(struct dev *dev,struct pci_device *pci); static void davicom_init_chain(struct nic *nic); /* Sten 10/9 */ static void davicom_reset(struct nic *nic); static void davicom_transmit(struct nic *nic, const char *d, unsigned int t, @@ -178,7 +178,7 @@ static void davicom_media_chk(struct nic *); /*********************************************************************/ /* Utility Routines */ /*********************************************************************/ -static inline void whereami(const char *str, struct pci_device *pci) +static inline void whereami(const char *str) { printf("%s\n", str); /* sleep(2); */ @@ -655,7 +655,7 @@ static void davicom_irq(struct nic *nic __unused, irq_action_t action __unused) /*********************************************************************/ /* eth_probe - Look for an adapter */ /*********************************************************************/ -static int davicom_probe ( struct dev *dev ) { +static int davicom_probe ( struct dev *dev, struct pci_device *pci ) { struct nic *nic = nic_device ( dev ); unsigned int i; |