summaryrefslogtreecommitdiffstats
path: root/sys/dev/sun (follow)
Commit message (Collapse)AuthorAgeFilesLines
* sunkbd(4): timeout_add(9) -> timeout_add_msec(9); ok kettenis@cheloha2020-04-061-7/+3
|
* adapt to recent wsmouse changes by bru (oct23)deraadt2016-10-241-1/+2
|
* Use the new input functions of wsmouse in mouse and touchscreen drivers.bru2016-06-051-3/+3
| | | | ok stsp@ kettenis@
* Reduces the noise around the global ``ticks'' variable by renaming allmpi2016-03-191-6/+6
| | | | | | | | local ones to ``nticks''. (missed in previous) ok stefan@, deraadt@
* Remove stray splx(9) call. Found by Maxime Villard's Brainy Code Scanner.kettenis2015-09-181-2/+1
| | | | From miod@.
* Attempt to make user changes of keyboard layout a bit more `sticky' on wsmuxmiod2014-01-261-3/+3
| | | | | | | | | | | | | | | | | kernels: - keyboard drivers will now tell wskbd if the keyboard layout they ask for is a default value, or a value they are 100% sure of (either because your kernel has a XXXKBD_LAYOUT option, or because the driver can tell the keyboard layout, e.g. by the country code on USB keyboards which provide it, such as Sun's) - when attaching a keyboard with a non-default layout, the layout will become the default layout of the mux for new keyboard attachments if the mux doesn't have a layout set already. - when changing the keyboard layout of a particular keyboard with an ioctl (i.e. using kbd(8) or wsconsctl(8)), the layout will become the default layout of the mux for new keyboard attachments. ok mpi@
* Unify the zs tty driver.sebastia2013-04-211-10/+2
| | | | | | | | | | Most of the hard work by mpi@, who provided the initial diff. Fixes for sparc from myself. Tested on sgi and sparc myself. Compiles and detects zstty on my powerbook, compile tested on sparc64 by me. Real testing with zs device on sparc64 by miod@ who also gave a lot of help and feedback. ok miod@, mpi@
* Fix asterisk symbol in de layout.shadchin2012-11-291-3/+3
| | | | ok miod@, pointed Stefan Koerner <stefan dot koerner at pilum-tech dot de>
* Auto-repeat keys in WSKBD_RAW mode is not needed.shadchin2011-11-092-40/+3
| | | | | | WSKBD_RAW mode used in X, but X independently implements auto-repeat keys. ok miod@
* Report the compose key on sun keyboards in raw mode as a different keycodemiod2011-01-301-2/+2
| | | | from right alt. ok krw@ shadchin@ deraadt@
* introducing a 64-bit type to the disklabel structure leads some architecturesderaadt2010-04-251-2/+2
| | | | | | | to pad-align the size of the structure; it grows, the disklabel ioctl's are break ABI. Change the uid to a character array. this also simplifies some other stuff ok jsing
* Recycle unused disklabel fields in order to create a disklabel uniquejsing2010-04-231-2/+4
| | | | | | | identifier, allowing the disk to be identified without relying on the device name. ok deraadt@ krw@ beck@ marco@ todd@
* Add code to attach sun mice on sparc and sparc64 as wsmouse devices. Sincemiod2009-05-204-1/+786
| | | | | | | | | | | | not all Sun mice run at the canonical 1200 bps, hop between 1200, 4800 and 9600 bps by paying attention to breaks on the line. Attachement and engine code written 7 years ago for OpenBSD/sparc, except for sparc64 com(4) attachment. Speed hop idea borrowed from Opensolaris. This allows sparc and sparc64 users to run X11 without needing a configuration file anymore, as it was in the XFree86 3.x days. Multihead configurations will still need a minimal configuration file, though.
* Oops, sunkbd_decode() still needs to be public for *cngetc() to work;miod2009-01-122-3/+3
| | | | spotted the hard way by kettenis.
* Remap the audio mute key on type 5, as it collides with the keypad equalmiod2009-01-123-10/+31
| | | | key on type 4.
* WSDISPLAY_COMPAT_RAWKBD support for sun serial keyboards (zskbd, comkbd).miod2009-01-113-6/+226
|
* Define a limit to the input which can be fed to sunkbd_input() at once,miod2009-01-111-1/+3
| | | | will be necessary for rawkbd mode.
* Factor a bit more sunkbd common parts; paves the way for upcomingmiod2009-01-112-2/+24
| | | | WSDISPLAY_COMPAT_RAWKBD support.
* Fiddle Sun traditional disklabel recognition to eliminate union andkrw2007-10-021-52/+22
| | | | | | | | | | | associated field access defines. This reverts most changes to dev/sun/disklabel.h without eliminating new functionality. Fix comments to line up and fit on 80 column line, making both tsi@ and I feel better. Simplify logic in disksubr.c. No semantic change. Tested & ok tsi@.
* On sparc & sparc64, change `mount -a` to recognise Linux ext2 partitionstsi2007-09-191-15/+76
| | | | | | by interpreting more fields out of a standard Sun disk label. ok krw@
* extend the sun disklabel format to contain filesystem types. also,deraadt2007-05-311-39/+15
| | | | | | store the information fsck needs. this allows us to create raid partitions, nicely, of course. ok miod todd krw
* Enable or disable keyclick on attach, based upon the PROM keyboard-click?miod2005-11-112-2/+17
| | | | | property. Tested with type 3 and type 4 keyboards.
* reties -> retriesmiod2005-06-031-5/+5
|
* Factorize most of the high-level logic for Sun serial keyboards inmiod2005-05-144-986/+1248
| | | | | | sys/dev/sun/sunkbd.c, and move the layout tables to sys/dev/sun/sunkbdmap.c. No functional changes, small sparc64 kernel shrinkage.
* Fix confusion between KS_paragraph and KS_section; inspired from a PS/2miod2005-02-281-18/+18
| | | | keyboard sv map error spotted by Jan Johansson.
* Remove the advertising clause in the UCB license which Berkeleymillert2003-06-021-6/+2
| | | | rescinded 22 July 1999. Proofed by myself and Theo.
* nuke clase 3 & 4jason2003-06-023-18/+3
|
* remove clause 3 & 4 jointly held by miod and me.jason2003-06-021-6/+1
|
* up MAXSUNLAYOUT... miod, you owe me a beerjason2003-05-171-2/+2
|
* Gremlin slipped in in the encoding table, affected mostly Compact-2 keyboards.miod2003-05-171-2/+2
|
* Fix UK keyboard layout (2 & 3 shifted from one position).matthieu2003-03-171-3/+3
| | | | | Reported by scott at porticia dot com. Ok deraadt@
* Japanese type 5 layout; from a picture of the actual layout on sunsolve,miod2003-01-281-3/+23
| | | | checked against prom behaviour with a jumpered type 5.
* Recognize the Voyager ``Compact-1'' keyboard layouts.miod2003-01-222-5/+48
| | | | | Currently, they are mapped to the corresponding type 5 layouts, but some tweaks might be necessary in the future.
* Move sunkbd defn to common place and remove old event.c referencejason2003-01-141-2/+3
|
* Remove dead filesjason2003-01-147-3516/+0
|
* Invalid key in french type 5 keyboard layout; reported by Olivier Cherrier,miod2003-01-011-2/+2
| | | | thanks.
* Upon detection of an international Sun keyboard with a recognized layout,miod2002-11-292-2/+80
| | | | | | | | | | | | | | 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 the remaining layouts (due to popular demand): spanish, italian, dutch,miod2002-11-231-11/+456
| | | | | | | norwegian, portuguese, swiss-french, swiss-german, uk english. Not thoroughly tested, problems (if any) should be minor. Also fix glitch in caret handling in the previous commit.
* wskbd layouts for Sun Danish, French and German keyboards.miod2002-11-231-2/+192
| | | | More to come as time permits...
* Correctly handle keypad '.'/Delete key on sun keyboards.miod2002-09-081-2/+2
|
* Define new wscons symbols for the L function keys found on Sun keyboards,miod2002-08-291-1/+9
| | | | | and let the sun layout tables produce them. ok mickey@
* map backspace to delete, not backspace key symbol which are defined the same at the moment; jason ok@mickey2002-08-261-2/+2
|
* Convert sparc console code from rcons and pseudo-devices to rasops and wscons.miod2002-08-122-4/+12
| | | | | | | | | | | | | | | | | | | | | For most framebuffers it is faster. Other changes include: o 24 bit support in tcx(4) for the S24 framebuffer o accelerated cgsix(4) text console o new cgtwelve(4) driver for the GS framebuffer o improved serial driver code o better keyboard support The following framebuffers have not been tested but should work: cgfour, cgeight and cgfourteen These changes will require XF4 changes, to use Xwsfb instead of Xsun*, to be commited later today. Most of the work by me during the LSM and the week after, with code borrowed from jason@, NetBSD (new serial code), and feedback from mickey@. Work on pnozz(4) done by millert@
* move HoldScreen to R3 where it belongs (not L3)jason2002-08-051-2/+2
|
* Add a new wskbd type for Sun type 5 keyboards (WSKBD_TYPE_SUN5).maja2002-05-292-2/+51
| | | | | | | | | 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-084-4/+25
|
* First round of __P removal in sysmillert2002-03-144-30/+30
|
* Opps. One missing _nodead. -mojmaja2002-02-251-2/+2
|
* US isn't all :-) Here is a swedish map. -mojmaja2002-02-251-3/+43
|
* Move ioctl userland accessible stuff to <dev/sun/uperfio.h>jason2002-01-311-0/+99
|