Home | History | Annotate | Download | only in sbd
History log of /src/sys/arch/ews4800mips/sbd/kbms_sbdio.c
RevisionDateAuthorComments
 1.15  10-Dec-2021  andvar s/occured/occurred/ in comments, log messages and man pages.
 1.14  18-Sep-2021  tsutsui Remove unnecessary (and unimplemented) WSKBD_*BELL ioctls in kbd drivers.

It looks the only ioctl(4) to be implemented for WSKBDIO_*BELL in
the backend keyboard driver is WSKBDIO_COMPLEXBELL.
All other BELL ioctls (WSKBDIO_BELL, WSKBDIO_SETBELL, WSKBDIO_GETBELL,
WSKBDIO_SETDEFAULTBELL, and WSKBDIO_GETDEFAULTBELL) are handled in the
MI wskbd driver (in wskbd_displayioctl() in src/sys/dev/wscons/wskbd.c).
 1.13  07-Aug-2021  thorpej Merge thorpej-cfargs2.
 1.12  24-Apr-2021  thorpej branches: 1.12.8;
Merge thorpej-cfargs branch:

Simplify and make extensible the config_search() / config_found() /
config_attach() interfaces: rather than having different variants for
which arguments you want pass along, just have a single call that
takes a variadic list of tag-value arguments.

Adjust all call sites:
- Simplify wherever possible; don't pass along arguments that aren't
actually needed.
- Don't be explicit about what interface attribute is attaching if
the device only has one. (More simplification.)
- Add a config_probe() function to be used in indirect configuiration
situations, making is visibly easier to see when indirect config is
in play, and allowing for future change in semantics. (As of now,
this is just a wrapper around config_match(), but that is an
implementation detail.)

Remove unnecessary or redundant interface attributes where they're not
needed.

There are currently 5 "cfargs" defined:
- CFARG_SUBMATCH (submatch function for direct config)
- CFARG_SEARCH (search function for indirect config)
- CFARG_IATTR (interface attribte)
- CFARG_LOCATORS (locators array)
- CFARG_DEVHANDLE (devhandle_t - wraps OFW, ACPI, etc. handles)

...and a sentinel value CFARG_EOL.

Add some extra sanity checking to ensure that interface attributes
aren't ambiguous.

Use CFARG_DEVHANDLE in MI FDT, OFW, and ACPI code, and macppc and shark
ports to associate those device handles with device_t instance. This
will trickle trough to more places over time (need back-end for pre-OFW
Sun OBP; any others?).
 1.11  26-Mar-2014  christos branches: 1.11.44;
kill sprintf
 1.10  13-Oct-2012  tsutsui branches: 1.10.2;
struct device * -> device_t, struct cfdata * -> cfdata_t (from chs@)
 1.9  28-Apr-2008  martin branches: 1.9.34; 1.9.44;
Remove clause 3 and 4 from TNF licenses
 1.8  29-Mar-2008  tsutsui branches: 1.8.2; 1.8.4;
- split softc/device_t
- adjust attach messages for sbdio devices
- misc cosmetics
 1.7  17-Oct-2007  garbled branches: 1.7.16;
Merge the ppcoea-renovation branch to HEAD.

This branch was a major cleanup and rototill of many of the various OEA
cpu based PPC ports that focused on sharing as much code as possible
between the various ports to eliminate near-identical copies of files in
every tree. Additionally there is a new PIC system that unifies the
interface to interrupt code for all different OEA ppc arches. The work
for this branch was done by a variety of people, too long to list here.

TODO:
bebox still needs work to complete the transition to -renovation.
ofppc still needs a bunch of work, which I will be looking at.
ev64260 still needs to be renovated
amigappc was not attempted.

NOTES:
pmppc was removed as an arch, and moved to a evbppc target.
 1.6  29-Jun-2007  tsutsui branches: 1.6.10;
Fix botch in cnpollc(9) for keyboard devices.
 1.5  04-Mar-2007  christos branches: 1.5.2; 1.5.4; 1.5.10;
Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.
 1.4  22-Feb-2007  thorpej TRUE -> true, FALSE -> false
 1.3  21-Feb-2007  thorpej Replace the Mach-derived boolean_t type with the C99 bool type. A
future commit will replace use of TRUE and FALSE with true and false.
 1.2  12-Nov-2006  plunky branches: 1.2.4;
Tidy away wsmouse_input() abstractions and update
documentation to include the W direction.
 1.1  29-Dec-2005  tsutsui branches: 1.1.18; 1.1.22; 1.1.24;
Initial import of NetBSD/ews4800mips port,
for NEC's MIPS based EWS4800 workstations.

Most porting work was done by UCHIYAMA Yasushi <uch@netbsd>
http://mail-index.netbsd.org/port-mips/2004/06/27/0000.html
and various cleanup, updating, and fixes have been done by me.
Currently only EWS4800/350, 360, 360AD, 360ADII, 360EX and 360SX
models are supported.
 1.1.24.1  10-Dec-2006  yamt sync with head.
 1.1.22.1  18-Nov-2006  ad Sync with head.
 1.1.18.5  03-Sep-2007  yamt sync with head.
 1.1.18.4  26-Feb-2007  yamt sync with head.
 1.1.18.3  30-Dec-2006  yamt sync with head.
 1.1.18.2  21-Jun-2006  yamt sync with head.
 1.1.18.1  29-Dec-2005  yamt file kbms_sbdio.c was added on branch yamt-lazymbuf on 2006-06-21 14:51:20 +0000
 1.2.4.2  12-Mar-2007  rmind Sync with HEAD.
 1.2.4.1  27-Feb-2007  yamt - sync with head.
- move sched_changepri back to kern_synch.c as it doesn't know PPQ anymore.
 1.5.10.1  03-Oct-2007  garbled Sync with HEAD
 1.5.4.1  11-Jul-2007  mjf Sync with head.
 1.5.2.1  15-Jul-2007  ad Sync with head.
 1.6.10.1  06-Nov-2007  matt sync with HEAD
 1.7.16.2  02-Jun-2008  mjf Sync with HEAD.
 1.7.16.1  03-Apr-2008  mjf Sync with HEAD.
 1.8.4.1  16-May-2008  yamt sync with head.
 1.8.2.1  18-May-2008  yamt sync with head.
 1.9.44.2  20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.9.44.1  20-Nov-2012  tls Resync to 2012-11-19 00:00:00 UTC
 1.9.34.2  22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.9.34.1  30-Oct-2012  yamt sync with head
 1.10.2.1  18-May-2014  rmind sync with head
 1.11.44.1  21-Mar-2021  thorpej Give config_found() the same variadic arguments treatment as
config_search(). This commit only adds the CFARG_EOL sentinel
to the existing config_found() calls. Conversion of config_found_sm_loc()
and config_found_ia() call sites will be in subsequent commits.
 1.12.8.1  04-Aug-2021  thorpej Adapt to CFARGS().

RSS XML Feed