History log of /src/sys/arch/evbmips/atheros/mainbus.c |
Revision | | Date | Author | Comments |
1.7 |
| 07-Aug-2021 |
thorpej | Merge thorpej-cfargs2.
|
1.6 |
| 24-Apr-2021 |
thorpej | branches: 1.6.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.5 |
| 20-Feb-2011 |
matt | branches: 1.5.70; Merge forward from matt-nb5-mips64.
|
1.4 |
| 08-Jun-2006 |
gdamore | branches: 1.4.4; 1.4.10; 1.4.86; 1.4.90; 1.4.96; 1.4.98; KNR->KNF. :-)
|
1.3 |
| 08-Jun-2006 |
gdamore | Add support for AR5312 on-chip watchdog. While we're here, fix mainbus so that mainbus doesn't complain about unconfigured devices, and use the *atheros* mainbus instead of alchemy (doh!)
|
1.2 |
| 07-Apr-2006 |
gdamore | branches: 1.2.2; 1.2.4; 1.2.6; 1.2.8; Remove rtc, as we don't have one.
|
1.1 |
| 21-Mar-2006 |
gdamore | branches: 1.1.2; Initial import of Atheros AR531X SoC support. Currently the onboard ethernet and serial ports are supported, and the system appears stable with an NFS mounted root. An earlier version of the code was reviewed by simon@, but it has since had numerous improvements and cleanups.
At the moment, only AR5312 is known to work, but I suspect AR2313 will work as well. Later 2315/2316 parts are substantially different, and are not yet supported. Wifi and Marvell switch support found on some designs are not yet supported.
Platforms known to include AR5312 include Senao Aries 2 (AP5054) and Netgear WGU624.
|
1.1.2.3 |
| 24-May-2006 |
tron | Merge 2006-05-24 NetBSD-current into the "peter-altq" branch.
|
1.1.2.2 |
| 28-Mar-2006 |
tron | Merge 2006-03-28 NetBSD-current into the "peter-altq" branch.
|
1.1.2.1 |
| 21-Mar-2006 |
tron | file mainbus.c was added on branch peter-altq on 2006-03-28 09:47:15 +0000
|
1.2.8.1 |
| 19-Jun-2006 |
chap | Sync with head.
|
1.2.6.2 |
| 22-Apr-2006 |
simonb | Sync with head.
|
1.2.6.1 |
| 07-Apr-2006 |
simonb | file mainbus.c was added on branch simonb-timecounters on 2006-04-22 11:37:24 +0000
|
1.2.4.2 |
| 19-Apr-2006 |
elad | sync with head - hopefully this will work
|
1.2.4.1 |
| 07-Apr-2006 |
elad | file mainbus.c was added on branch elad-kernelauth on 2006-04-19 02:32:32 +0000
|
1.2.2.4 |
| 15-Sep-2006 |
yamt | fix merge botches.
|
1.2.2.3 |
| 26-Jun-2006 |
yamt | sync with head.
|
1.2.2.2 |
| 11-Apr-2006 |
yamt | sync files somehow mis-tagged by yamt-pdpolicy-base2.
|
1.2.2.1 |
| 07-Apr-2006 |
yamt | file mainbus.c was added on branch yamt-pdpolicy on 2006-04-11 12:20:51 +0000
|
1.4.98.1 |
| 05-Mar-2011 |
bouyer | Sync with HEAD
|
1.4.96.1 |
| 06-Jun-2011 |
jruoho | Sync with HEAD.
|
1.4.90.1 |
| 05-Mar-2011 |
rmind | sync with head
|
1.4.86.1 |
| 14-Jan-2010 |
matt | device_t, CFATTACH_DECL_NEW, ansify, ...
|
1.4.10.2 |
| 09-Sep-2006 |
rpaulo | sync with head
|
1.4.10.1 |
| 08-Jun-2006 |
rpaulo | file mainbus.c was added on branch rpaulo-netinet-merge-pcb on 2006-09-09 02:38:56 +0000
|
1.4.4.2 |
| 21-Jun-2006 |
yamt | sync with head.
|
1.4.4.1 |
| 08-Jun-2006 |
yamt | file mainbus.c was added on branch yamt-lazymbuf on 2006-06-21 14:51:02 +0000
|
1.5.70.1 |
| 23-Mar-2021 |
thorpej | Convert config_found_ia() call sites where the device only carries a single interface attribute to bare config_found() calls.
|
1.6.8.1 |
| 04-Aug-2021 |
thorpej | Adapt to CFARGS().
|