#
404e48a1 |
| 01-Nov-2022 |
andvar <andvar@NetBSD.org> |
s/varaible/variable/ and s/varible/variable/ in comments.
|
#
924002df |
| 03-Dec-2021 |
andvar <andvar@NetBSD.org> |
fix various typos in comments, log messages and documentation.
|
#
beecddb6 |
| 07-Aug-2021 |
thorpej <thorpej@NetBSD.org> |
Merge thorpej-cfargs2.
|
#
3bee0c11 |
| 24-Apr-2021 |
thorpej <thorpej@NetBSD.org> |
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 a
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?).
show more ...
|
#
25459766 |
| 27-Dec-2019 |
msaitoh <msaitoh@NetBSD.org> |
s/transfered/transferred/
|
#
42aa4278 |
| 13-Jul-2014 |
dholland <dholland@NetBSD.org> |
"peripheral", not "peripherial".
|
#
fe6db6ff |
| 01-Jul-2011 |
dyoung <dyoung@NetBSD.org> |
#include <sys/bus.h> instead of <machine/bus.h>.
|
#
22396ea0 |
| 09-Jun-2011 |
rmind <rmind@NetBSD.org> |
Convert simple_lock/ltsleep to mutex/condvar and malloc to kmem.
|
#
ac225e79 |
| 16-Feb-2011 |
jmcneill <jmcneill@NetBSD.org> |
validate cf_name in driver match method
|
#
985721ed |
| 25-Jan-2011 |
tsutsui <tsutsui@NetBSD.org> |
u_intNN_t -> uintNN_t
|
#
9a5d3f28 |
| 16-Dec-2008 |
christos <christos@NetBSD.org> |
replace bitmask_snprintf(9) with snprintb(3)
|
#
73d529c2 |
| 22-Apr-2008 |
cegger <cegger@NetBSD.org> |
Make this build again. From Hans Rosenfeld.
|
#
5db50545 |
| 18-Apr-2008 |
cegger <cegger@NetBSD.org> |
Fix panics at boot and some other misc bugs. From Hans Rosenfeld.
|
#
376411d2 |
| 16-Apr-2008 |
cegger <cegger@NetBSD.org> |
device_t / softc split. From Hans Rosenfeld.
|
#
2e0a7d9e |
| 16-Apr-2008 |
cegger <cegger@NetBSD.org> |
ppbus device_t / softc splitting. From Hans Rosenfeld.
|
#
53524e44 |
| 04-Mar-2007 |
christos <christos@NetBSD.org> |
Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.
|
#
3a97f79e |
| 28-Dec-2005 |
kurahone <kurahone@NetBSD.org> |
Added support for the IP22 IOC's parallel port (PI1).
Code contributed by Joe Britt.
Reviewed by <sekiya> and <kurahone>.
|