Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/hpcmips Enabeled OHCI USB controller on MobilePro 800.



details:   https://anonhg.NetBSD.org/src/rev/b0b85125972c
branches:  trunk
changeset: 526803:b0b85125972c
user:      takemura <takemura%NetBSD.org@localhost>
date:      Sat May 11 08:56:39 2002 +0000

description:
Enabeled OHCI USB controller on MobilePro 800.

diffstat:

 sys/arch/hpcmips/conf/GENERIC    |  8 +++++---
 sys/arch/hpcmips/vr/vrc4172pci.c |  5 +++--
 2 files changed, 8 insertions(+), 5 deletions(-)

diffs (52 lines):

diff -r df1cc4a44a3c -r b0b85125972c sys/arch/hpcmips/conf/GENERIC
--- a/sys/arch/hpcmips/conf/GENERIC     Sat May 11 05:51:37 2002 +0000
+++ b/sys/arch/hpcmips/conf/GENERIC     Sat May 11 08:56:39 2002 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: GENERIC,v 1.124 2002/05/06 13:42:29 takemura Exp $
+# $NetBSD: GENERIC,v 1.125 2002/05/11 08:56:39 takemura Exp $
 #
 # GENERIC machine description file
 # 
@@ -24,7 +24,7 @@
 
 options        INCLUDE_CONFIG_FILE     # embed config file in kernel binary
 
-#ident                 "GENERIC-$Revision: 1.124 $"
+#ident                 "GENERIC-$Revision: 1.125 $"
 
 maxusers       16
 
@@ -360,11 +360,13 @@
 hpcin* at hpcioman8 evtype PCIINTR id PCIINTR_00_00_01 port 7 level 0 connect 1
 
 #
-# MC-R700
+# MC-R700 and Mobile Pro 800
 #
 options        VRC4172PCI_MCR700_SUPPORT
 vrc4172pci0 at vr4102ip? addr 0x0aff0cf8 size 0x8 platform NEC_MCR_700
+vrc4172pci0 at vr4102ip? addr 0x0aff0cf8 size 0x8 platform NEC_MCR_700A
 hpcioman9 at vrgiu? platform NEC_MCR_700
+hpcioman9 at vrgiu? platform NEC_MCR_700A
 hpcin* at hpcioman9 evtype PCIINTR id PCIINTR_00_00_01 port 13 level 0 connect 1
 
 #
diff -r df1cc4a44a3c -r b0b85125972c sys/arch/hpcmips/vr/vrc4172pci.c
--- a/sys/arch/hpcmips/vr/vrc4172pci.c  Sat May 11 05:51:37 2002 +0000
+++ b/sys/arch/hpcmips/vr/vrc4172pci.c  Sat May 11 08:56:39 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: vrc4172pci.c,v 1.3 2002/05/03 11:37:49 takemura Exp $  */
+/*     $NetBSD: vrc4172pci.c,v 1.4 2002/05/11 08:56:40 takemura Exp $  */
 
 /*-
  * Copyright (c) 2002 TAKEMURA Shin
@@ -151,7 +151,8 @@
        printf("\n");
 
 #ifdef VRC4172PCI_MCR700_SUPPORT
-       if (platid_match(&platid, &platid_mask_MACH_NEC_MCR_700)) {
+       if (platid_match(&platid, &platid_mask_MACH_NEC_MCR_700) ||
+           platid_match(&platid, &platid_mask_MACH_NEC_MCR_700A)) {
                /* power USB controller on MC-R700 */
                sc->sc_iochip = va->va_gpio_chips[VRIP_IOCHIP_VRGIU];
                hpcio_portwrite(sc->sc_iochip, 45, 1);



Home | Main Index | Thread Index | Old Index