diff --git a/sys/arch/alpha/pci/apecs.c b/sys/arch/alpha/pci/apecs.c index 5a33085a3856..c0179790f094 100644 --- a/sys/arch/alpha/pci/apecs.c +++ b/sys/arch/alpha/pci/apecs.c @@ -1,4 +1,4 @@ -/* $NetBSD: apecs.c,v 1.32 1998/06/06 01:33:23 thorpej Exp $ */ +/* $NetBSD: apecs.c,v 1.33 1998/06/24 01:32:06 ross Exp $ */ /* * Copyright (c) 1995, 1996 Carnegie-Mellon University. @@ -32,7 +32,7 @@ #include /* RCS ID & Copyright macro defns */ -__KERNEL_RCSID(0, "$NetBSD: apecs.c,v 1.32 1998/06/06 01:33:23 thorpej Exp $"); +__KERNEL_RCSID(0, "$NetBSD: apecs.c,v 1.33 1998/06/24 01:32:06 ross Exp $"); #include #include @@ -57,6 +57,9 @@ __KERNEL_RCSID(0, "$NetBSD: apecs.c,v 1.32 1998/06/06 01:33:23 thorpej Exp $"); #ifdef DEC_EB64PLUS #include #endif +#ifdef DEC_1000A +#include +#endif int apecsmatch __P((struct device *, struct cfdata *, void *)); void apecsattach __P((struct device *, struct device *, void *)); @@ -166,6 +169,13 @@ apecsattach(parent, self, aux) break; #endif +#ifdef DEC_1000A + case ST_DEC_1000A: + pci_1000a_pickintr(acp, &acp->ac_iot, &acp->ac_memt, + &acp->ac_pc); + break; +#endif + default: panic("apecsattach: shouldn't be here, really..."); } diff --git a/sys/arch/alpha/pci/cia.c b/sys/arch/alpha/pci/cia.c index 23140d9eecb8..3f1feec9e98e 100644 --- a/sys/arch/alpha/pci/cia.c +++ b/sys/arch/alpha/pci/cia.c @@ -1,4 +1,4 @@ -/* $NetBSD: cia.c,v 1.43 1998/06/06 01:33:44 thorpej Exp $ */ +/* $NetBSD: cia.c,v 1.44 1998/06/24 01:32:06 ross Exp $ */ /*- * Copyright (c) 1998 The NetBSD Foundation, Inc. @@ -67,10 +67,11 @@ #include "opt_dec_eb164.h" #include "opt_dec_kn20aa.h" #include "opt_dec_550.h" +#include "opt_dec_1000a.h" #include /* RCS ID & Copyright macro defns */ -__KERNEL_RCSID(0, "$NetBSD: cia.c,v 1.43 1998/06/06 01:33:44 thorpej Exp $"); +__KERNEL_RCSID(0, "$NetBSD: cia.c,v 1.44 1998/06/24 01:32:06 ross Exp $"); #include #include @@ -98,6 +99,9 @@ __KERNEL_RCSID(0, "$NetBSD: cia.c,v 1.43 1998/06/06 01:33:44 thorpej Exp $"); #ifdef DEC_550 #include #endif +#ifdef DEC_1000A +#include +#endif int ciamatch __P((struct device *, struct cfdata *, void *)); void ciaattach __P((struct device *, struct device *, void *)); @@ -329,6 +333,16 @@ ciaattach(parent, self, aux) break; #endif +#ifdef DEC_1000A + case ST_DEC_1000A: + pci_1000a_pickintr(ccp, &ccp->cc_iot, &ccp->cc_memt, + &ccp->cc_pc); +#ifdef EVCNT_COUNTERS + evcnt_attach(self, "intr", &dec_1000a_intr_evcnt); +#endif + break; +#endif + default: panic("ciaattach: shouldn't be here, really..."); }