From 3d5284e11ea00cf6342ff5311b10fccc6bc34880 Mon Sep 17 00:00:00 2001 From: leo Date: Fri, 11 Oct 1996 21:07:02 +0000 Subject: [PATCH] - Fix configuration name of 'lpt' - add 'pcibus' as a mainbus device. --- sys/arch/atari/atari/autoconf.c | 5 +++-- sys/arch/atari/dev/lpt.c | 4 ++-- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/sys/arch/atari/atari/autoconf.c b/sys/arch/atari/atari/autoconf.c index 262b38f4d3a2..fede682da3a9 100644 --- a/sys/arch/atari/atari/autoconf.c +++ b/sys/arch/atari/atari/autoconf.c @@ -1,4 +1,4 @@ -/* $NetBSD: autoconf.c,v 1.12 1996/10/11 00:08:54 christos Exp $ */ +/* $NetBSD: autoconf.c,v 1.13 1996/10/11 21:07:02 leo Exp $ */ /* * Copyright (c) 1995 Leo Weppelman @@ -260,12 +260,13 @@ mbattach(pdp, dp, auxp) kprintf ("\n"); config_found(dp, "clock" , simple_devprint); config_found(dp, "grfbus" , simple_devprint); + config_found(dp, "pcibus" , simple_devprint); config_found(dp, "kbd" , simple_devprint); config_found(dp, "fdc" , simple_devprint); config_found(dp, "zs" , simple_devprint); config_found(dp, "ncrscsi", simple_devprint); config_found(dp, "nvr" , simple_devprint); - config_found(dp, "*" , simple_devprint); + config_found(dp, "lpt" , simple_devprint); } int diff --git a/sys/arch/atari/dev/lpt.c b/sys/arch/atari/dev/lpt.c index ee20c0cc4beb..b80c63ef614b 100644 --- a/sys/arch/atari/dev/lpt.c +++ b/sys/arch/atari/dev/lpt.c @@ -1,4 +1,4 @@ -/* $NetBSD: lpt.c,v 1.4 1996/10/11 00:09:28 christos Exp $ */ +/* $NetBSD: lpt.c,v 1.5 1996/10/11 21:07:14 leo Exp $ */ /* * Copyright (c) 1996 Leo Weppelman @@ -138,7 +138,7 @@ void *match, *auxp; { struct cfdata *cfp = match; - if (!strcmp((char *)auxp, "*") && cfp->cf_unit == 0) + if (!strcmp((char *)auxp, "lpt") && cfp->cf_unit == 0) return (1); return (0); }