summaryrefslogtreecommitdiffstats
path: root/sys/dev/et
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/et')
-rw-r--r--sys/dev/et/if_et.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/et/if_et.c b/sys/dev/et/if_et.c
index 326309e..d337efd 100644
--- a/sys/dev/et/if_et.c
+++ b/sys/dev/et/if_et.c
@@ -275,7 +275,7 @@ et_attach(device_t dev)
}
msic = 0;
- if (pci_find_extcap(dev, PCIY_EXPRESS, &cap) == 0) {
+ if (pci_find_cap(dev, PCIY_EXPRESS, &cap) == 0) {
sc->sc_expcap = cap;
sc->sc_flags |= ET_FLAG_PCIE;
msic = pci_msi_count(dev);
OpenPOWER on IntegriCloud