Home | History | Annotate | Download | only in sun
History log of /src/sys/dev/sun/kbdvar.h
RevisionDateAuthorComments
 1.21  26-Apr-2012  macallan report power button events to sysmon
also send pwm events for volume control keys directly with
options KBD_HIJACK_VOLUME_BUTTONS
so they work in X as well
 1.20  12-May-2009  cegger branches: 1.20.12; 1.20.16;
struct device * -> device_t, no functional changes intended.
 1.19  29-Mar-2008  tsutsui branches: 1.19.4; 1.19.18;
Split softc and device_t for zsc(4) and its children.

XXX we should restructure MI APIs and make it really machine independent.
 1.18  11-Dec-2005  christos branches: 1.18.70;
merge ktrace-lwp.
 1.17  16-May-2005  martin Make the raw keyboard code #ifdef WSDISPLAY_COMPAT_RAWKBD only.
 1.16  16-May-2005  martin Fix WSDISPLAY_COMPAT_RAWKBD. Also return keyboard types < 4 as SUN instead
of SUN5.
 1.15  28-Apr-2005  martin Finish support for wskbd @ kbd @ zs/sab for sparc64 consoles.
Based on work from John Heasley and Michael Lorenz.
 1.14  20-Feb-2005  heas branches: 1.14.2;
Fix typo in a comment.
 1.13  27-Aug-2003  uwe branches: 1.13.8; 1.13.10;
cc_callout does not belong to struct cons_channel, as it's only used
by sparc for PROM console input channel. Demote it to kd.c as a
static variable.

While there, use callout_schedule instead of callout_reset to
reschedule the PROM polling callout, and init prom_cons_channel
statically.
 1.12  07-Aug-2003  agc Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22364, verified by myself.
 1.11  26-Oct-2002  martin branches: 1.11.6;
Allow attaching wskbd at kbd, idea from Valeriy Ushakov.
This allows us to use both the old sun keyboard events (/dev/kbd) as
new wscons events (/dev/wskbd*).

TODO: Not implemented for the kbd at zstty attachment.
Wskbd as console does not yet work.
 1.10  21-Oct-2002  uwe Clean-up kbd driver layers a bit more. Lift common code into the upper layer.
Add some wskbd TODO remarks (hi, martin).
 1.9  03-Oct-2002  uwe Refactor kbd and mouse drivers so that they can use different middle
layers. Common middle layer shared by kbd_zs and sunkbd is moved into
the new file. Move shared config directives to files.sun and adjust
ports' files.* accordingly.

Need this to support console/Xsun on Mr.Coffee JavaStation.

Tested on sparc, sparc64 (by martin) and sun3 (by jdc).
 1.8  09-Dec-2001  pk KBD_BPS => KBD_DEFAULT_BPS (sync with ms driver nomenclature).
 1.7  21-Sep-2000  eeh branches: 1.7.2; 1.7.4; 1.7.6;
Support for Sun Keyboard/Mouse line disciplines.
 1.6  19-May-2000  eeh Fix the sparc64 console.

Unlike the other Sun machines, UltraSPARCs can have consoles run on different
chips than zs, so we need to support them. So, here we go:

Add a new PROM console driver with a major number and everything.
This is the default driver if nothing else attaches. It does not
use the keyboard driver since the PROM translates keystrokes itself.
(Unfortunately it also swallows L1-A).

Have the keyboard driver take over the console when it attaches on a
serial port. When a serial port detects a keyboard and attaches the
keyboard driver, it needs to provide a set of consdev vectors. They
keyboard driver will use those to send I/O to the keyboard and mouse.
 1.5  24-Mar-2000  hannken Fix typos from last commit (callout).
 1.4  23-Mar-2000  thorpej New callout mechanism with two major improvements over the old
timeout()/untimeout() API:
- Clients supply callout handle storage, thus eliminating problems of
resource allocation.
- Insertion and removal of callouts is constant time, important as
this facility is used quite a lot in the kernel.

The old timeout()/untimeout() API has been removed from the kernel.
 1.3  22-Mar-2000  pk Make kbd_iopen/kbd_iclose internal routines; introduce kbd_cc_{open,close}
for opening and closing the device when attached to /dev/console.
 1.2  19-Mar-2000  pk Use a somewhat more flexible method to hook up the keyboard driver
as the console input device.
 1.1  14-May-1999  mrg branches: 1.1.2; 1.1.4;
oops, forgot to add these files.
 1.1.4.1  20-Nov-2000  bouyer Update thorpej_scsipi to -current as of a month ago
A i386 GENERIC kernel compiles without the siop, ahc and bha drivers
(will be updated later). i386 IDE/ATAPI and ncr work, as well as
sparc/esp_sbus. alpha should work as well (untested yet).
siop, ahc and bha will be updated once I've updated the branch to current
-current, as well as machine-dependant code.
 1.1.2.1  21-Jun-1999  thorpej Sync w/ -current.
 1.7.6.1  11-Oct-2001  fvdl Catch up with -current. Fix some bogons in the sparc64 kbd/ms
attach code. cd18xx conversion provided by mrg.
 1.7.4.1  10-Jan-2002  thorpej Sync kqueue branch with -current.
 1.7.2.3  11-Nov-2002  nathanw Catch up to -current
 1.7.2.2  18-Oct-2002  nathanw Catch up to -current.
 1.7.2.1  08-Jan-2002  nathanw Catch up to -current.
 1.11.6.5  10-Nov-2005  skrll Sync with HEAD. Here we go again...
 1.11.6.4  04-Mar-2005  skrll Sync with HEAD.

Hi Perry!
 1.11.6.3  21-Sep-2004  skrll Fix the sync with head I botched.
 1.11.6.2  18-Sep-2004  skrll Sync with HEAD.
 1.11.6.1  03-Aug-2004  skrll Sync with HEAD
 1.13.10.1  19-Mar-2005  yamt sync with head. xen and whitespace. xen part is not finished.
 1.13.8.1  29-Apr-2005  kent sync with -current
 1.14.2.3  09-Jun-2005  snj Pull up revision 1.17 (requested by martin in ticket #380):
Make the raw keyboard code #ifdef WSDISPLAY_COMPAT_RAWKBD only.
 1.14.2.2  09-Jun-2005  snj Pull up revision 1.16 (requested by martin in ticket #380):
Fix WSDISPLAY_COMPAT_RAWKBD. Also return keyboard types < 4 as SUN instead
of SUN5.
 1.14.2.1  09-Jun-2005  snj Pull up revision 1.15 (requested by martin in ticket #380):
Finish support for wskbd @ kbd @ zs/sab for sparc64 consoles.
Based on work from John Heasley and Michael Lorenz.
 1.18.70.1  03-Apr-2008  mjf Sync with HEAD.
 1.19.18.1  13-May-2009  jym Sync with HEAD.

Commit is split, to avoid a "too many arguments" protocol error.
 1.19.4.1  16-May-2009  yamt sync with head
 1.20.16.1  29-Apr-2012  mrg sync to latest -current.
 1.20.12.1  23-May-2012  yamt sync with head.

RSS XML Feed