mirror of
https://github.com/ipxe/ipxe
synced 2025-12-26 01:22:37 +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:
@@ -505,8 +505,7 @@ static struct net_device_operations rtl_operations = {
|
||||
* @v id PCI ID
|
||||
* @ret rc Return status code
|
||||
*/
|
||||
static int rtl_probe ( struct pci_device *pci,
|
||||
const struct pci_device_id *id __unused ) {
|
||||
static int rtl_probe ( struct pci_device *pci ) {
|
||||
struct net_device *netdev;
|
||||
struct rtl8139_nic *rtl;
|
||||
int rc;
|
||||
|
||||
Reference in New Issue
Block a user