summaryrefslogtreecommitdiff
path: root/sys/dev/pci
diff options
context:
space:
mode:
authorAaron Campbell <aaron@cvs.openbsd.org>2000-11-29 21:25:19 +0000
committerAaron Campbell <aaron@cvs.openbsd.org>2000-11-29 21:25:19 +0000
commite0db6f93c572d6dafdc63c6b3e43da761e4909f6 (patch)
treead46f8efa2e972dd46fac250e114e8112e4ed86d /sys/dev/pci
parent58bd05d97b151a8113d4ac758be68d3e803acb1e (diff)
Clarify that the RX5C57X requires write to the PCI_LEGACY to disable and
not PCI_BCR_INTR; from NetBSD.
Diffstat (limited to 'sys/dev/pci')
-rw-r--r--sys/dev/pci/pccbb.c11
1 files changed, 6 insertions, 5 deletions
diff --git a/sys/dev/pci/pccbb.c b/sys/dev/pci/pccbb.c
index 3335bb0fff2..f3e3764e962 100644
--- a/sys/dev/pci/pccbb.c
+++ b/sys/dev/pci/pccbb.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pccbb.c,v 1.9 2000/11/29 21:18:14 aaron Exp $ */
+/* $OpenBSD: pccbb.c,v 1.10 2000/11/29 21:25:18 aaron Exp $ */
/* $NetBSD: pccbb.c,v 1.42 2000/06/16 23:41:35 cgd Exp $ */
/*
@@ -496,13 +496,14 @@ pccbbattach(parent, self, aux)
switch (sc->sc_chipset) {
case CB_RX5C46X: /* fallthrough */
#if 0
+ /* The RX5C47X-series requires writes to the PCI_LEGACY register. */
case CB_RX5C47X:
#endif
/*
- * The legacy pcic io-port on Ricoh CardBus bridges cannot be
- * disabled by substituting 0 into PCI_LEGACY register. Ricoh
- * CardBus bridges have special bits on Bridge control reg (addr
- * 0x3e on PCI config space).
+ * The legacy pcic io-port on Ricoh RX5C46X CardBus bridges
+ * cannot be disabled by substituting 0 into PCI_LEGACY
+ * register. Ricoh CardBus bridges have special bits on Bridge
+ * control reg (addr 0x3e on PCI config space).
*/
reg = pci_conf_read(pc, pa->pa_tag, PCI_BCR_INTR);
reg &= ~(CB_BCRI_RL_3E0_ENA | CB_BCRI_RL_3E2_ENA);