diff options
author | Michael Brown | 2005-04-22 18:05:05 +0200 |
---|---|---|
committer | Michael Brown | 2005-04-22 18:05:05 +0200 |
commit | 67c9385577c3f991117b9b09c1ace08f8b844bcb (patch) | |
tree | dccb157c5e8546989818d7859dcd0928c3ec1a76 /src/drivers/net/davicom.c | |
parent | isapnp_read_port can be set directly, rather than via a function call. (diff) | |
download | ipxe-67c9385577c3f991117b9b09c1ace08f8b844bcb.tar.gz ipxe-67c9385577c3f991117b9b09c1ace08f8b844bcb.tar.xz ipxe-67c9385577c3f991117b9b09c1ace08f8b844bcb.zip |
Fields in struct pci_device slightly changed.
Diffstat (limited to 'src/drivers/net/davicom.c')
-rw-r--r-- | src/drivers/net/davicom.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/drivers/net/davicom.c b/src/drivers/net/davicom.c index 755a70e7..b32f8ecd 100644 --- a/src/drivers/net/davicom.c +++ b/src/drivers/net/davicom.c @@ -665,13 +665,11 @@ static int davicom_probe ( struct nic *nic, struct pci_device *pci ) { if (pci->ioaddr == 0) return 0; - vendor = pci->vendor; - dev_id = pci->dev_id; + vendor = pci->vendor_id; + dev_id = pci->device_id; ioaddr = pci->ioaddr; - nic->irqno = 0; pci_fill_nic ( nic, pci ); - nic->ioaddr = pci->ioaddr; /* wakeup chip */ pci_write_config_dword(pci, 0x40, 0x00000000); |