History log of /src/sys/arch/alpha/mcbus/mcbus.c |
Revision | | Date | Author | Comments |
1.26 |
| 19-Jun-2023 |
msaitoh | Fix typo. unknwon -> unknown
|
1.25 |
| 07-Aug-2021 |
thorpej | Merge thorpej-cfargs2.
|
1.24 |
| 04-Jul-2021 |
thorpej | branches: 1.24.2; Remove unnecessary #include <sys/malloc.h>
|
1.23 |
| 24-Apr-2021 |
thorpej | branches: 1.23.2; 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.22 |
| 06-Feb-2012 |
matt | branches: 1.22.62; Do a minor cleanup of alpha (this will make applying pullups post branching easier). u_int{8,16,32,64}_t -> uint{*}_t Change all old-style definitions to C89 prototypes. Whitespace cleanup. Constification in db_disasm.c
|
1.21 |
| 25-Sep-2011 |
chs | branches: 1.21.2; 1.21.6; avoid array overrun, noticed by gcc 4.5.
|
1.20 |
| 09-Jul-2008 |
joerg | - device/softc split - ANSIfy
|
1.19 |
| 04-Mar-2007 |
christos | branches: 1.19.40; 1.19.44; 1.19.46; 1.19.48; 1.19.50; Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.
|
1.18 |
| 11-Dec-2005 |
christos | branches: 1.18.26; merge ktrace-lwp.
|
1.17 |
| 26-Aug-2005 |
drochner | kill some more simple submatch() functions, use config_stdsubmatch()
|
1.16 |
| 25-Aug-2005 |
drochner | replace the "locdesc_t" structure carrying the number of locators explicitely by a plain integer array the length in now known to all relevant parties, so this avoids duplication of information, and we can allocate that thing in drivers without hacks
|
1.15 |
| 02-Jun-2005 |
drochner | branches: 1.15.2; add more "const"
|
1.14 |
| 13-Sep-2004 |
drochner | autoconf cleanup: turn xxxsubmatch() functions into the locator passing variants
|
1.13 |
| 01-Jan-2003 |
thorpej | branches: 1.13.2; Use aprint_normal() for cfprint routines.
|
1.12 |
| 02-Oct-2002 |
thorpej | Use CFATTACH_DECL().
|
1.11 |
| 27-Sep-2002 |
thorpej | Declare all cfattach structures const.
|
1.10 |
| 27-Sep-2002 |
thorpej | Introduce a new routine, config_match(), which invokes the cfattach->ca_match function in behalf of the caller. Use it rather than invoking cfattach->ca_match directly.
|
1.9 |
| 26-Sep-2002 |
thorpej | Const poison.
|
1.8 |
| 02-May-2001 |
thorpej | branches: 1.8.2; 1.8.4; Determine the size of the B-Cache earier, and initialize the number of page colors accordingly.
|
1.7 |
| 16-Nov-1999 |
mjacob | branches: 1.7.6; Add in a step to actually probe for MCPCIAs. This allows us to run on 4100s that only have two of four possible MCPCIAs.
|
1.6 |
| 15-Apr-1999 |
thorpej | branches: 1.6.2; 1.6.8; - Add a comment explaining why we probe for MCPCIAs in the shuffled MID order. - Export the shuffled MID order; other files now need it. - Don't derive the GID from the unit number of the mcbus. A user could render his kernel non-bootable by using a different unit number in the kernel config file. We (and the hardware) only support one MCBUS, so simply use instance 0. Note that this will need to be adjusted if there are even any multiple-MCBUS systems.
|
1.5 |
| 10-Apr-1999 |
cgd | be more consistent about use of 'cputype'. e.g. it's in a header, don't bother 'externing' it everywhere!
|
1.4 |
| 08-Jul-1998 |
mjacob | branches: 1.4.8; attempt to catch some stuff for ev5 module info
|
1.3 |
| 14-May-1998 |
thorpej | Garbage-collect the old confargs stuff that was used in the Early Days. It isn't really appropriate anymore. Replace it with a real mainbus attach args structure.
|
1.2 |
| 15-Apr-1998 |
mjacob | redo misleading comment (thanks, soren)
|
1.1 |
| 15-Apr-1998 |
mjacob | add Alpha 4100 support
|
1.4.8.2 |
| 16-Dec-1999 |
he | Pull up revision 1.7 (requested by mjacob): Force probing of MCPCIAs such that if they are not there we can still boot. Not all Alpha 4100 / Rawhide systems have the full four MCPCIAs.
|
1.4.8.1 |
| 16-Apr-1999 |
thorpej | branches: 1.4.8.1.2; Pull up 1.5 -> 1.6.
|
1.4.8.1.2.1 |
| 21-Jun-1999 |
thorpej | Sync w/ -current.
|
1.6.8.1 |
| 27-Dec-1999 |
wrstuden | Pull up to last week's -current.
|
1.6.2.1 |
| 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.7.6.1 |
| 21-Jun-2001 |
nathanw | Catch up to -current.
|
1.8.4.3 |
| 03-Jan-2003 |
thorpej | Sync with HEAD.
|
1.8.4.2 |
| 18-Oct-2002 |
nathanw | Catch up to -current.
|
1.8.4.1 |
| 02-May-2001 |
nathanw | file mcbus.c was added on branch nathanw_sa on 2002-10-18 02:34:17 +0000
|
1.8.2.1 |
| 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.13.2.3 |
| 10-Nov-2005 |
skrll | Sync with HEAD. Here we go again...
|
1.13.2.2 |
| 21-Sep-2004 |
skrll | Fix the sync with head I botched.
|
1.13.2.1 |
| 18-Sep-2004 |
skrll | Sync with HEAD.
|
1.15.2.2 |
| 03-Sep-2007 |
yamt | sync with head.
|
1.15.2.1 |
| 21-Jun-2006 |
yamt | sync with head.
|
1.18.26.1 |
| 12-Mar-2007 |
rmind | Sync with HEAD.
|
1.19.50.1 |
| 19-Oct-2008 |
haad | Sync with HEAD.
|
1.19.48.1 |
| 18-Jul-2008 |
simonb | Sync with head.
|
1.19.46.1 |
| 18-Sep-2008 |
wrstuden | Sync with wrstuden-revivesa-base-2.
|
1.19.44.1 |
| 04-May-2009 |
yamt | sync with head.
|
1.19.40.1 |
| 28-Sep-2008 |
mjf | Sync with HEAD.
|
1.21.6.1 |
| 18-Feb-2012 |
mrg | merge to -current.
|
1.21.2.1 |
| 17-Apr-2012 |
yamt | sync with head
|
1.22.62.2 |
| 22-Mar-2021 |
thorpej | Audit CFARG_IATTR in config_found() calls, and remove it in situations where the interface attribute is not ambiguous.
|
1.22.62.1 |
| 22-Mar-2021 |
thorpej | Mechanical conversion of config_found_sm_loc() -> config_found(). CFARG_IATTR usage needs to be audited.
|
1.23.2.1 |
| 01-Aug-2021 |
thorpej | Sync with HEAD.
|
1.24.2.1 |
| 03-Aug-2021 |
thorpej | Adapt to CFARGS().
|