Enabeled OHCI USB controller on MobilePro 800.

This commit is contained in:
takemura 2002-05-11 08:56:39 +00:00
parent e3368049de
commit fda2f03cb3
2 changed files with 8 additions and 5 deletions

View File

@ -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 @@ include "arch/hpcmips/conf/std.hpcmips.tx39"
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 @@ hpcioman8 at vrc4172gpio0 platform FUJITSU_INTERTOP_IT310
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
#

View File

@ -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 @@ vrc4172pci_attach(struct device *parent, struct device *self, void *aux)
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);