Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/dev/pci Clarify that the RX5C47X requires writes to the ...



details:   https://anonhg.NetBSD.org/src/rev/5ade84952ca4
branches:  trunk
changeset: 494638:5ade84952ca4
user:      jhawk <jhawk%NetBSD.org@localhost>
date:      Sun Jul 09 22:06:02 2000 +0000

description:
Clarify that the RX5C47X requires writes to the PCI_LEGACY to
disable and not PCI_BCR_INTR; this is what rev 1.9 did under
the label of "Maintenance."

diffstat:

 sys/dev/pci/pccbb.c |  11 ++++++-----
 1 files changed, 6 insertions(+), 5 deletions(-)

diffs (28 lines):

diff -r 70ce7e96e558 -r 5ade84952ca4 sys/dev/pci/pccbb.c
--- a/sys/dev/pci/pccbb.c       Sun Jul 09 22:02:32 2000 +0000
+++ b/sys/dev/pci/pccbb.c       Sun Jul 09 22:06:02 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: pccbb.c,v 1.43 2000/07/09 21:58:30 jhawk Exp $ */
+/*     $NetBSD: pccbb.c,v 1.44 2000/07/09 22:06:02 jhawk Exp $ */
 
 /*
  * Copyright (c) 1998, 1999 and 2000
@@ -498,13 +498,14 @@
        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);



Home | Main Index | Thread Index | Old Index