Browse Source

PCI_DRIVER changed

tags/v0.9.3
Michael Brown 19 years ago
parent
commit
3a7967a38a
1 changed files with 1 additions and 2 deletions
  1. 1
    2
      src/arch/i386/drivers/net/undi.c

+ 1
- 2
src/arch/i386/drivers/net/undi.c View File

1446
 	PCI_ROM ( 0x0000, 0x0000, "undi", "UNDI driver support" ),
1446
 	PCI_ROM ( 0x0000, 0x0000, "undi", "UNDI driver support" ),
1447
 };
1447
 };
1448
 
1448
 
1449
-static struct pci_driver undi_driver =
1450
-	PCI_DRIVER ( undi_nics, PCI_CLASS_NETWORK_ETHERNET );
1449
+PCI_DRIVER ( undi_driver, undi_nics, PCI_CLASS_NETWORK_ETHERNET );
1451
 
1450
 
1452
 DRIVER ( "UNDI", nic_driver, pci_driver, undi_driver,
1451
 DRIVER ( "UNDI", nic_driver, pci_driver, undi_driver,
1453
 	 undi_probe, undi_disable );
1452
 	 undi_probe, undi_disable );

Loading…
Cancel
Save