diff options
author | jhb <jhb@FreeBSD.org> | 2011-03-23 13:10:15 +0000 |
---|---|---|
committer | jhb <jhb@FreeBSD.org> | 2011-03-23 13:10:15 +0000 |
commit | 00c3c01f4fbb02387e132c417f8a035d0366ee0d (patch) | |
tree | 69012038abf9668bf675409fa3f6a3717df04dbe /sys/dev/et | |
parent | c38540fcc91acf7efba68d2816bd1ab0babb248a (diff) | |
download | FreeBSD-src-00c3c01f4fbb02387e132c417f8a035d0366ee0d.zip FreeBSD-src-00c3c01f4fbb02387e132c417f8a035d0366ee0d.tar.gz |
Do a sweep of the tree replacing calls to pci_find_extcap() with calls to
pci_find_cap() instead.
Diffstat (limited to 'sys/dev/et')
-rw-r--r-- | sys/dev/et/if_et.c | 2 |
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); |