aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/bwn
diff options
context:
space:
mode:
authorJohn Baldwin <jhb@FreeBSD.org>2011-03-23 13:10:15 +0000
committerJohn Baldwin <jhb@FreeBSD.org>2011-03-23 13:10:15 +0000
commit3b0a4aef967e33d85308e74b00c472820e173c7a (patch)
tree69012038abf9668bf675409fa3f6a3717df04dbe /sys/dev/bwn
parent7ee26a530a31c4b2f5edab56f80ef08e4066d804 (diff)
downloadsrc-3b0a4aef967e33d85308e74b00c472820e173c7a.tar.gz
src-3b0a4aef967e33d85308e74b00c472820e173c7a.zip
Do a sweep of the tree replacing calls to pci_find_extcap() with calls to
pci_find_cap() instead.
Notes
Notes: svn path=/head/; revision=219902
Diffstat (limited to 'sys/dev/bwn')
-rw-r--r--sys/dev/bwn/if_bwn.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/bwn/if_bwn.c b/sys/dev/bwn/if_bwn.c
index e43f413b0826..a79ec113b967 100644
--- a/sys/dev/bwn/if_bwn.c
+++ b/sys/dev/bwn/if_bwn.c
@@ -979,7 +979,7 @@ bwn_attach(device_t dev)
/*
* setup PCI resources and interrupt.
*/
- if (pci_find_extcap(dev, PCIY_EXPRESS, &reg) == 0) {
+ if (pci_find_cap(dev, PCIY_EXPRESS, &reg) == 0) {
msic = pci_msi_count(dev);
if (bootverbose)
device_printf(sc->sc_dev, "MSI count : %d\n", msic);