summaryrefslogtreecommitdiffstats
path: root/src/drivers/net/tulip.c
diff options
context:
space:
mode:
authorMichael Brown2005-04-22 18:27:56 +0200
committerMichael Brown2005-04-22 18:27:56 +0200
commite7c177cc33c969e8d675f965554ac5092c6580a3 (patch)
tree63777802f435f104a01cbd20b1abfd25dace7e54 /src/drivers/net/tulip.c
parentUpdated to new device probing API (diff)
downloadipxe-e7c177cc33c969e8d675f965554ac5092c6580a3.tar.gz
ipxe-e7c177cc33c969e8d675f965554ac5092c6580a3.tar.xz
ipxe-e7c177cc33c969e8d675f965554ac5092c6580a3.zip
Coerced into compiling
Diffstat (limited to 'src/drivers/net/tulip.c')
-rw-r--r--src/drivers/net/tulip.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/drivers/net/tulip.c b/src/drivers/net/tulip.c
index 03e039a1..e70ec19a 100644
--- a/src/drivers/net/tulip.c
+++ b/src/drivers/net/tulip.c
@@ -1245,9 +1245,9 @@ static int tulip_probe ( struct nic *nic, struct pci_device *pci ) {
/* point to private storage */
tp = &tpx;
- tp->vendor_id = pci->vendor;
- tp->dev_id = pci->dev_id;
- tp->nic_name = dev->name;
+ tp->vendor_id = pci->vendor_id;
+ tp->dev_id = pci->device_id;
+ tp->nic_name = pci->name;
tp->if_port = 0;
tp->default_port = 0;