Home | History | Annotate | only in /src/sys/dev/std
History log of /src/sys/dev/std
RevisionDateAuthorComments
 1.2 11-Apr-2001  jdolecek Only install headers which are actually used by our userland. This
saves about 2.2MB under /usr/include/dev/. Discussed on tech-kern@
recently.

I HOPE to get the list right. The headers I left in are ones
used for MI tools and those whose usage I discovered by grep over tree sources.
Feel free to put needed includes back in if you encounter anything which
should not be removed from lists.
 1.1 15-Jun-2000  matt branches: 1.1.4; 1.1.6; 1.1.8;
Add preliminary ieee1212reg.h (csr architecture which is the base spec for
1394).
 1.1.8.1 28-Feb-2002  nathanw Catch up to -current.
 1.1.6.3 21-Apr-2001  bouyer Sync with HEAD
 1.1.6.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.1.6.1 15-Jun-2000  bouyer file Makefile was added on branch thorpej_scsipi on 2000-11-20 11:43:08 +0000
 1.1.4.2 22-Jun-2000  minoura Sync w/ netbsd-1-5-base.
 1.1.4.1 15-Jun-2000  minoura file Makefile was added on branch minoura-xpg4dl on 2000-06-22 17:08:22 +0000
 1.15 07-Aug-2021  thorpej Merge thorpej-cfargs2.
 1.14 24-Apr-2021  thorpej branches: 1.14.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.13 18-Oct-2014  snj branches: 1.13.36;
src is too big these days to tolerate superfluous apostrophes. It's
"its", people!
 1.12 12-May-2009  cegger branches: 1.12.22;
struct device * -> device_t, no functional changes intended.
 1.11 28-Apr-2008  martin branches: 1.11.14;
Remove clause 3 and 4 from TNF licenses
 1.10 11-Dec-2005  christos branches: 1.10.70; 1.10.72; 1.10.74;
merge ktrace-lwp.
 1.9 27-Feb-2005  perry nuke trailing whitespace
 1.8 13-Sep-2004  drochner branches: 1.8.4; 1.8.6;
a round of autoconf cleanup:
-convert submatch() style functions (passed to config_search() or
config_found_sm()) to the locator passing variants
-pass interface attributes in some cases
-make submatch() functions look uniformly as far as possible
-avoid macros which just hide cfdata members, and reduce dependencies
on "locators.h"
 1.7 26-Oct-2003  fvdl Fix unitialized variable use.
 1.6 14-Jul-2003  lukem add missing __KERNEL_RCSID()
 1.5 02-Feb-2003  wiz branches: 1.5.2;
guarantee, not guarentee. Idea from miod@openbsd.
 1.4 01-Feb-2003  ichiro make compile
 1.3 23-May-2002  jmc Fix bug in the way the config_found loop runs. Passing NULL doesn't work well.
 1.2 02-Apr-2002  jmc branches: 1.2.2;
Add another exception condition (XXX...I'm gonna have to give in and just
put in support for the new p1212 spec that isn't a standard yet).

Also, minor cleanups and one off by one error when copying text descriptors.
 1.1 27-Feb-2002  jmc branches: 1.1.2; 1.1.8;
Initial checkin.

A framework for parsing p1212 compliant ROM's and returning a tree that
describes it. Include routines for searching the tree, walking it to
apply functions against nodes and printing out the tree.

Also provide a utility routine to take all the unit dirs present in a ROM,
loop against them and present them to config_found to configure all possible
sub devices.
 1.1.8.3 23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.1.8.2 16-Mar-2002  jdolecek Catch up with -current.
 1.1.8.1 27-Feb-2002  jdolecek file ieee1212.c was added on branch kqueue on 2002-03-16 16:01:32 +0000
 1.1.2.4 20-Jun-2002  nathanw Catch up to -current.
 1.1.2.3 17-Apr-2002  nathanw Catch up to -current.
 1.1.2.2 28-Feb-2002  nathanw Catch up to -current.
 1.1.2.1 27-Feb-2002  nathanw file ieee1212.c was added on branch nathanw_sa on 2002-02-28 04:14:25 +0000
 1.2.2.1 30-May-2002  gehenna Catch up with -current.
 1.5.2.4 04-Mar-2005  skrll Sync with HEAD.

Hi Perry!
 1.5.2.3 21-Sep-2004  skrll Fix the sync with head I botched.
 1.5.2.2 18-Sep-2004  skrll Sync with HEAD.
 1.5.2.1 03-Aug-2004  skrll Sync with HEAD
 1.8.6.1 19-Mar-2005  yamt sync with head. xen and whitespace. xen part is not finished.
 1.8.4.1 29-Apr-2005  kent sync with -current
 1.10.74.2 16-May-2009  yamt sync with head
 1.10.74.1 16-May-2008  yamt sync with head.
 1.10.72.1 18-May-2008  yamt sync with head.
 1.10.70.1 02-Jun-2008  mjf Sync with HEAD.
 1.11.14.1 13-May-2009  jym Sync with HEAD.

Commit is split, to avoid a "too many arguments" protocol error.
 1.12.22.1 03-Dec-2017  jdolecek update from HEAD
 1.13.36.1 02-Apr-2021  thorpej config_found_ia() -> config_found() w/ CFARG_IATTR.
 1.14.8.1 04-Aug-2021  thorpej Adapt to CFARGS().
 1.12 13-Oct-2021  andvar fix typos and wrong ISO/IEC standard number in reference description.
 1.11 28-Apr-2008  martin Remove clause 3 and 4 from TNF licenses
 1.10 11-Dec-2005  christos branches: 1.10.70; 1.10.72; 1.10.74;
merge ktrace-lwp.
 1.9 27-Feb-2005  perry nuke trailing whitespace
 1.8 25-Jun-2002  itojun branches: 1.8.6; 1.8.14; 1.8.16;
tabify
 1.7 02-Apr-2002  jmc branches: 1.7.2;
Add another exception condition (XXX...I'm gonna have to give in and just
put in support for the new p1212 spec that isn't a standard yet).

Also, minor cleanups and one off by one error when copying text descriptors.
 1.6 27-Feb-2002  jmc Add a few more extraction macros and begin the ALLOW list of flags for
overriding specific checks in p1212_parse
 1.5 29-Jun-2001  jmc branches: 1.5.2;
Add some additional values to the keyvalue list from draft specs as some roms are using these and it would be nice to be able to identify them
 1.4 23-Apr-2001  jmc Add Model id as a valid generic type
 1.3 16-Apr-2001  jmc Add macro for extracting the whole key as one byte value.
 1.2 15-Apr-2001  jmc Correct some typos. Add 2 more macro's to extract data from directory entries. Add $
 1.1 15-Jun-2000  matt branches: 1.1.4; 1.1.6; 1.1.8;
Add preliminary ieee1212reg.h (csr architecture which is the base spec for
1394).
 1.1.8.5 01-Aug-2002  nathanw Catch up to -current.
 1.1.8.4 17-Apr-2002  nathanw Catch up to -current.
 1.1.8.3 28-Feb-2002  nathanw Catch up to -current.
 1.1.8.2 24-Aug-2001  nathanw Catch up with -current.
 1.1.8.1 21-Jun-2001  nathanw Catch up to -current.
 1.1.6.4 23-Apr-2001  bouyer Sync with HEAD.
 1.1.6.3 21-Apr-2001  bouyer Sync with HEAD
 1.1.6.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.1.6.1 15-Jun-2000  bouyer file ieee1212reg.h was added on branch thorpej_scsipi on 2000-11-20 11:43:08 +0000
 1.1.4.2 22-Jun-2000  minoura Sync w/ netbsd-1-5-base.
 1.1.4.1 15-Jun-2000  minoura file ieee1212reg.h was added on branch minoura-xpg4dl on 2000-06-22 17:08:23 +0000
 1.5.2.3 06-Sep-2002  jdolecek sync kqueue branch with HEAD
 1.5.2.2 23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.5.2.1 16-Mar-2002  jdolecek Catch up with -current.
 1.7.2.1 15-Jul-2002  gehenna catch up with -current.
 1.8.16.1 19-Mar-2005  yamt sync with head. xen and whitespace. xen part is not finished.
 1.8.14.1 29-Apr-2005  kent sync with -current
 1.8.6.1 04-Mar-2005  skrll Sync with HEAD.

Hi Perry!
 1.10.74.1 16-May-2008  yamt sync with head.
 1.10.72.1 18-May-2008  yamt sync with head.
 1.10.70.1 02-Jun-2008  mjf Sync with HEAD.
 1.5 12-May-2009  cegger struct device * -> device_t, no functional changes intended.
 1.4 28-Apr-2008  martin branches: 1.4.14;
Remove clause 3 and 4 from TNF licenses
 1.3 11-Dec-2005  christos branches: 1.3.70; 1.3.72; 1.3.74;
merge ktrace-lwp.
 1.2 27-Feb-2005  perry nuke trailing whitespace
 1.1 27-Feb-2002  jmc branches: 1.1.2; 1.1.8; 1.1.20; 1.1.28; 1.1.30;
Initial checkin.

A framework for parsing p1212 compliant ROM's and returning a tree that
describes it. Include routines for searching the tree, walking it to
apply functions against nodes and printing out the tree.

Also provide a utility routine to take all the unit dirs present in a ROM,
loop against them and present them to config_found to configure all possible
sub devices.
 1.1.30.1 19-Mar-2005  yamt sync with head. xen and whitespace. xen part is not finished.
 1.1.28.1 29-Apr-2005  kent sync with -current
 1.1.20.1 04-Mar-2005  skrll Sync with HEAD.

Hi Perry!
 1.1.8.2 16-Mar-2002  jdolecek Catch up with -current.
 1.1.8.1 27-Feb-2002  jdolecek file ieee1212var.h was added on branch kqueue on 2002-03-16 16:01:32 +0000
 1.1.2.2 28-Feb-2002  nathanw Catch up to -current.
 1.1.2.1 27-Feb-2002  nathanw file ieee1212var.h was added on branch nathanw_sa on 2002-02-28 04:14:25 +0000
 1.3.74.2 16-May-2009  yamt sync with head
 1.3.74.1 16-May-2008  yamt sync with head.
 1.3.72.1 18-May-2008  yamt sync with head.
 1.3.70.1 02-Jun-2008  mjf Sync with HEAD.
 1.4.14.1 13-May-2009  jym Sync with HEAD.

Commit is split, to avoid a "too many arguments" protocol error.
 1.4 27-Feb-2002  jmc SBP is a firewire/ieee1394 specific protocol, not a generic standard. Move this
to the ieee1394 directory
 1.3 23-Apr-2001  jmc branches: 1.3.2;
Add comment set spec id to macro types
 1.2 18-Jan-2001  tv branches: 1.2.2;
No-op commit to force update to a non-"-kk" revision.
 1.1 08-Nov-2000  matt branches: 1.1.2;
Initial import of some of the definitions for the Serial Bus Protocol V2.
Which is used for SCSI over IEEE1394.
 1.1.2.4 23-Apr-2001  bouyer Sync with HEAD.
 1.1.2.3 11-Feb-2001  bouyer Sync with HEAD.
 1.1.2.2 22-Nov-2000  bouyer Sync with HEAD.
 1.1.2.1 08-Nov-2000  bouyer file sbp2reg.h was added on branch thorpej_scsipi on 2000-11-22 16:04:51 +0000
 1.2.2.2 28-Feb-2002  nathanw Catch up to -current.
 1.2.2.1 21-Jun-2001  nathanw Catch up to -current.
 1.3.2.1 16-Mar-2002  jdolecek Catch up with -current.

RSS XML Feed