summaryrefslogtreecommitdiff
path: root/sys/arch/hp300/dev/topcat.c
AgeCommit message (Collapse)Author
2005-12-31Rework (once again) the console code, in order to match the PROM's logic better.Miod Vallat
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!
2005-12-30Kill conforced, and have console devices use CN_FORCED priority instead.Miod Vallat
This means we are no longer aborting the console scans even if the final console has been found, but on the other hand makes some logic simpler; plus it will be necessary for upcoming scode vs device loop order reversal. No user-visible change.
2005-12-30When a driver claims console, let it set conscode to itself, instead ofMiod Vallat
letting the bus walkers do this for it. This is necessary since apci does not use the bus walkers, now that we do not force console probes to stop when apci claims console.
2005-12-30Introduce symbolic constants for the magic conscode values.Miod Vallat
No functional change.
2005-12-28hyper, rbox and topcat not in intio space are CN_NORMAL priority, notMiod Vallat
CN_INTERNAL.
2005-01-24Switch hp300 wscons code to rasops, for DIO frame buffers.Miod Vallat
Features: - coloured kernel messages - color support in console (use TERM=wsvt25) - pretty Gallant wsfont, rather than the acceptable or ugly (depending upon the frame buffer) ROM font - colormap ioctl support for Gatorbox and Topcat; DaVinci and Renaissance not done due to lack of hardware and/or documentation - even more code factorization tested on hyperion, and 4/6/8bpp catseye/topcat/kathmandu hardware, by millert@ and I
2005-01-21Oops, revert changes not intended to be commited in previous commit.Miod Vallat
2005-01-21Overhaul of the pxa2x0_lcd code, to allow early (before autoconf) attachment,Miod Vallat
and collateral changes. Because this driver requires us_dma (and as such, vm services) to work, it can not be selected in consinit(). Instead, add a hook to the arm cpu_startup() which will, on zaurus, switch console from serial (selected in consinit()) to lcd. This also makes the zaurus-specific early pxa2x0_clkman() substitute code cleaner. While there, move boot -c handling later, after the glass console is set up. Tested by drahn@ and uwe@
2005-01-19Report the appropriate wsdisplay types to WSDISPLAYIO_GTYPE.Miod Vallat
2005-01-18Better colormap recovery after X11 exits.Miod Vallat
2005-01-18Colormap handling for topcat; Xwsfb now runs.Miod Vallat
2005-01-16Simplify diofb_fbinquire(), since in the only case where we need to knowMiod Vallat
the video registers size, this value can easily be computed from the standard fb registers.
2005-01-15Use DIO_SIZE() macro instead of rolling our own implementation of it.Miod Vallat
2005-01-14Switch OpenBSD/hp300 to wscons, still using on-board ROM fonts for now.Miod Vallat
Main features: - MI hil drivers, allowing live plug/unplug of devices, and the keyboard does not need to be at id 1 anymore. - SGC bus support on 4xx models. SGC frame buffers are supported too, but not as console, though you can use them as a regular glass terminal if you run a getty on ttyC0. Currently not compiled-in, awaiting for an sti(4) fix to be commited. - HP-UX compatibility interfaces are removed. grfinfo and hilinfo are removed. X11 support is currently broken by these changes; X.org X11R6 support will be available very soon. Tested on hyperion and 4 different flavours of catseye/topcat/kathmandu; other, older frame buffers (davinci, gatorbox and renaissance) could not been tested but should work; please report any regression.