summaryrefslogtreecommitdiff
path: root/sys/arch/hppa/gsc
AgeCommit message (Collapse)Author
2004-09-19do not blindly assume console has been mappedMichael Shalayeff
2004-09-15scan cpu bus manually for some machines do not support that in promMichael Shalayeff
2004-09-14always map the io spaceMichael Shalayeff
2004-07-26RegenMiod Vallat
2004-07-21regenMichael Shalayeff
2004-04-07update copyright; miod@ is fine w/ files where he holds it tooMichael Shalayeff
2004-03-16Regen.Miod Vallat
2004-03-12Preliminary port of NetBSD oosiop driver, for NCR53C700 chips, as commonlyMiod Vallat
encountered on the oldest hppa machines. Currently compiled in, but disabled, in the kernel, until it is stable enough - right now read access are fine, but writes eventually time out and do not complete. ok deraadt@
2004-02-13order irq,pri args to gsc_intr_establish() the way less confusing compared ↵Michael Shalayeff
to other trolley busses around ...
2004-02-13as i continuously fail to make osiop drive 700 chip disable it for nowMichael Shalayeff
2003-12-20Pass -Wformat, fix a few uninitialized variables as well.Miod Vallat
2003-10-31ifdef USELEDS on ledctl(); from hellmuth.michaelis@t-online.deMichael Shalayeff
2003-10-30typos and grammer from Bruno Rohee <bruno@rohee.com>Michael Shalayeff
2003-10-27typos; fom bruno@rohee.comMichael Shalayeff
2003-09-26regenMichael Shalayeff
2003-08-15bitneaks anonymous randomisationMichael Shalayeff
2003-08-14attach at teleshare serial ports as well. need dsp microcode for a ↵Michael Shalayeff
functional mudem now
2003-08-07missed one wrt intr_establishMichael Shalayeff
2003-08-07make all intr_establish take the same last arg for nameMichael Shalayeff
2003-08-05support for shared interrupts as required by isa/eisa/pci. remove a gsckbc ↵Michael Shalayeff
kludge; miod@ testing
2003-08-03oopsMichael Shalayeff
2003-08-03prefer fdc to fdce for cache flushing hereMichael Shalayeff
2003-07-30kill sample device mappings as not really usefulMichael Shalayeff
2003-06-02Remove the advertising clause in the UCB license which BerkeleyTodd C. Miller
rescinded 22 July 1999. Proofed by myself and Theo.
2003-06-02nuke clause 3 & 4Jason Wright
2003-05-27regenMichael Shalayeff
2003-05-27inject a precisionbook keymap under us|machdepMichael Shalayeff
2003-05-25more thorough reset sequence; miod@ okMichael Shalayeff
2003-05-22fix function name in the debugging printfMichael Shalayeff
2003-05-21when looping for more work in the interrupt handler also flush the cacheMichael Shalayeff
2003-05-19Put required delays between reading DSTAT and SSTAT0 registers. Add new onesKenneth R Westerback
where required and modify existing ones to use a consistant delay(25). From NetBSD with minor mods. ok mickey@.
2003-05-11string cleaning; krw okTheo de Raadt
2003-05-06allow programming dma block bus transaction length on 710 and set to 8 words ↵Michael Shalayeff
for hppa/osiop; krw@ ok
2003-04-07remove dead stuffMichael Shalayeff
2003-03-29try to blinkMichael Shalayeff
2003-03-12reclaim more resources on failures.Michael Shalayeff
test the harmony id to filter out unsupported yet audio types and detect the teleshare. detect input overload and report to userland.
2003-02-17Since the ps/2 input ports show up as two different devices, with the sameMiod Vallat
irq, but hppa has no generic shared interrupt code, we need to make sure that gsckbc devices using the same irq know each other, and will pass the interrupt notification to each other. This allow a mouse and a keyboard to work together...
2003-02-16Provide a wskbd type for gsc keyboards, make gsckbd use it, and take advantageMiod Vallat
of it in kbd(8) to work correctly with such a keyboard. Reminded by maja some time ago.
2003-02-16RegenMiod Vallat
2003-02-16Although some hppa models, such as the 715, will require specific keyboards,Miod Vallat
some others, like the 712, will run with a regular ps/2 keyboard from your average computer shop, and the hardware will convert the scancodes so that they match the braindead gsc usage. Thus, it makes no point carrying a specific set of keyboard layouts for gsckbd, when in fact it's (almost) the same as for pckbd, with scancodes shuffled. So, add a simple scheme to build gsckbd tables from the pckbd tables. This brings all the international layouts from pckbd, but jp and br have extra keys for which I don't know the scancodes, so the generated gsckbd layouts are incomplete.
2003-02-15Rework the console management on hppa:Miod Vallat
- only attach a keyboard as a console if it matches the PDC keyboard path - on hil, as there can be multiple keyboards on the loop, attach only the first hilkbd device configured as console keyboard. Right now this means the one with the lowest hil code, which was the existing behaviour so far. - do not try to switch to the wscons consdev structure early at all in wscons_machdep, but rather wait for the console to be completely configured (i.e. both wskbd and wsdisplay are attached) to switch. With feedback and help from mickey@
2003-02-15gsckbc is more sensitive than pckbc; always allow the enable() accessopMiod Vallat
to proceed on the console keyboard, or it would not be in a good state to handle boot -s prompt. Found the hard way by mickey@
2003-02-11hil at gsc attachment glue.Miod Vallat
2003-02-05Add knob for getting at the "output level bit", supposedly changes theJason Wright
full scale outputs between 2.8Vpp and 2.0Vpp for line.
2003-02-05Get rid of the pops:Jason Wright
- interrupt is called when the block has been DMA'd... since LASI seems to include a FIFO this is -not- the same as block completion which we have to poll for. Luckily the FIFO is deep enough that polling in the interrupt handler seems to work. - This probably breaks capture, but I'll fix that when I get up tomorrow. (committed to the tune of Fugazi's "Waiting Room")
2003-01-31Enter gsckbc, a driver for the ps/2-like input device ports found on manyMiod Vallat
hppa machines, and gsckbd, a driver for the ps/2-like keyboard. Both are derived from pckbc and pckbd, but the differences in port wiring and keyboard behaviour prevented the creation of a thin pckbc wrapper. Currently, only us and uk keyboard layouts are provided. The adventurous person can enable gsckb[cd], wsdisplay at sti and wskbd, but this will only work correctly on machines featuring a modern-prom sti graphics device, and a ps/2 keyboard port.
2003-01-30reread the dma status reg after playing part of the dma got programmed.Michael Shalayeff
according to the doc, the "play next" bit and therefore the device interrupt may get raised earlier than the "record next" is set, thus we might not program the record dma and get another harmony interrupt right after servicing this one. this little optimization allows to deal w/ the situation more efficiently, should it occur. jason@ ok
2003-01-30real meat in audio_device; discussed w/ jason@Michael Shalayeff
2003-01-30Check the codec revision... if it's >=CS4215E or >=AD1849K (same valueJason Wright
strangely =) the make ulinear (native) and slinear (emulated) available. Also, while here, make ulinear_le:16 available via emulation. (Btw, the LASI docs say that the format code for ulinear is a reserved value... Probably just wasn't available in the early CS4215/AD1849's)
2003-01-29print out the codec revision in dmesgMichael Shalayeff