#
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 ...
|
#
be017e09 |
| 06-Mar-2011 |
tsutsui <tsutsui@NetBSD.org> |
Remove trailing spaces.
|
#
0f31d9de |
| 05-Jul-2008 |
tsutsui <tsutsui@NetBSD.org> |
Split device_t/softc with misc related changes.
|
#
0aa05e92 |
| 25-Jun-2006 |
tsutsui <tsutsui@NetBSD.org> |
Remove unused struct abus stuff.
|
#
95e1ffb1 |
| 11-Dec-2005 |
christos <christos@NetBSD.org> |
merge ktrace-lwp.
|
#
7fe2a5a0 |
| 22-Jan-2005 |
tsutsui <tsutsui@NetBSD.org> |
- remove __P() - use ANSI function decls - u_intNN_t -> uintNN_t - some KNF
|
#
a4183603 |
| 15-Jul-2003 |
lukem <lukem@NetBSD.org> |
__KERNEL_RCSID()
|
#
c5e91d44 |
| 02-Oct-2002 |
thorpej <thorpej@NetBSD.org> |
Use CFATTACH_DECL().
|
#
9a711d69 |
| 27-Sep-2002 |
thorpej <thorpej@NetBSD.org> |
Declare all cfattach structures const.
|
#
bc0d30a9 |
| 13-Jun-2001 |
soda <soda@NetBSD.org> |
introduce "struct platform", and remove "cputype" variable.
this change also includes a patch to obtain secondary cache size from ARC firmware by Bob Meader, which was posted on port-arc on 18 Aug 2
introduce "struct platform", and remove "cputype" variable.
this change also includes a patch to obtain secondary cache size from ARC firmware by Bob Meader, which was posted on port-arc on 18 Aug 2000. this should make NEC Express RISCserver work.
this change obtains ID of display controller from ARC firmware, too.
show more ...
|
#
750774cd |
| 17-Feb-2001 |
tsutsui <tsutsui@NetBSD.org> |
Add new arctype for NEC Express5800/230A.
XXX: we should have "sysconf" structures like pmax.
|
#
459f2585 |
| 24-Dec-2000 |
ur <ur@NetBSD.org> |
Switch pica to jazzio. Split shared MD portion between algor and jazzio.
|
#
e5b560a3 |
| 09-Jun-2000 |
soda <soda@NetBSD.org> |
- NEC RISCstation 2250 (RD-94) PCI bus support, contributed by Shuichiro URATA <ur@a-r.org>. - Experimental coding for NEC RISCserver 2200 and RISCstation 2200. (doesn't really work)
|
#
4e461d33 |
| 04-Mar-2000 |
nisimura <nisimura@NetBSD.org> |
Have a local variable to match/attach mainbus insteading using ->cf_unit.
|
#
a031341f |
| 03-Mar-2000 |
soda <soda@NetBSD.org> |
NEC RISCstation 2250 (NEC-RD94) support. contributed by Shuichiro URATA <ur@a-r.org>.
|
#
71f6ef9e |
| 22-Feb-2000 |
soda <soda@NetBSD.org> |
merge changes between OpenBSD-2.1 and OpenBSD-2.6
|
#
564df9b6 |
| 23-Jan-2000 |
soda <soda@NetBSD.org> |
merge to NetBSD-current (DeskStation and Algor support is currently broken)
|
#
2b21cd18 |
| 23-Jan-2000 |
soda <soda@NetBSD.org> |
Moved from /cvsroot/syssrc/sys/arch/pica/pica/mainbus.c,v
|