summaryrefslogtreecommitdiffstats
path: root/sys/arch/sparc64/dev/comkbd_ebus.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Move away from K&R style function definitions. clang is rather picky aboutclaudio2018-12-271-30/+11
| | | | | them especially if char and short arguments are used. OK otto@ deraadt@
* Delete unnecessary <sys/file.h> includesguenther2017-12-301-2/+1
| | | | ok millert@ krw@
* Add some delay between a successful keyboard reset sequence and a keyboardmiod2011-03-181-1/+3
| | | | | | layout inquiry, as some PS/2 converters (at least the Starview SV 125) need it to behave correctly. Found the hard way and researched by Mike Malopolski, thanks!
* Define a limit to the input which can be fed to sunkbd_input() at once,miod2009-01-111-3/+9
| | | | will be necessary for rawkbd mode.
* Factor a bit more sunkbd common parts; paves the way for upcomingmiod2009-01-111-7/+5
| | | | WSDISPLAY_COMPAT_RAWKBD support.
* Enable or disable keyclick on attach, based upon the PROM keyboard-click?miod2005-11-111-1/+5
| | | | | property. Tested with type 3 and type 4 keyboards.
* Factorize most of the high-level logic for Sun serial keyboards inmiod2005-05-141-244/+42
| | | | | | sys/dev/sun/sunkbd.c, and move the layout tables to sys/dev/sun/sunkbdmap.c. No functional changes, small sparc64 kernel shrinkage.
* No extra newline if keyboard plugged but not console.miod2005-04-051-3/+2
|
* Shorten dmesg if no keyboard is plugged.miod2005-03-061-4/+3
|
* Add a "where" argument to the sparc64 interrupt code. This lets ushenric2003-06-241-2/+2
| | | | | | | associate a name with each interrupt handler. This is not visible outside the kernel (yet). ok jason@
* nuke terms 3 & 4jason2003-06-021-6/+1
|
* Make sure to do the keyboard layout selection dance before wskbd_cnattach()miod2003-05-261-21/+28
| | | | is invoked.
* Add support for the Sun Enterprise 450henric2003-02-171-17/+24
| | | | | | | | | | | | | | | | | | | | | | Reduce the size of a GENERIC kernel by ~190k Remove the nasty pointer/bus_space_handle_t casts Adds debug bus_space code including the ability to trace bus operations (it actually works now). The following rules are now followed (and verfified by the debug code): 1. A "bus_space_handle_t" may only be used with the "bus_space_tag_t" that created it. 2. Only "bus_space_map()" may create "bus_space_handle_t"s. 3. A "bus_space_handle_t" may not be modified after it has been created (other than being destroyed by "bus_space_unmap()"). Thanks to help from mcbride, marc, jason, drahn, to anyone that might have slipped my mind at the moment. ok jason@, deraadt@
* Do not attempt to select keyboard layout until it has been determined frommiod2002-12-221-21/+21
| | | | | the keyboard (oops). This also fixes a bad interaction with wskbd_cnattach that would hose the underlying sabtty device.
* Fix spurious \n in dmesg outputmiod2002-12-101-4/+4
|
* Upon detection of an international Sun keyboard with a recognized layout,miod2002-11-291-12/+23
| | | | | | | | | | | | | | attach it with the appropriate keymap table, rather than the default KB_US table. If this is not the expected behaviour, users can still revert to US layout via "kbd us" or "wsconsctl -w keyboard.encoding=us". As the installation media uses the prom console, which will honor the international keyboard layout, this will definitely help users with international keyboards and fancy characters in their passwords... Note that there is still some Sun keyboard tables missing at the moment.
* Add a new wskbd type for Sun type 5 keyboards (WSKBD_TYPE_SUN5).maja2002-05-291-4/+16
| | | | | | | | | This is needed since eg Swedish type 4 and 5 keyboard has keycodes with different keycodes. eg AltGr and Compose are switched in type 5 compared with type 4. This change will need a new Xserver to allow sun type 5 keyboards. -moj ok miod@
* Credit DARPA/USAF appropriately.jason2002-04-081-1/+6
|
* First round of __P removal in sysmillert2002-03-141-18/+18
|
* beep!jason2002-02-121-12/+71
|
* missing \njason2002-02-011-1/+3
|
* move the scancode -> wskbd event map into a seperate file... more stilljason2002-01-251-153/+6
| | | | to move, though.
* Add a driver for keyboards on com (ns16550 clones) as found on the AXi, etc.jason2002-01-241-0/+755
Also, add the necessary config goop Finally, enable com* at ebus?, comkbd* at ebus?, and vgafb* at pci?