History log of /src/sys/arch/arc/jazz/jazzio.c |
Revision | | Date | Author | Comments |
1.24 |
| 07-Aug-2021 |
thorpej | Merge thorpej-cfargs2.
|
1.23 |
| 24-Apr-2021 |
thorpej | branches: 1.23.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.22 |
| 01-Jul-2011 |
dyoung | branches: 1.22.68; #include <sys/bus.h> instead of <machine/bus.h>.
|
1.21 |
| 06-Mar-2011 |
tsutsui | Remove trailing spaces.
|
1.20 |
| 05-Jul-2008 |
tsutsui | branches: 1.20.18; 1.20.24; Split device_t/softc with misc related changes.
|
1.19 |
| 14-Mar-2008 |
tsutsui | branches: 1.19.4; 1.19.6; 1.19.8; Fix spl(9) botch in cpu_intr() on arc: Don't enable unhandled interrupts before all interrupts are processed, and also change all interrupt handlers to return processed MIPS_INT_MASK values, rather than masked values of them.
|
1.18 |
| 25-Jun-2006 |
tsutsui | branches: 1.18.34; 1.18.54; 1.18.58; Remove unused struct abus stuff.
|
1.17 |
| 24-Jun-2006 |
tsutsui | Misc minor cleanup for arc interrupt handlers: - always enable options MIPS3_ENABLE_CLOCK_INTR and just clear the compare register in cpu_intr() to make CLKF_BASE() works properly - prepare only possible number of cpu_inttab - use macro for interrupt priority number passed to arc_set_intr() to avoid confusion - merge arc_hardware_intr() into cpu_intr() - check independent timer interrupt first in cpu_intr() - tweak MIPS_SR_INT_IE before calling hardclock timer handlers so that spllowersoftclock(9) will be invoked properly in hardclock(9) - reenable interrupt for timer in cpu_intr() rather than each timer handlers
okay'ed by soda.
Note the real fix is to make CLKF_BASE() check all independent interrupt sources including jazz and isa devices.
|
1.16 |
| 15-Apr-2006 |
tsutsui | branches: 1.16.4; Include "ioconf.h" rather than declare struct cfdriver foo_cd in each file.
|
1.15 |
| 15-Nov-2005 |
tsutsui | branches: 1.15.4; 1.15.6; 1.15.8; 1.15.10; 1.15.12; Explicitly enable interrupts before softintr is handled as noted in the TODO file. At least this fixes "sn0: receive buffers exhausted" messages on my NEC-JC94.
XXX: does anyone know what "Dont reenable" comment means, which was XXX: there since initial import of pica (not arc).
|
1.14 |
| 22-Jan-2005 |
tsutsui | branches: 1.14.8; 1.14.14; Make all intr_mask value types uint32_t rather than int, u_int, or unsigned etc.
|
1.13 |
| 22-Jan-2005 |
tsutsui | - remove __P() - use ANSI function decls - u_intNN_t -> uintNN_t - some KNF
|
1.12 |
| 08-Oct-2003 |
tsutsui | branches: 1.12.8; - Count jazzio interrupts with evcnt(9). - Misc cleanup.
|
1.11 |
| 15-Jul-2003 |
lukem | __KERNEL_RCSID()
|
1.10 |
| 03-May-2003 |
wiz | branches: 1.10.2; DMA, not dma nor Dma.
|
1.9 |
| 10-Feb-2003 |
tsutsui | Call jazz_dmatlb_init() from jazzioattach() directly and remove picaDmaInit() in dma.c.
|
1.8 |
| 01-Jan-2003 |
thorpej | Use aprint_normal for cfprint routines.
|
1.7 |
| 02-Oct-2002 |
thorpej | Use CFATTACH_DECL().
|
1.6 |
| 27-Sep-2002 |
thorpej | Declare all cfattach structures const.
|
1.5 |
| 13-Jun-2001 |
soda | branches: 1.5.2; 1.5.8; remove "cputype", introduce "struct jazzio_config *jazzio_conf;" to describe platform-dependent variants. clean up jazz i/o interreupt handling had device configuration information.
|
1.4 |
| 30-Apr-2001 |
tsutsui | Add MD attachments for the Symbios/NCR 53c710 SCSI controller, found on the NEC Express5800/230A.
|
1.3 |
| 30-Mar-2001 |
ur | Don't reference nonexistent register on R96. (and maybe R94 too)
|
1.2 |
| 17-Feb-2001 |
tsutsui | branches: 1.2.2; Add new arctype for NEC Express5800/230A.
XXX: we should have "sysconf" structures like pmax.
|
1.1 |
| 24-Dec-2000 |
ur | branches: 1.1.2; Switch pica to jazzio. Split shared MD portion between algor and jazzio.
|
1.1.2.4 |
| 21-Apr-2001 |
bouyer | Sync with HEAD
|
1.1.2.3 |
| 12-Mar-2001 |
bouyer | Sync with HEAD.
|
1.1.2.2 |
| 05-Jan-2001 |
bouyer | Sync with HEAD
|
1.1.2.1 |
| 24-Dec-2000 |
bouyer | file jazzio.c was added on branch thorpej_scsipi on 2001-01-05 17:33:58 +0000
|
1.2.2.2 |
| 21-Jun-2001 |
nathanw | Catch up to -current.
|
1.2.2.1 |
| 09-Apr-2001 |
nathanw | Catch up with -current.
|
1.5.8.3 |
| 03-Jan-2003 |
thorpej | Sync with HEAD.
|
1.5.8.2 |
| 18-Oct-2002 |
nathanw | Catch up to -current.
|
1.5.8.1 |
| 13-Jun-2001 |
nathanw | file jazzio.c was added on branch nathanw_sa on 2002-10-18 02:35:16 +0000
|
1.5.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.10.2.5 |
| 11-Dec-2005 |
christos | Sync with head.
|
1.10.2.4 |
| 24-Jan-2005 |
skrll | Sync with HEAD.
|
1.10.2.3 |
| 21-Sep-2004 |
skrll | Fix the sync with head I botched.
|
1.10.2.2 |
| 18-Sep-2004 |
skrll | Sync with HEAD.
|
1.10.2.1 |
| 03-Aug-2004 |
skrll | Sync with HEAD
|
1.12.8.1 |
| 29-Apr-2005 |
kent | sync with -current
|
1.14.14.1 |
| 22-Nov-2005 |
yamt | sync with head.
|
1.14.8.3 |
| 17-Mar-2008 |
yamt | sync with head.
|
1.14.8.2 |
| 30-Dec-2006 |
yamt | sync with head.
|
1.14.8.1 |
| 21-Jun-2006 |
yamt | sync with head.
|
1.15.12.1 |
| 24-May-2006 |
tron | Merge 2006-05-24 NetBSD-current into the "peter-altq" branch.
|
1.15.10.1 |
| 19-Apr-2006 |
elad | sync with head - hopefully this will work
|
1.15.8.2 |
| 26-Jun-2006 |
yamt | sync with head.
|
1.15.8.1 |
| 24-May-2006 |
yamt | sync with head.
|
1.15.6.1 |
| 22-Apr-2006 |
simonb | Sync with head.
|
1.15.4.1 |
| 09-Sep-2006 |
rpaulo | sync with head
|
1.16.4.1 |
| 13-Jul-2006 |
gdamore | Merge from HEAD.
|
1.18.58.2 |
| 28-Sep-2008 |
mjf | Sync with HEAD.
|
1.18.58.1 |
| 03-Apr-2008 |
mjf | Sync with HEAD.
|
1.18.54.1 |
| 24-Mar-2008 |
keiichi | sync with head.
|
1.18.34.1 |
| 23-Mar-2008 |
matt | sync with HEAD
|
1.19.8.1 |
| 18-Jul-2008 |
simonb | Sync with head.
|
1.19.6.1 |
| 18-Sep-2008 |
wrstuden | Sync with wrstuden-revivesa-base-2.
|
1.19.4.1 |
| 04-May-2009 |
yamt | sync with head.
|
1.20.24.1 |
| 06-Jun-2011 |
jruoho | Sync with HEAD.
|
1.20.18.1 |
| 21-Apr-2011 |
rmind | sync with head
|
1.22.68.1 |
| 21-Mar-2021 |
thorpej | Give config_found() the same variadic arguments treatment as config_search(). This commit only adds the CFARG_EOL sentinel to the existing config_found() calls. Conversion of config_found_sm_loc() and config_found_ia() call sites will be in subsequent commits.
|
1.23.8.1 |
| 03-Aug-2021 |
thorpej | Adapt to CFARGS().
|