From 8347d3f5843f46f8e90950f25f589fbee30d5fa2 Mon Sep 17 00:00:00 2001 From: pk Date: Sun, 31 Mar 1996 23:43:21 +0000 Subject: [PATCH] The sun4m name for this device is "auxio". --- sys/arch/sparc/sparc/auxreg.c | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/sys/arch/sparc/sparc/auxreg.c b/sys/arch/sparc/sparc/auxreg.c index f41fe50e9d44..ffcd9a90a93b 100644 --- a/sys/arch/sparc/sparc/auxreg.c +++ b/sys/arch/sparc/sparc/auxreg.c @@ -1,4 +1,4 @@ -/* $NetBSD: auxreg.c,v 1.12 1996/03/17 02:01:37 thorpej Exp $ */ +/* $NetBSD: auxreg.c,v 1.13 1996/03/31 23:43:21 pk Exp $ */ /* * Copyright (c) 1992, 1993 @@ -98,9 +98,16 @@ auxregmatch(parent, vcf, aux) { register struct confargs *ca = aux; - if (cputyp==CPU_SUN4) + switch (cputyp) { + case CPU_SUN4: return (0); - return (strcmp("auxiliary-io", ca->ca_ra.ra_name) == 0); + case CPU_SUN4C: + return (strcmp("auxiliary-io", ca->ca_ra.ra_name) == 0); + case CPU_SUN4M: + return (strcmp("auxio", ca->ca_ra.ra_name) == 0); + default: + panic("auxregmatch"); + } } /* ARGSUSED */