mirror of
https://github.com/ipxe/ipxe
synced 2026-01-14 01:49:16 +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:
@@ -34,7 +34,7 @@ FILE_LICENCE ( GPL2_ONLY );
|
||||
|
||||
#include "igb_api.h"
|
||||
|
||||
extern int igb_probe ( struct pci_device *pdev, const struct pci_device_id *ent);
|
||||
extern int igb_probe ( struct pci_device *pdev );
|
||||
extern void igb_remove ( struct pci_device *pdev );
|
||||
|
||||
struct igb_adapter;
|
||||
|
||||
@@ -771,8 +771,7 @@ static struct net_device_operations igb_operations;
|
||||
*
|
||||
* @ret rc Return status code
|
||||
**/
|
||||
int igb_probe ( struct pci_device *pdev,
|
||||
const struct pci_device_id *ent __unused)
|
||||
int igb_probe ( struct pci_device *pdev )
|
||||
{
|
||||
int i, err;
|
||||
struct net_device *netdev;
|
||||
|
||||
Reference in New Issue
Block a user