- Fix configuration name of 'lpt'

- add 'pcibus' as a mainbus device.
This commit is contained in:
leo 1996-10-11 21:07:02 +00:00
parent 64096bf6d1
commit 3d5284e11e
2 changed files with 5 additions and 4 deletions

View File

@ -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

View File

@ -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);
}