git.droids-corp.org
/
dpdk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
pci: support multiple PCI regions per device
[dpdk.git]
/
lib
/
librte_pmd_e1000
/
em_ethdev.c
diff --git
a/lib/librte_pmd_e1000/em_ethdev.c
b/lib/librte_pmd_e1000/em_ethdev.c
index
b53afc8
..
2cd6c01
100644
(file)
--- a/
lib/librte_pmd_e1000/em_ethdev.c
+++ b/
lib/librte_pmd_e1000/em_ethdev.c
@@
-233,7
+233,7
@@
eth_em_dev_init(__attribute__((unused)) struct eth_driver *eth_drv,
return 0;
}
- hw->hw_addr = (void *)pci_dev->mem_resource.addr;
+ hw->hw_addr = (void *)pci_dev->mem_resource
[0]
.addr;
hw->device_id = pci_dev->id.device_id;
/* For ICH8 support we'll need to map the flash memory BAR */