summaryrefslogtreecommitdiff
path: root/sys/arch/hp300
AgeCommit message (Collapse)Author
2006-04-20no longer failure care; ok miodTheo de Raadt
2006-04-16Introduce sti_rom_size() which will compute the size of a card's rom, andMiod Vallat
use it instead of duplicating the same logic in 3 places. ok mickey@
2006-04-15Caps Lock key is special, even in raw mode, on the Domain keyboard, exactlyMiod Vallat
like on ADB keyboards. Must have been the 80's keyboard fashion. So when we see a Caps Lock event, produce the missing event as well for acceptable behaviour. This does not allow the Caps Lock key to be used for chording, though, so document this in the manpage (honestly, Ctrl and Caps Lock being adjacent, there is no point in swapping them on Domain keyboards, but you never know).
2006-04-14Minimal support for the HP98705 ``Tigershark'' TurboVRX frame bufferMiod Vallat
(using an overlay plane only for now). Bootblocks, text console and X11 are supported.
2006-04-14Compile hp300 stand with Wall or I'll never get motivated to make it clean.Miod Vallat
2006-04-13Fix timeout initialization bug introduced in rev 1.8.Miod Vallat
2006-03-15Nuke dk_establish(), no longer used.Miod Vallat
2006-03-13remove splimp.Brad Smith
ok miod@
2006-03-12Previous fix was half-done, move the wsscreen_list array into the softcMiod Vallat
as well.
2006-03-12Move struct wsscreen_list out of the stack as on sparc.Miod Vallat
2006-02-14Fix <=4bpp buglet introduced in previous commit; non-hyperion frame buffersMiod Vallat
are addressed as if they were 8bpp, which is what we pretend we are to rasops, so we actually have to remove capabilities after rasops_init() again.
2006-02-14Homogeneize WSDISPLAY_* option comments (especially on cats)Miod Vallat
2006-01-22b_cylin -> b_cylinder; no functional change.Miod Vallat
2006-01-21Remove old mdpflag debug help.Miod Vallat
2006-01-20b_un.b_addr -> b_data; no functional change.Miod Vallat
2006-01-19Bounds check PPIIOCSSEC argument, for a carefully choosen invalid valueMiod Vallat
could cause any ppi transfer to freeze the bus.
2006-01-18more size_t vs u_int fallout.. i guess the lastTheo de Raadt
2006-01-06Merge machine/ansi.h and machine/types.h into machine/_types.h andTodd C. Miller
rename the types using the __ protected namespace (e.g. __size_t). Idea from FreeBSD.
2006-01-02Kill enablertclock.Miod Vallat
2006-01-01Let cons_init() and cons_init_bell() initialize the whole consdev structure,Miod Vallat
thus removing the need for drivers to initialize cn_pri to CN_DEAD when hardware probe fails.
2005-12-31This port does not use dev/cninit.c.Miod Vallat
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-31Sync with recent kernel changes: recognize more models, use the same logicMiod Vallat
to pick apci as a console on 425e. Crank version.
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-30Now that errno.h and sys/errno.h are separate header files there is noTodd C. Miller
need to use the -Derrno=errno workaround added when __errno() was introduced. OK deraadt@
2005-12-28...thus no need to override conscode if we are configured as console, so thatMiod Vallat
kernels with hardcoded CONSCODE value can run as advertized regardless of the service switch position.
2005-12-28hyper, rbox and topcat not in intio space are CN_NORMAL priority, notMiod Vallat
CN_INTERNAL.
2005-12-28Define dca remote console identifiers as regular identifier with the bit 7Miod Vallat
set, like dcm does. No functional change.
2005-12-28Setting the service switch on 425e to select serial console shall not beMiod Vallat
considered as forcing the console, but as a normal remote console selection.
2005-12-27Do not tprintf() information, use printf() instead like all other tapeMiod Vallat
drivers do.
2005-12-27Remove unused sw_nblks field of struct swdevt. Then, remove swapconf()Miod Vallat
which duplicates work done by uvm_swap_init().
2005-12-22More reasonable size for fixed extent storage.Miod Vallat
2005-12-22Postpone the hil console detection logic to the first detection of a keyboard.Miod Vallat
On hp300, hil would claim console against dnkbd if no dnkbd was found at the time the loop is probed, even if the loop is empty. Because of this, plugging dnkbd later would not select it as console keyboard, which is really annoying on kernels without wsmux, such as hp300 RAMDISK. Now the first keyboard plugged will become the console keyboard, whatever its type. No functional change on hppa, since the console path gives a definite console device setting.
2005-12-21Do not attach dnkbd as a console keyboard if console is on serial.Miod Vallat
2005-12-13remove ad clause that got copied from older versions of the files; pto by jsg@Michael Shalayeff
2005-12-03splimp -> splvmBrad Smith
ok miod@
2005-12-03The first thing done when XXX_scsi_cmd() returns TRY_AGAIN_LATER isKenneth R Westerback
to set xs->error to XS_BUSY. So it is pointless and misleading to set xs->error to XS_TIMEOUT, XS_DRIVER_STUFFUP or XS_BUSY just before returning TRY_AGAIN_LATER. No functional change. ok miod@
2005-11-24add lint-specific hacks. at the same time, clean out a lot of ancientTheo de Raadt
cruft for old compilers and environments. there may be a 2nd round of polishing after this; ok miod and others
2005-11-23Pick HP-IB describe structures changes from main kernel code here as well.Miod Vallat
2005-11-19Remove superfluous statement-ending semi-colons. i.e., "return foo;;" shouldAaron Campbell
just be "return foo;". Cleaning out some M's in my tree.
2005-11-18Protect biodone() with splbio().Miod Vallat
2005-11-18Define the CS/80 identify structure only once and correctly, instead ofMiod Vallat
duplicating it in every CS/80 driver and using an hardcoded number for its size. No functional change.
2005-11-17kvtop() is not used anymore. Thanks for the fish.Miod Vallat
2005-11-17Factorize DMA cache flush code, use modern types and constants, ansify.Miod Vallat
2005-11-16Mention ipl in dmesg, for consistency with other devices.Miod Vallat
2005-11-16Overhaul the way HP-IB devices are probed. We will now do an exhaustiveMiod Vallat
probe of the (slave, punit) tuple space, since this is the only way we can get a dual disk or dual tape enclosure to attach two devices of the same kind. This allows us to get rid of the hpibbus resource map and related functions.
2005-11-15Only two `h' in threshold.Miod Vallat
2005-11-15More typos (especially indicies -> indices), checked with jmc@Miod Vallat