summaryrefslogtreecommitdiffstats
path: root/src/drivers/net/e1000.c
diff options
context:
space:
mode:
authorMichael Brown2005-04-22 18:31:52 +0200
committerMichael Brown2005-04-22 18:31:52 +0200
commit08ff0c1d309f115846e27b8eb10501c8dc675408 (patch)
tree00fbac5f304a1803c04f839ead8cafd1586b6254 /src/drivers/net/e1000.c
parentCoerced into compiling (diff)
downloadipxe-08ff0c1d309f115846e27b8eb10501c8dc675408.tar.gz
ipxe-08ff0c1d309f115846e27b8eb10501c8dc675408.tar.xz
ipxe-08ff0c1d309f115846e27b8eb10501c8dc675408.zip
Ensured that all drivers call xxx_fill_nic().
Diffstat (limited to 'src/drivers/net/e1000.c')
-rw-r--r--src/drivers/net/e1000.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/drivers/net/e1000.c b/src/drivers/net/e1000.c
index 690ff1f26..f9f8c4a4c 100644
--- a/src/drivers/net/e1000.c
+++ b/src/drivers/net/e1000.c
@@ -3618,8 +3618,7 @@ static int e1000_probe ( struct nic *nic, struct pci_device *p ) {
adjust_pci_device(p);
- nic->ioaddr = p->ioaddr & ~3;
- nic->irqno = p->irq;
+ pci_fill_nic ( nic, p );
/* From Matt Hortman <mbhortman@acpthinclient.com> */
/* MAC and Phy settings */