| History log of /src/sys/arch/sgimips/dev/imc.c |
| Revision | | Date | Author | Comments |
| 1.37 |
| 07-Aug-2021 |
thorpej | Merge thorpej-cfargs2.
|
| 1.36 |
| 24-Apr-2021 |
thorpej | branches: 1.36.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.35 |
| 26-Apr-2019 |
macallan | branches: 1.35.12; fix misleading error message
|
| 1.34 |
| 18-Feb-2015 |
macallan | branches: 1.34.18; switch sgimips to common bus_dma and bus_space in arch/mips/ Tested on O2 and Indy. Things that are compile-tested only for lack of hardware: - GIO ethernet cards with PCI bridges - IP2x hardware not found on Indy - IP1x
|
| 1.33 |
| 27-Oct-2012 |
chs | branches: 1.33.14; split device_t/softc for all remaining drivers. replace "struct device *" with "device_t". use device_xname(), device_unit(), etc.
|
| 1.32 |
| 01-Jul-2011 |
dyoung | branches: 1.32.2; 1.32.12; #include <sys/bus.h> instead of <machine/bus.h>.
|
| 1.31 |
| 30-Jun-2011 |
wiz | dependant -> dependent
|
| 1.30 |
| 20-Feb-2011 |
matt | Merge forward matt-nb5-mips64 Adapt to new interrupt/spl framework Deal with arcbios calls being O32 and kernels being N32/N64. Need to save/restore T8 across arcbios calls.
|
| 1.29 |
| 23-Aug-2008 |
tsutsui | branches: 1.29.12; 1.29.16; 1.29.22; 1.29.24; KNF and misc cosmetics.
|
| 1.28 |
| 19-Feb-2007 |
rumble | branches: 1.28.42; 1.28.46; 1.28.48; 1.28.52; Support the sq(4) interface on the Challenge S's IOPLUS mezzanine. This requires us to configure the IOPLUS to use the appropriate DMA channel, depending on what other expansion cards may be installed. Further, we need to do a bit more configuration of the sq(4) DMA engine, which apparently was formerly being configured properly by the PROM. Use the same values, which appear to work fine.
Also, extend the gio_arb_config interface as needed.
NB: We're currently setting the IOPLUS board to long burst, but it may be better to use realtime. This will require some experimentation.
|
| 1.27 |
| 22-Dec-2006 |
rumble | branches: 1.27.2; Guiness -> Guinness.
|
| 1.26 |
| 30-Aug-2006 |
rumble | branches: 1.26.2; Add pic and imc-specific functions to alter the GIO bus arbiter configuration. These are to be used exclusively by a higher interface in gio/gio.c.
Also add functions to enable, disable and query the state of SysAd bus parity detection since certain gio(4) cards need to be able to disable it in order to work around their own buggy implementations.
|
| 1.25 |
| 11-Dec-2005 |
christos | branches: 1.25.4; 1.25.8; 1.25.18; merge ktrace-lwp.
|
| 1.24 |
| 18-Oct-2005 |
tsutsui | TAB/space cleanup.
|
| 1.23 |
| 29-Sep-2004 |
sekiya | branches: 1.23.12; Various fixes:
* clean up EISA detection logic, * really fix config_found_ia() usage (from drochner@), * sprinkle a bit of KNF.
|
| 1.22 |
| 05-Sep-2004 |
sekiya | Oooops, iaa.iaa_name must be initialized.
|
| 1.21 |
| 05-Sep-2004 |
sekiya | Use config_found_ia() rather than config_found().
|
| 1.20 |
| 17-Aug-2004 |
rumble | Implement several changes that get my E++ (HPC1.5 GIO ethernet adapter) to work on IP24: o Force HPC and GIO slot endianness. o Allow slots one and two to be masters and configure for realtime mode.
Also, while we're here move IP22 invariants into the IP22 case.
I suspect that IP20 will work as well since it exhibited the same broken DMA that IP24 did before I flipped the master bit.
|
| 1.19 |
| 25-Jul-2004 |
sekiya | Properly detect the EISA bus for IP22-class machines.
|
| 1.18 |
| 13-Jun-2004 |
rumble | sekiya-san's platform abstraction allows us to keep these functions static.
|
| 1.17 |
| 03-Apr-2004 |
sekiya | Hook the IMC bus error handler into the ISR, otherwise bus error conditions won't be properly dealt with.
|
| 1.16 |
| 18-Jan-2004 |
sekiya | branches: 1.16.2; Keep chip revision and EISA information on same line as attach information.
|
| 1.15 |
| 18-Jan-2004 |
sekiya | Properly disable watchdog timer.
|
| 1.14 |
| 18-Jan-2004 |
sekiya | Finish moving code between ip2x.c and ip3x.c to imc.c and crime.c.
|
| 1.13 |
| 13-Jan-2004 |
sekiya | Assign memory controller-dependent watchdog reset functions to platform.watchdog_reset.
|
| 1.12 |
| 13-Jan-2004 |
sekiya | As the platform-specific bus reset routine varies based on the memory controller used, set it in the memory controller driver rather than the platform init code.
|
| 1.11 |
| 10-Jan-2004 |
sekiya | Add watchdog and bus error handling functions (these features live in IMC space, thus should be handled here rather than in ip2x.c)
|
| 1.10 |
| 14-Dec-2003 |
sekiya | Bus-space'ify the memory controller driver, and add IP20-specific bits.
|
| 1.9 |
| 15-Jul-2003 |
lukem | __KERNEL_RCSID()
|
| 1.8 |
| 01-Jan-2003 |
thorpej | branches: 1.8.2; Use aprint_normal() for cfprint routines.
|
| 1.7 |
| 02-Oct-2002 |
thorpej | Add trailing ; to CFATTACH_DECL.
|
| 1.6 |
| 01-Oct-2002 |
thorpej | Use CFATTACH_DECL().
|
| 1.5 |
| 27-Sep-2002 |
thorpej | Declare all cfattach structures const.
|
| 1.4 |
| 13-Mar-2002 |
simonb | Replace lots of 8x<space> with <tabs> and other miscellaneous indentation fixes. Wrap a couple of long lines. Use <return-type>\n<function name> as per KNF in a few places.
|
| 1.3 |
| 10-Sep-2001 |
rafal | branches: 1.3.4; Use the newly committed imcreg.h to get rid of the magic numbers polluting this file; while I'm here, rework the GIO arbitrator parameter setup to match more closely what is done by lunix on the same hardware... Finally, on a tip from Wilbern Cobb, preserve the graphics-related bits of the GIO arbitrator parameter register from the PROM-initialized settings so ARCS console on the graphics display works (tested on both my Indy with Newport and my Indigo2 with XL gfx).
|
| 1.2 |
| 08-Jul-2001 |
thorpej | branches: 1.2.2; 1.2.4; - Use the identifier strings that are fetched by the MI ARC BIOS code. - Garbage-collect some non-useful stuff from the mainbus_attach_args.
|
| 1.1 |
| 11-May-2001 |
thorpej | branches: 1.1.2; Support for the Indigo2/Indy IMC (this is that to which all other devices are attached).
|
| 1.1.2.1 |
| 21-Jun-2001 |
nathanw | Catch up to -current.
|
| 1.2.4.1 |
| 01-Oct-2001 |
fvdl | Catch up with -current.
|
| 1.2.2.3 |
| 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.2.2.2 |
| 16-Mar-2002 |
jdolecek | Catch up with -current.
|
| 1.2.2.1 |
| 13-Sep-2001 |
thorpej | Update the kqueue branch to HEAD.
|
| 1.3.4.4 |
| 03-Jan-2003 |
thorpej | Sync with HEAD.
|
| 1.3.4.3 |
| 18-Oct-2002 |
nathanw | Catch up to -current.
|
| 1.3.4.2 |
| 01-Apr-2002 |
nathanw | Catch up to -current. (CVS: It's not just a program. It's an adventure!)
|
| 1.3.4.1 |
| 10-Sep-2001 |
nathanw | file imc.c was added on branch nathanw_sa on 2002-04-01 07:42:18 +0000
|
| 1.8.2.6 |
| 10-Nov-2005 |
skrll | Sync with HEAD. Here we go again...
|
| 1.8.2.5 |
| 19-Oct-2004 |
skrll | Sync with HEAD
|
| 1.8.2.4 |
| 21-Sep-2004 |
skrll | Fix the sync with head I botched.
|
| 1.8.2.3 |
| 18-Sep-2004 |
skrll | Sync with HEAD.
|
| 1.8.2.2 |
| 25-Aug-2004 |
skrll | Sync with HEAD.
|
| 1.8.2.1 |
| 03-Aug-2004 |
skrll | Sync with HEAD
|
| 1.16.2.1 |
| 11-May-2004 |
tron | Pull up revision 1.17 (requested by sekiya in ticket #285): Hook the IMC bus error handler into the ISR, otherwise bus error conditions won't be properly dealt with.
|
| 1.23.12.3 |
| 26-Feb-2007 |
yamt | sync with head.
|
| 1.23.12.2 |
| 30-Dec-2006 |
yamt | sync with head.
|
| 1.23.12.1 |
| 21-Jun-2006 |
yamt | sync with head.
|
| 1.25.18.1 |
| 10-Sep-2006 |
tron | Pull up following revision(s) (requested by rumble in ticket #137): sys/arch/sgimips/dev/imc.c: revision 1.26 sys/arch/sgimips/dev/files.dev: revision 1.6 sys/arch/sgimips/dev/pic.c: revision 1.11 sys/arch/sgimips/dev/imcvar.h: revision 1.1 Add pic and imc-specific functions to alter the GIO bus arbiter configuration. These are to be used exclusively by a higher interface in gio/gio.c. Also add functions to enable, disable and query the state of SysAd bus parity detection since certain gio(4) cards need to be able to disable it in order to work around their own buggy implementations.
|
| 1.25.8.1 |
| 03-Sep-2006 |
yamt | sync with head.
|
| 1.25.4.1 |
| 09-Sep-2006 |
rpaulo | sync with head
|
| 1.26.2.1 |
| 12-Jan-2007 |
ad | Sync with head.
|
| 1.27.2.1 |
| 27-Feb-2007 |
yamt | - sync with head. - move sched_changepri back to kern_synch.c as it doesn't know PPQ anymore.
|
| 1.28.52.1 |
| 19-Oct-2008 |
haad | Sync with HEAD.
|
| 1.28.48.1 |
| 18-Sep-2008 |
wrstuden | Sync with wrstuden-revivesa-base-2.
|
| 1.28.46.1 |
| 04-May-2009 |
yamt | sync with head.
|
| 1.28.42.1 |
| 28-Sep-2008 |
mjf | Sync with HEAD.
|
| 1.29.24.1 |
| 05-Mar-2011 |
bouyer | Sync with HEAD
|
| 1.29.22.1 |
| 06-Jun-2011 |
jruoho | Sync with HEAD.
|
| 1.29.16.1 |
| 05-Mar-2011 |
rmind | sync with head
|
| 1.29.12.1 |
| 29-Dec-2010 |
matt | Adapt sgimips to the interrupt framework.
|
| 1.32.12.2 |
| 03-Dec-2017 |
jdolecek | update from HEAD
|
| 1.32.12.1 |
| 20-Nov-2012 |
tls | Resync to 2012-11-19 00:00:00 UTC
|
| 1.32.2.1 |
| 30-Oct-2012 |
yamt | sync with head
|
| 1.33.14.1 |
| 06-Apr-2015 |
skrll | Sync with HEAD
|
| 1.34.18.1 |
| 10-Jun-2019 |
christos | Sync with HEAD
|
| 1.35.12.1 |
| 02-Apr-2021 |
thorpej | config_found_ia() -> config_found() w/ CFARG_IATTR.
|
| 1.36.8.1 |
| 04-Aug-2021 |
thorpej | Adapt to CFARGS().
|