mirror of
https://github.com/ipxe/ipxe
synced 2026-01-03 10:23:00 +03:00
[pci] Make driver PCI ID a property of the PCI device
Signed-off-by: Michael Brown <mcb30@ipxe.org>
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user