Home | History | Annotate | Download | only in dev
History log of /src/sys/arch/next68k/dev/nextkbd.c
RevisionDateAuthorComments
 1.19  03-Feb-2023  tsutsui Misc KNF and cosmetics.
 1.18  07-Aug-2021  thorpej Merge thorpej-cfargs2.
 1.17  24-Apr-2021  thorpej branches: 1.17.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.16  21-Nov-2020  thorpej branches: 1.16.2;
malloc(9) -> kmem(9)
 1.15  24-Mar-2014  christos branches: 1.15.42;
- use cpu_{g,s}etmodel
- fix unused
 1.14  27-Oct-2012  chs branches: 1.14.2;
split device_t/softc for all remaining drivers.
replace "struct device *" with "device_t".
use device_xname(), device_unit(), etc.
 1.13  05-Jan-2008  ad branches: 1.13.44; 1.13.54;
Fix includes.
 1.12  04-Mar-2007  christos branches: 1.12.20; 1.12.26; 1.12.32;
Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.
 1.11  04-Aug-2006  mhitch branches: 1.11.10;
gcc4 fix: gcc3 was apparently more lax in structure declarations - change
order of including nextkbdvar.h and wskbbdmap_next.h.
 1.10  11-Dec-2005  christos branches: 1.10.4; 1.10.8;
merge ktrace-lwp.
 1.9  19-Jan-2005  chs branches: 1.9.8;
de-__P, remove register, ansify.
 1.8  15-Jul-2003  lukem branches: 1.8.8;
__KERNEL_RCSID()
 1.7  02-Oct-2002  thorpej branches: 1.7.6;
Use CFATTACH_DECL().
 1.6  27-Sep-2002  thorpej Declare all cfattach structures const.
 1.5  11-Sep-2002  mycroft Comprehensive patches from Christian Limpach:
* Fix problems with the DMA and SCSI drivers.
* Make turbo machines sort of work.
Additional fixes from me:
* Determine if we're a turbo at boot time, by looking at the ROM machine type.
* Set the display size correctly (1120 pixels wide, but padded to 1152 only on
non-turbo machines).
Caveats:
* SCSI doesn't work on the turbo (or at least it blows chunks with no devices
attached).
* Media selection doesn't work on the turbo (the BMAP stuff doesn't exist on
turbo machines).
* The boot block is prone to timing out.
 1.4  17-Mar-2002  atatat Convert ioctl code to use EPASSTHROUGH instead of -1 or ENOTTY for
indicating an unhandled "command". ERESTART is -1, which can lead to
confusion. ERESTART has been moved to -3 and EPASSTHROUGH has been
placed at -4. No ioctl code should now return -1 anywhere. The
ioctl() system call is now properly restartable.
 1.3  26-Mar-1999  dbj branches: 1.3.22; 1.3.26;
fix polled keyboard support
 1.2  24-Mar-1999  dbj Applied patches from Matt Debergalis <deberg@mit.edu>.
These patches include:
Added framebuffer mapping for color framebuffer to support color wscons
which is coming soon.
Renamed wskbdmap_mfii[ch] to wskbdmap_next[ch]
Changed video to be white on black instead of black on white.
Now handles and discards mouse interrupts.
Video and keyboard is now working on mono machines.
 1.1  28-Jan-1999  dbj wscons based console video & keyboard support for the NeXT
from Matt DeBergalis
 1.3.26.3  18-Oct-2002  nathanw Catch up to -current.
 1.3.26.2  17-Sep-2002  nathanw Catch up to -current.
 1.3.26.1  01-Apr-2002  nathanw Catch up to -current.
(CVS: It's not just a program. It's an adventure!)
 1.3.22.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.3.22.1  23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.7.6.5  31-Jan-2005  skrll Adapt to branch.
 1.7.6.4  24-Jan-2005  skrll Sync with HEAD.
 1.7.6.3  21-Sep-2004  skrll Fix the sync with head I botched.
 1.7.6.2  18-Sep-2004  skrll Sync with HEAD.
 1.7.6.1  03-Aug-2004  skrll Sync with HEAD
 1.8.8.1  29-Apr-2005  kent sync with -current
 1.9.8.4  21-Jan-2008  yamt sync with head
 1.9.8.3  03-Sep-2007  yamt sync with head.
 1.9.8.2  30-Dec-2006  yamt sync with head.
 1.9.8.1  21-Jun-2006  yamt sync with head.
 1.10.8.1  11-Aug-2006  yamt sync with head
 1.10.4.1  09-Sep-2006  rpaulo sync with head
 1.11.10.1  12-Mar-2007  rmind Sync with HEAD.
 1.12.32.1  08-Jan-2008  bouyer Sync with HEAD
 1.12.26.1  18-Feb-2008  mjf Sync with HEAD.
 1.12.20.1  09-Jan-2008  matt sync with HEAD
 1.13.54.2  20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.13.54.1  20-Nov-2012  tls Resync to 2012-11-19 00:00:00 UTC
 1.13.44.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.13.44.1  30-Oct-2012  yamt sync with head
 1.14.2.1  18-May-2014  rmind sync with head
 1.15.42.1  14-Dec-2020  thorpej Sync w/ HEAD.
 1.16.2.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.17.8.1  04-Aug-2021  thorpej Adapt to CFARGS().

RSS XML Feed