From 073b07d45d1441dc088cc28aae97f442fae7cc97 Mon Sep 17 00:00:00 2001 From: shin Date: Sun, 20 Jan 2002 03:34:27 +0000 Subject: [PATCH] bugfix: OHCI is bus 0, device 12 or 19, function 2 (not 0). --- sys/arch/hpc/hpc/config_hook.h | 6 +++--- sys/arch/hpcmips/conf/MPC303 | 8 ++++---- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/sys/arch/hpc/hpc/config_hook.h b/sys/arch/hpc/hpc/config_hook.h index e47cecb9475a..b14e011b1f24 100644 --- a/sys/arch/hpc/hpc/config_hook.h +++ b/sys/arch/hpc/hpc/config_hook.h @@ -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 */ /* diff --git a/sys/arch/hpcmips/conf/MPC303 b/sys/arch/hpcmips/conf/MPC303 index b14a3a8650d5..a6342bdb7f57 100644 --- a/sys/arch/hpcmips/conf/MPC303 +++ b/sys/arch/hpcmips/conf/MPC303 @@ -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 ?