aboutsummaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorScott Long <scottl@FreeBSD.org>2002-11-13 22:53:48 +0000
committerScott Long <scottl@FreeBSD.org>2002-11-13 22:53:48 +0000
commit9fb92b64ad1a01bdfe12d74c0a7b0e800b546e98 (patch)
treef81887ddcfa4d07b94fe9101a46477d91edff505 /sys/dev
parentfcfc20c88ad09cb413da8f3a7c5bb4c9dc29aac9 (diff)
Notes
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/cardbus/cardbus_cis.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/sys/dev/cardbus/cardbus_cis.c b/sys/dev/cardbus/cardbus_cis.c
index c3137454b1f0a..d6cf0690c9faf 100644
--- a/sys/dev/cardbus/cardbus_cis.c
+++ b/sys/dev/cardbus/cardbus_cis.c
@@ -307,6 +307,11 @@ DECODE_PROTOTYPE(bar)
resource_list_add(&dinfo->pci.resources, type, bar, 0UL, ~0UL, len);
+ /*
+ * Mark the appropriate bit in the PCI command register so that
+ * device drivers will know which BARs can be used.
+ */
+ pci_enable_io(child, type);
return (0);
}