diff --git a/sys/arch/hpcarm/hpcarm/autoconf.c b/sys/arch/hpcarm/hpcarm/autoconf.c index 0abfc79f3ade..9b8c9adc37f4 100644 --- a/sys/arch/hpcarm/hpcarm/autoconf.c +++ b/sys/arch/hpcarm/hpcarm/autoconf.c @@ -1,4 +1,4 @@ -/* $NetBSD: autoconf.c,v 1.2 2001/05/13 13:53:09 bjh21 Exp $ */ +/* $NetBSD: autoconf.c,v 1.3 2001/09/03 05:02:18 matt Exp $ */ /* * Copyright (c) 1994-1998 Mark Brinicombe. @@ -184,4 +184,22 @@ void device_register(struct device *dev, void *aux) { } -/* End of autoconf.c */ + +/* + * This entire table could be autoconfig()ed but that would mean that + * the kernel's idea of the console would be out of sync with that of + * the standalone boot. I think it best that they both use the same + * known algorithm unless we see a pressing need otherwise. + */ + +#include + +cons_decl(com); +cons_decl(sacom); + +struct consdev constab[] = { +#if (NSACOM > 0) + cons_init(sacom), +#endif + { 0 }, +}; diff --git a/sys/arch/hpcarm/hpcarm/conf.c b/sys/arch/hpcarm/hpcarm/conf.c index 0c6067c50295..99defdfe2542 100644 --- a/sys/arch/hpcarm/hpcarm/conf.c +++ b/sys/arch/hpcarm/hpcarm/conf.c @@ -1,4 +1,4 @@ -/* $NetBSD: conf.c,v 1.4 2001/09/03 01:33:39 matt Exp $ */ +/* $NetBSD: conf.c,v 1.5 2001/09/03 05:02:18 matt Exp $ */ /* * Copyright (c) 1994-1998 Mark Brinicombe. @@ -411,24 +411,3 @@ chrtoblk(dev) return (NODEV); return (makedev(blkmaj, minor(dev))); } - -/* - * This entire table could be autoconfig()ed but that would mean that - * the kernel's idea of the console would be out of sync with that of - * the standalone boot. I think it best that they both use the same - * known algorithm unless we see a pressing need otherwise. - */ - -#include - -cons_decl(com); -cons_decl(sacom); - -struct consdev constab[] = { -#if (NSACOM > 0) - cons_init(sacom), -#endif - { 0 }, -}; - -/* End of conf.c */