Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/hpcmips Add MobilePro 880 (MC/R730A), MC/R730 suppo...



details:   https://anonhg.NetBSD.org/src/rev/cc7021fd6f32
branches:  trunk
changeset: 556790:cc7021fd6f32
user:      shin <shin%NetBSD.org@localhost>
date:      Sat Dec 27 07:34:21 2003 +0000

description:
Add MobilePro 880 (MC/R730A), MC/R730 support for USB/"pci".
Addresses PR/23654.

diffstat:

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

diffs (61 lines):

diff -r b6bce7b91760 -r cc7021fd6f32 sys/arch/hpcmips/conf/GENERIC
--- a/sys/arch/hpcmips/conf/GENERIC     Sat Dec 27 07:29:56 2003 +0000
+++ b/sys/arch/hpcmips/conf/GENERIC     Sat Dec 27 07:34:21 2003 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: GENERIC,v 1.143 2003/12/27 07:29:56 shin Exp $
+# $NetBSD: GENERIC,v 1.144 2003/12/27 07:34:21 shin Exp $
 #
 # GENERIC machine description file
 # 
@@ -24,7 +24,7 @@
 
 options        INCLUDE_CONFIG_FILE     # embed config file in kernel binary
 
-#ident                 "GENERIC-$Revision: 1.143 $"
+#ident                 "GENERIC-$Revision: 1.144 $"
 
 maxusers       16
 
@@ -370,8 +370,13 @@
 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
+vrc4172pci0 at vr4102ip? addr 0x0aff0cf8 size 0x8 platform NEC_MCR_730
+vrc4172pci0 at vr4102ip? addr 0x0aff0cf8 size 0x8 platform NEC_MCR_730A
+pci*   at vrc4172pci?
 hpcioman9 at vrgiu? platform NEC_MCR_700
 hpcioman9 at vrgiu? platform NEC_MCR_700A
+hpcioman9 at vrgiu? platform NEC_MCR_730
+hpcioman9 at vrgiu? platform NEC_MCR_730A
 hpcin* at hpcioman9 evtype PCIINTR id PCIINTR_00_00_01 port 13 level 0 connect 1
 
 #
diff -r b6bce7b91760 -r cc7021fd6f32 sys/arch/hpcmips/vr/vrc4172pci.c
--- a/sys/arch/hpcmips/vr/vrc4172pci.c  Sat Dec 27 07:29:56 2003 +0000
+++ b/sys/arch/hpcmips/vr/vrc4172pci.c  Sat Dec 27 07:34:21 2003 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: vrc4172pci.c,v 1.10 2003/07/15 02:29:35 lukem Exp $    */
+/*     $NetBSD: vrc4172pci.c,v 1.11 2003/12/27 07:34:21 shin Exp $     */
 
 /*-
  * Copyright (c) 2002 TAKEMURA Shin
@@ -30,7 +30,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: vrc4172pci.c,v 1.10 2003/07/15 02:29:35 lukem Exp $");
+__KERNEL_RCSID(0, "$NetBSD: vrc4172pci.c,v 1.11 2003/12/27 07:34:21 shin Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -154,7 +154,9 @@
 
 #ifdef VRC4172PCI_MCR700_SUPPORT
        if (platid_match(&platid, &platid_mask_MACH_NEC_MCR_700) ||
-           platid_match(&platid, &platid_mask_MACH_NEC_MCR_700A)) {
+           platid_match(&platid, &platid_mask_MACH_NEC_MCR_700A) ||
+           platid_match(&platid, &platid_mask_MACH_NEC_MCR_730) ||
+           platid_match(&platid, &platid_mask_MACH_NEC_MCR_730A)) {
                /* 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