Home | History | Annotate | Download | only in ic
History log of /src/sys/dev/ic/pckbcvar.h
RevisionDateAuthorComments
 1.22  07-Dec-2021  skrll G/C pckbc_attach_args
 1.21  13-Apr-2015  riastradh Convert sys/dev to use <sys/rndsource.h>.
 1.20  13-Oct-2012  jdc branches: 1.20.14;
Add two flags to keyboard/mouse attachment:
PCKBC_CANT_TRANSLATE for keyboards that cannot translate to XT scancodes
PCKBC_NEED_AUXWRITE for mice that don't probe first time
These flags can be set by the port-specific attachments.
 1.19  02-Feb-2012  tls branches: 1.19.6;
Entropy-pool implementation move and cleanup.

1) Move core entropy-pool code and source/sink/sample management code
to sys/kern from sys/dev.

2) Remove use of NRND as test for presence of entropy-pool code throughout
source tree.

3) Remove use of RND_ENABLED in device drivers as microoptimization to
avoid expensive operations on disabled entropy sources; make the
rnd_add calls do this directly so all callers benefit.

4) Fix bug in recent rnd_add_data()/rnd_add_uint32() changes that might
have lead to slight entropy overestimation for some sources.

5) Add new source types for environmental sensors, power sensors, VM
system events, and skew between clocks, with a sample implementation
for each.

ok releng to go in before the branch due to the difficulty of later
pullup (widespread #ifdef removal and moved files). Tested with release
builds on amd64 and evbarm and live testing on amd64.
 1.18  14-Nov-2010  uebayasi branches: 1.18.8; 1.18.12;
Directly include sys/pmf.h because this uses it.
 1.17  24-Feb-2010  dyoung branches: 1.17.2;
A pointer typedef entails trading too much flexibility to declare const
and non-const types, and the kernel uses both const and non-const
PMF qualifiers and device suspensors, so change the pmf_qual_t and
device_suspensor_t typedefs from "pointers to const" to non-pointer,
non-const types.
 1.16  08-Jan-2010  dyoung branches: 1.16.2;
Expand PMF_FN_* macros.
 1.15  15-Mar-2008  cube branches: 1.15.4;
Split device_t and softc for pckbc(4) and its attachments.
 1.14  29-Feb-2008  dyoung Use PMF_FN_ARGS, PMF_FN_PROTO.
 1.13  09-Dec-2007  jmcneill branches: 1.13.6; 1.13.10;
Merge jmcneill-pm branch.
 1.12  11-Dec-2005  christos branches: 1.12.44; 1.12.46; 1.12.56; 1.12.58;
merge ktrace-lwp.
 1.11  27-Feb-2005  perry branches: 1.11.4;
nuke trailing whitespace
 1.10  04-Feb-2005  perry de-__P
 1.9  24-Mar-2004  drochner branches: 1.9.8; 1.9.10;
remove license clauses 3 and 4 from my cpoyright notices
 1.8  13-Mar-2004  bjh21 Convert to use pckbport infrastructure -- another file I missed on the first
pass.
 1.7  12-Dec-2003  martin In parallel to the interrupt handler pckbcintr provide two functions
pckbcintr_hard and pckbcintr_soft, which, together, do the same as
pckbcintr. The first is called from the interrupt handler, the second
from a softinterrupt at arbitrary protection level (lower or equal to
IPL_TTY). They pass data via a small ringbuffer.

The new functions are intended for platforms that, due to
hardware/firmware restrictions are not able to make pckbcintr called at
IPL_TTY, like Krups javastations. Using the monolithic pckbcintr on
these plattforms leads to the input handlers for the slot data to be
run at elevated priority, causing various race conditions.
 1.6  23-Jul-2001  jdolecek branches: 1.6.20;
Since ~all pckbc_poll_data1() callers had the appropriate pckbc
tag handy and we are going to need more of it in pckbc_poll_data1() soon,
change pckbc_poll_data1() to accept it as first arg. iot, ioh_d, ioh_c are
no longer passed separately. Use fabricated pckbc tag for calls from
arch/arc/jazz/pckbc_jazzio.c and dev/isa/pckbc_isa.c.
 1.5  17-Jun-2001  jdolecek branches: 1.5.2;
make pckbc_slot_names[], pckbc_portcmd const
 1.4  09-Jun-2000  soda branches: 1.4.4; 1.4.6;
increase number of parameters of pckbc_cnattach(), since offset of command port
is not 4 (KBCMDP), but 1 on jazz based platforms of arc port.
 1.3  05-Jun-2000  sommerfeld If rnd is configured into the kernel, do rnd(4) entropy collection
from devices connected to pckbc:
- Do actual sample collection in pckbc.
- Add rndsource_element_t to the slot data.
- Change pckbc_set_inputhandler() to take an additional argument,
the name of the device, which is (eventually) passed into
rnd_attach_source() to identify the source.
- Change callers of pckbc_set_inputhander() appropriately.
 1.2  23-Mar-2000  thorpej branches: 1.2.2;
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.1  03-Dec-1999  thorpej branches: 1.1.2;
Split the PC-like keyboard controller driver into chip back-end and
bus front-end.
 1.1.2.1  27-Dec-1999  wrstuden Pull up to last week's -current.
 1.2.2.1  22-Jun-2000  minoura Sync w/ netbsd-1-5-base.
 1.4.6.2  24-Aug-2001  nathanw Catch up with -current.
 1.4.6.1  21-Jun-2001  nathanw Catch up to -current.
 1.4.4.2  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.4.4.1  09-Jun-2000  bouyer file pckbcvar.h was added on branch thorpej_scsipi on 2000-11-20 11:40:51 +0000
 1.5.2.1  03-Aug-2001  lukem update to -current
 1.6.20.5  04-Mar-2005  skrll Sync with HEAD.

Hi Perry!
 1.6.20.4  04-Feb-2005  skrll Sync with HEAD.
 1.6.20.3  21-Sep-2004  skrll Fix the sync with head I botched.
 1.6.20.2  18-Sep-2004  skrll Sync with HEAD.
 1.6.20.1  03-Aug-2004  skrll Sync with HEAD
 1.9.10.2  19-Mar-2005  yamt sync with head. xen and whitespace. xen part is not finished.
 1.9.10.1  12-Feb-2005  yamt sync with head.
 1.9.8.1  29-Apr-2005  kent sync with -current
 1.11.4.2  17-Mar-2008  yamt sync with head.
 1.11.4.1  21-Jan-2008  yamt sync with head
 1.12.58.1  11-Dec-2007  yamt sync with head.
 1.12.56.1  26-Dec-2007  ad Sync with head.
 1.12.46.2  23-Mar-2008  matt sync with HEAD
 1.12.46.1  09-Jan-2008  matt sync with HEAD
 1.12.44.2  06-Nov-2007  joerg Refactor PNP API:
- Make suspend/resume directly a device functionality. It consists of
three layers (class logic, device logic, bus logic), all of them being
optional. This replaces D0/D3 transitions.
- device_is_active returns true if the device was not disabled and was
not suspended (even partially), device_is_enabled returns true if the
device was enabled.
- Change pnp_global_transition into pnp_system_suspend and
pnp_system_resume. Before running any suspend/resume handlers, check
that all currently attached devices support power management and bail
out otherwise. The latter is not done for the shutdown/panic case.
- Make the former bus-specific generic network handlers a class handler.
- Make PNP message like volume up/down/toogle PNP events. Each device
can register what events they are interested in and whether the handler
should be global or not.
- Introduce device_active API for devices to mark themselve in use from
either the system or the device. Use this to implement the idle handling
for audio and input devices. This is intended to replace most ad-hoc
watchdogs as well.
- Fix somes situations in which audio resume would lose mixer settings.
- Make USB host controllers better deal with suspend in the light of
shared interrupts.
- Flush filesystem cache on suspend.
- Flush disk caches on suspend. Put ATA disks into standby on suspend as
well.
- Adopt drivers to use the new PNP API.
- Fix a critical bug in the generic cardbus layer that made D0->D3
break.
- Fix ral(4) to set if_stop.
- Convert cbb(4) to the new PNP API.
- Apply the PCI Express SCI fix on resume again.
 1.12.44.1  03-Aug-2007  jmcneill Pull in power management changes from private branch.
 1.13.10.1  03-Apr-2008  mjf Sync with HEAD.
 1.13.6.1  24-Mar-2008  keiichi sync with head.
 1.15.4.1  11-Mar-2010  yamt sync with head
 1.16.2.1  30-Apr-2010  uebayasi Sync with HEAD.
 1.17.2.1  05-Mar-2011  rmind sync with head
 1.18.12.1  18-Feb-2012  mrg merge to -current.
 1.18.8.2  30-Oct-2012  yamt sync with head
 1.18.8.1  17-Apr-2012  yamt sync with head
 1.19.6.2  03-Dec-2017  jdolecek update from HEAD
 1.19.6.1  20-Nov-2012  tls Resync to 2012-11-19 00:00:00 UTC
 1.20.14.1  06-Jun-2015  skrll Sync with HEAD

RSS XML Feed