Home | History | Annotate | Download | only in sun
History log of /src/sys/dev/sun/kbd_zs.c
RevisionDateAuthorComments
 1.24  25-Sep-2022  thorpej Remove unnecessary include of <sys/malloc.h>.
 1.23  20-Apr-2008  tsutsui Misc cosmetics.
 1.22  29-Mar-2008  tsutsui branches: 1.22.2;
Split softc and device_t for zsc(4) and its children.

XXX we should restructure MI APIs and make it really machine independent.
 1.21  30-Mar-2006  thorpej branches: 1.21.58;
Use device_private().
 1.20  11-Dec-2005  christos branches: 1.20.4; 1.20.6; 1.20.8; 1.20.10; 1.20.12;
merge ktrace-lwp.
 1.19  28-Apr-2005  martin branches: 1.19.2;
Finish support for wskbd @ kbd @ zs/sab for sparc64 consoles.
Based on work from John Heasley and Michael Lorenz.
 1.18  27-Feb-2005  perry branches: 1.18.2;
nuke trailing whitespace
 1.17  04-Feb-2005  perry de-__P
 1.16  07-Aug-2003  agc branches: 1.16.8; 1.16.10;
Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22364, verified by myself.
 1.15  21-Oct-2002  uwe branches: 1.15.6;
Clean-up kbd driver layers a bit more. Lift common code into the upper layer.
Add some wskbd TODO remarks (hi, martin).
 1.14  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.13  02-Oct-2002  thorpej Add trailing ; to CFATTACH_DECL.
 1.12  01-Oct-2002  thorpej Use CFATTACH_DECL().
 1.11  27-Sep-2002  thorpej Declare all cfattach structures const.
 1.10  09-Dec-2001  pk KBD_BPS => KBD_DEFAULT_BPS (sync with ms driver nomenclature).
 1.9  13-Nov-2001  lukem add RCSIDs
 1.8  28-Sep-2001  pk Don't force a fixed baud rate if the parent zs driver has already determined
the baud rate set by the PROM.
 1.7  12-Jun-2001  wiz branches: 1.7.2; 1.7.4;
receive, not recieve
 1.6  19-May-2000  eeh branches: 1.6.6;
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  30-Mar-2000  augustss Remove register declarations.
 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;
split the sun ms/kbd drivers into frontend/backend parts at the serial
interface border, so that other serial interfaces can be attached to the
ms/kbd. zero functional changes and mostly involves moving code around
a bit. tested on the SS2.

this is necessary to attach the PCI ultrasparc keyboard/mouse drivers.
 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.6.6.6  11-Nov-2002  nathanw Catch up to -current
 1.6.6.5  18-Oct-2002  nathanw Catch up to -current.
 1.6.6.4  08-Jan-2002  nathanw Catch up to -current.
 1.6.6.3  14-Nov-2001  nathanw Catch up to -current.
 1.6.6.2  08-Oct-2001  nathanw Catch up to -current.
 1.6.6.1  21-Jun-2001  nathanw Catch up to -current.
 1.7.4.3  13-Oct-2001  fvdl Revert the t_dev -> t_devvp change in struct tty. The way that tty
structs are currently used (especially by console ttys) aren't
ready for it, and this will require quite a few changes.
 1.7.4.2  11-Oct-2001  fvdl Work around some evil, like directly calling interrupt functions
from the attach path, which devvp didn't like because of incompletely
inited tty structs.

All the struct tty init stuff should really be deferred to the first
open for all drivers; the structures are idle before then and
shouldn't be referenced.
 1.7.4.1  01-Oct-2001  fvdl Catch up with -current.
 1.7.2.2  10-Oct-2002  jdolecek sync kqueue with -current; this includes merge of gehenna-devsw branch,
merge of i386 MP branch, and part of autoconf rototil work
 1.7.2.1  10-Jan-2002  thorpej Sync kqueue branch with -current.
 1.15.6.6  10-Nov-2005  skrll Sync with HEAD. Here we go again...
 1.15.6.5  04-Mar-2005  skrll Sync with HEAD.

Hi Perry!
 1.15.6.4  04-Feb-2005  skrll Sync with HEAD.
 1.15.6.3  21-Sep-2004  skrll Fix the sync with head I botched.
 1.15.6.2  18-Sep-2004  skrll Sync with HEAD.
 1.15.6.1  03-Aug-2004  skrll Sync with HEAD
 1.16.10.2  19-Mar-2005  yamt sync with head. xen and whitespace. xen part is not finished.
 1.16.10.1  12-Feb-2005  yamt sync with head.
 1.16.8.1  29-Apr-2005  kent sync with -current
 1.18.2.1  09-Jun-2005  snj Pull up revision 1.19 (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.19.2.1  21-Jun-2006  yamt sync with head.
 1.20.12.1  31-Mar-2006  tron Merge 2006-03-31 NetBSD-current into the "peter-altq" branch.
 1.20.10.1  19-Apr-2006  elad sync with head.
 1.20.8.1  01-Apr-2006  yamt sync with head.
 1.20.6.1  22-Apr-2006  simonb Sync with head.
 1.20.4.1  09-Sep-2006  rpaulo sync with head
 1.21.58.2  02-Jun-2008  mjf Sync with HEAD.
 1.21.58.1  03-Apr-2008  mjf Sync with HEAD.
 1.22.2.1  18-May-2008  yamt sync with head.

RSS XML Feed