summaryrefslogtreecommitdiff
path: root/sys/arch/hp300/dev
AgeCommit message (Collapse)Author
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-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-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-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-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-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
2005-11-14Restore the disk blinkenlichten lost with the new scsi code, and hp300 usersMiod Vallat
like me again.
2005-11-14Use config_found_sm() in the probe machinery. This is simpler and allows usMiod Vallat
to report HP-IB devices found for which no driver attached.
2005-11-14Make HDWAITC and HDRETRY overridable in the kernel configuration file;Miod Vallat
while there, constify option DEBUG message tables.
2005-11-14constuct -> constructMiod Vallat
2005-11-14hz is defined in <sys/kernel.h>Miod Vallat
2005-11-13Better error message layout.Miod Vallat
2005-11-13Fix timeout usage introduced during the timeout API change (better lateMiod Vallat
than never), allows slower disks on nhpib to work again.
2005-11-12Constify, and simplify hdgetinfo() which only gets called for known disks.Miod Vallat
2005-11-12Provide useful information if we panic due to looping interrupts.Miod Vallat
2005-11-12Print HP-IB disk geometry the same way we print SCSI disk geometriesMiod Vallat
(especially, with the size in MB).
2005-11-06Add keyboard bell support.Miod Vallat
2005-09-27Regen (3x2 frame buffer, 4 select codes).Miod Vallat
2005-09-27Identify HP 9000/362 and HP 9000/382 models, and attach frodo on them.Miod Vallat
Model 382 can be identified with a unique MMUID value; model 362 is told from model 360 by probing for the frodo chip. Their built-in frame buffer is not supported at the moment. Matching information derived from messages to the NetBSD mailing lists.
2005-09-06anomoly -> anomalyMiod Vallat
2005-05-09Compile if no wsmouse device is configured in the kernel.Miod Vallat
2005-05-09Compile without option WSDISPLAY_COMPAT_RAWKBDMiod Vallat
2005-05-08For 4bpp and 6bpp frame buffers, advertize highligting and colors capabilitiesMiod Vallat
back after rasops has initialized, as it will treat anything < 8bpp as mono.
2005-05-06Keyboard maps for all international Domain keyboard layouts, reconstructedMiod Vallat
from X11 tables mickey@ pointed me to.
2005-04-25Pass the complete keybuffer to wskbd_rawinput(); dnkbd now works under X11.Miod Vallat
2005-04-24Oops, 1.3 would cause a keyboard plugged at boot time to start in the wrongMiod Vallat
state...
2005-04-23Discard 0 byte keyboard identification strings.Miod Vallat
Do not invoke wskbd_rawinput() with an empty buffer.
2005-04-22Do not process the FIFO during interrupts when we are polling.Miod Vallat
Also, if no keyboard has been detected at initialization, correctly initialize the state machine so that keyboard hotplug works.
2005-04-22Doh, typo in constant...Miod Vallat
2005-04-22Oops!Miod Vallat
2005-04-22Driver for the Apollo Domain keyboard and mouse, for the HP 9000/4xx series.Miod Vallat
Claims the console keyboard if a keyboard is detected at boot time, otherwise HIL is preferred (but due to wsmux both can be used simultaneously).
2005-04-22Allow an external device to force the HIL loop to not claim the keyboardMiod Vallat
console.
2005-02-27Split sti softc in two structures, one device-related for regular deviceMiod Vallat
attachment and interface, one screen-attached for the real work. The attachment code is now required to decide whether sti_end_attach() is run immediately, or as a startuphook. This allows hp300 to initialize sti early, and use it as a console; hppa is functionally unchanged, as it uses the PROM console until the root device is mounted.
2005-02-27Invoke hp300_cninit() twice, with a global variable letting theMiod Vallat
console-dependent routines know which pass they are being invoked in. The first pass is the usual console detection code. The second pass runs after uvm is initialized, and will allow devices which need VM services to run to claim the console.
2005-02-27Decide whether to force serial console on the 425e based upon the serviceMiod Vallat
switch, which is a physical switch on this model, unlike other frodo-based hp300. Service mode will now select serial console, while normal mode will select graphics console.
2005-02-20A better console test.Miod Vallat
2005-02-14Behave correctly in interrupt handlers if no tty has been allocated yet.Miod Vallat
Prevents monkeys pounding on your serial terminal from panicing your kernel before getty gets spawned on the serial ports. dcm(4) looks safe from this problem from code inspection.