From d21f86df3707067e2d4b3d12b40d44c7485530e1 Mon Sep 17 00:00:00 2001 From: jonathan Date: Fri, 18 Aug 1995 10:15:09 +0000 Subject: [PATCH] Initialize the ioasic slot probe table for the 3MIN (Decstation 5k/1xx) and MAXINE (Decstation 5k/xx), instead of setting them to NULL. New-config kernels should work on those machines now. Rename the definition of the struct cfdriver for the IO ASIC from "asiccd" to "ioasiccd", as the config-file name changed from "asic" to "ioasic". --- sys/arch/pmax/tc/asic.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/sys/arch/pmax/tc/asic.c b/sys/arch/pmax/tc/asic.c index fce63417cc30..529d09a610db 100644 --- a/sys/arch/pmax/tc/asic.c +++ b/sys/arch/pmax/tc/asic.c @@ -1,4 +1,4 @@ -/* $NetBSD: asic.c,v 1.2 1995/08/10 04:30:41 jonathan Exp $ */ +/* $NetBSD: asic.c,v 1.3 1995/08/18 10:15:09 jonathan Exp $ */ /* * Copyright (c) 1994, 1995 Carnegie-Mellon University. @@ -69,7 +69,7 @@ struct asic_softc { int asicmatch __P((struct device *, void *, void *)); void asicattach __P((struct device *, struct device *, void *)); int asicprint(void *, char *); -struct cfdriver asiccd = +struct cfdriver ioasiccd = { NULL, "asic", asicmatch, asicattach, DV_DULL, sizeof(struct asic_softc) }; void asic_intr_establish __P((struct confargs *, intr_handler_t, @@ -144,12 +144,12 @@ gotasic: case DS_3MIN: if (cf->cf_unit > 0) return (0); - asic_slots = NULL; + asic_slots = kn03_asic_slots; /* XXX - 3min same as kn03? */ break; case DS_MAXINE: if (cf->cf_unit > 0) return (0); - asic_slots = NULL; + asic_slots = xine_asic_slots; break; case DS_3MAX: if (cf->cf_unit > 0)