[pci] Make driver PCI ID a property of the PCI device

Signed-off-by: Michael Brown <mcb30@ipxe.org>
This commit is contained in:
Michael Brown
2011-02-12 01:11:57 +00:00
parent abb5590b29
commit 5bde349e55
45 changed files with 77 additions and 107 deletions

View File

@@ -121,8 +121,7 @@ s32 e1000_mng_write_dhcp_info(struct e1000_hw * hw,
u8 *buffer, u16 length);
u32 e1000_translate_register_82542(u32 reg) __attribute__((weak));
extern int e1000_probe(struct pci_device *pdev,
const struct pci_device_id *id __unused);
extern int e1000_probe(struct pci_device *pdev);
extern void e1000_remove(struct pci_device *pdev);
#endif

View File

@@ -689,8 +689,7 @@ static struct net_device_operations e1000_operations;
*
* @ret rc Return status code
**/
int e1000_probe ( struct pci_device *pdev,
const struct pci_device_id *id __unused )
int e1000_probe ( struct pci_device *pdev )
{
int i, err;
struct net_device *netdev;