bugfix: OHCI is bus 0, device 12 or 19, function 2 (not 0).

This commit is contained in:
shin 2002-01-20 03:34:27 +00:00
parent c4aed2da0e
commit 073b07d45d
2 changed files with 7 additions and 7 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: config_hook.h,v 1.6 2002/01/18 13:51:01 shin Exp $ */
/* $NetBSD: config_hook.h,v 1.7 2002/01/20 03:34:27 shin Exp $ */
/*-
* Copyright (c) 1999-2001
@ -276,9 +276,9 @@ int config_connected_call(config_call_tag, void *);
#define PCIINTR_ID(bus, dev, func) CONFIG_HOOK_PCIINTR_ID(bus, dev, func)
#define PCIINTR_00_00_00 PCIINTR_ID(0, 0, 0)
#define PCIINTR_00_01_00 PCIINTR_ID(0, 1, 0)
#define PCIINTR_00_12_00 PCIINTR_ID(0, 12, 0)
#define PCIINTR_00_12_02 PCIINTR_ID(0, 12, 2)
#define PCIINTR_00_16_00 PCIINTR_ID(0, 16, 0)
#define PCIINTR_00_19_00 PCIINTR_ID(0, 19, 0)
#define PCIINTR_00_19_02 PCIINTR_ID(0, 19, 2)
#endif /* CONFIG_HOOK_DEFINE_NICKNAME */
/*

View File

@ -1,5 +1,5 @@
#
# $NetBSD: MPC303,v 1.7 2002/01/13 14:18:31 takemura Exp $
# $NetBSD: MPC303,v 1.8 2002/01/20 03:34:28 shin Exp $
# From: NetBSD: GENERIC,v 1.91 2001/05/06 14:25:16 takemura Exp
#
# Kernel configuration file for Victor MP-C303; enami's test machine.
@ -7,7 +7,7 @@
include "arch/hpcmips/conf/std.hpcmips"
#ident "GENERIC-$Revision: 1.7 $"
#ident "GENERIC-$Revision: 1.8 $"
maxusers 16
@ -406,14 +406,14 @@ isa6 at vrisab6
ne* at isa6 port 0x300 irq 0x00090003 # port 9, active high and thorough
#wdc* at isa6 port 0x170 irq 0x00090003 flags 0x0002 # single drive
hpcioman6 at vrgiu? platform NEC_MCR_SIGMARION2
hpcin* at hpcioman6 evtype PCIINTR id PCIINTR_00_12_00 port 0 level 1 connect 1
hpcin* at hpcioman6 evtype PCIINTR id PCIINTR_00_12_02 port 0 level 1 connect 1
#
# MP-C303/304
#
hpcioman7 at vrgiu? platform VICTOR_INTERLINK_MPC303
hpcioman7 at vrgiu? platform VICTOR_INTERLINK_MPC304
hpcin* at hpcioman7 evtype PCIINTR id PCIINTR_00_19_00 port 1 level 0 hold 1 connect 1
hpcin* at hpcioman7 evtype PCIINTR id PCIINTR_00_19_02 port 1 level 0 hold 1 connect 1
# PCMCIA bus support
pcmcia* at pcic? controller 0 socket ?