summaryrefslogtreecommitdiff
path: root/sys/dev/eisa/mlx_eisa.c
AgeCommit message (Collapse)Author
2022-07-12Remove unneeded bus_space_barrier() calls.thorpej
2021-07-24Noralize autoconfiguration messages, and report interrupt trigger type.thorpej
2021-04-24Merge thorpej-cfargs branch:thorpej
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?).
2021-01-27Use eisa_compatible_{match,lookup}().thorpej
2016-09-27Modularize the ld driver and all of its attachments. Ensure that allpgoyette
parents are capable of rescan (or otherwise provide a means of attaching children post-initialization).
2016-07-14- Use aprint*() more in xxx_attach().msaitoh
- Add missing aprint_naive("\n"). - Remove extra spaces and tabs. - KNF.
2014-03-29make pci_intr_string and eisa_intr_string take a buffer and a lengthchristos
instead of relying in local static storage.
2012-10-27split device_t/softc for all remaining drivers.chs
replace "struct device *" with "device_t". use device_xname(), device_unit(), etc.
2009-05-12struct device * -> device_t, no functional changes intended.cegger
2009-05-12struct cfdata * -> cfdata_t, no functional changes intended.cegger
2008-04-28Remove clause 3 and 4 from TNF licensesmartin
2007-10-19machine/{bus,cpu,intr}.h -> sys/{bus,cpu,intr}.had
2006-11-16__unused removal on arguments; approved by core.christos
2006-10-12- sprinkle __unused on function decls.christos
- fix a couple of unused bugs - no more -Wno-unused for i386
2006-09-02static goes firstchristos
2006-03-29Use device_private().thorpej
2005-12-11merge ktrace-lwp.christos
2005-02-27nuke trailing whitespaceperry
2003-05-03Get the interrupt config from the correct register.ad
2002-10-02Add trailing ; to CFATTACH_DECL.thorpej
2002-09-30Use CFATTACH_DECL().thorpej
2002-09-27Declare all cfattach structures const.thorpej
2002-08-31Nuke incorrect mailbox length defines and just use 13 everywhere. May helpad
with PR/14266.
2002-08-26Handle aincent firmware as found on EISA/MCA boards. Untested.ad
2001-12-18Couple more tweaks, probably still not working.ad
2001-11-15don't need <sys/types.h> when including <sys/param.h>lukem
2001-11-13add RCSIDlukem
2001-05-10Add missing printf().ad
2001-05-06We map in by MLX_EISA_SLOT_OFFSET, so remember that when accessing thead
IOCONF registers. Pointed out by thorpej.
2001-05-06Add an (untested) EISA front-end for the `mlx' driver.ad