Subject: port-hpcmips/23654: Add MobilePro 880 (MC/R730A), MC/R730 support for USB/"pci"
To: None <gnats-bugs@gnats.netbsd.org>
From: None <tv@duh.org>
List: netbsd-bugs
Date: 12/04/2003 10:37:33
>Number: 23654
>Category: port-hpcmips
>Synopsis: Add MobilePro 880 (MC/R730A), MC/R730 support for USB/"pci"
>Confidential: no
>Severity: serious
>Priority: high
>Responsible: port-hpcmips-maintainer
>State: open
>Class: change-request
>Submitter-Id: net
>Arrival-Date: Thu Dec 04 15:39:00 UTC 2003
>Closed-Date:
>Last-Modified:
>Originator: Todd Vierling
>Release: NetBSD 1.6.2_RC3
>Organization:
DUH.ORG: Pointing out the obvious since 1994.
>Environment:
>Description:
OHCI USB support was added for MC/R700 and MobilePro 800 (MC/R700A). The
support works just fine on MobilePro 880 (MC/R730A) and thus should also
work fine on MC/R730.
>How-To-Repeat:
Notice no "ohci" attachment in dmesg on MobilePro 880 or MC/R730.
>Fix:
Tested on -current and 1.6. The "pci* at ..." line was added to allow
this config block to stand alone (rather than depending on that config
line from the Fujitsu blocks, which the user might want to delete).
Index: sys/arch/hpcmips/conf/GENERIC
===================================================================
RCS file: /cvsroot/src/sys/arch/hpcmips/conf/GENERIC,v
retrieving revision 1.126.4.3
diff -u -r1.126.4.3 GENERIC
--- sys/arch/hpcmips/conf/GENERIC 2002/12/12 21:52:54 1.126.4.3
+++ sys/arch/hpcmips/conf/GENERIC 2003/12/04 15:28:31
@@ -366,8 +366,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
#
Index: sys/arch/hpcmips/vr/vrc4172pci.c
===================================================================
RCS file: /cvsroot/src/sys/arch/hpcmips/vr/vrc4172pci.c,v
retrieving revision 1.5
diff -u -r1.5 vrc4172pci.c
--- sys/arch/hpcmips/vr/vrc4172pci.c 2002/05/16 01:01:36 1.5
+++ sys/arch/hpcmips/vr/vrc4172pci.c 2003/12/04 15:28:31
@@ -152,7 +152,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);
>Release-Note:
>Audit-Trail:
>Unformatted: