Ensured that all drivers call xxx_fill_nic().

This commit is contained in:
Michael Brown
2005-04-22 16:31:52 +00:00
parent e7c177cc33
commit 08ff0c1d30
6 changed files with 9 additions and 14 deletions

View File

@@ -682,13 +682,12 @@ static int mtd_probe ( struct nic *nic, struct pci_device *pci ) {
if (pci->ioaddr == 0)
return 0;
/* Mask the bit that says "this is an io addr" */
mtdx.ioaddr = pci->ioaddr;
pci_fill_nic ( nic, pci );
adjust_pci_device(pci);
mtdx.nic_name = pci->name;
mtdx.dev_id = pci->device_id;
mtdx.ioaddr = nic->ioaddr;
/* read ethernet id */
for (i = 0; i < 6; ++i)