diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2005-12-31 18:13:46 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2005-12-31 18:13:46 +0000 |
commit | 8a011db3a5d0218e0445148b33c93c13d7f4cbde (patch) | |
tree | 43b5dfd2edfb075933fda930f68b6e14667f0cff /sys/arch/hp300/include | |
parent | 831af64476ec7008c4fa79754f4f56bcc4fa6124 (diff) |
Rework (once again) the console code, in order to match the PROM's logic better.
When not running on serial console, the PROM will pick the ``internal''
graphics device, and if it does not exist, the DIO device with the lowest
select code, and will resort to SGC devices if no internal or DIO device
was found.
However, the current logic would search for a certain frame buffer type first,
then for its best hardware location, following the order they are listed
in conf.c.
By replacing gazillions of almost-exactly-duplicated frame buffer code with
one single instance, which is device type-agnostic, we can match the PROM
(and the bootblocks) logic again. Plus this saves a few KB of code!
Diffstat (limited to 'sys/arch/hp300/include')
-rw-r--r-- | sys/arch/hp300/include/autoconf.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/hp300/include/autoconf.h b/sys/arch/hp300/include/autoconf.h index d9fa65f15bf..261066bfdf8 100644 --- a/sys/arch/hp300/include/autoconf.h +++ b/sys/arch/hp300/include/autoconf.h @@ -1,4 +1,4 @@ -/* $OpenBSD: autoconf.h,v 1.13 2005/12/30 18:14:12 miod Exp $ */ +/* $OpenBSD: autoconf.h,v 1.14 2005/12/31 18:13:45 miod Exp $ */ /* $NetBSD: autoconf.h,v 1.4 1997/04/01 03:03:56 scottr Exp $ */ /*- @@ -46,7 +46,7 @@ extern int convasize; /* size of mapping at conaddr */ extern int consolepass; /* console initialization pass */ void hp300_cninit(void); -void console_scan(int (*)(int, caddr_t, void *), void *, int); +void console_scan(int (*)(int, caddr_t, void *), void *); caddr_t iomap(caddr_t, int); void iounmap(caddr_t, int); #endif /* _KERNEL */ |