diff options
Diffstat (limited to 'src/drivers/net/tulip.c')
-rw-r--r-- | src/drivers/net/tulip.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/drivers/net/tulip.c b/src/drivers/net/tulip.c index 570726f7..85252229 100644 --- a/src/drivers/net/tulip.c +++ b/src/drivers/net/tulip.c @@ -1218,9 +1218,11 @@ static void tulip_irq(struct nic *nic __unused, irq_action_t action __unused) /*********************************************************************/ /* eth_probe - Look for an adapter */ /*********************************************************************/ -static int tulip_probe(struct dev *dev, struct pci_device *pci) -{ - struct nic *nic = (struct nic *)dev; +static int tulip_probe ( struct dev *dev ) { + + struct nic *nic = nic_device ( dev ); + + struct pci_device *pci = pci_device ( dev ); u32 i; u8 chip_rev; u8 ee_data[EEPROM_SIZE]; |