summaryrefslogtreecommitdiff
path: root/sys/dev/tc/tc.c
AgeCommit message (Collapse)Author
2003-09-26Remove casts and use %x in printf for tc_offset_t,tsutsui
which is int32_t on both alpha and pmax.
2003-01-01Use aprint_normal() in cfprint routines.thorpej
2002-10-02Add trailing ; to CFATTACH_DECL.thorpej
2002-10-01Use CFATTACH_DECL().thorpej
2002-09-27Declare all cfattach structures const.thorpej
2002-09-27Introduce a new routine, config_match(), which invokes thethorpej
cfattach->ca_match function in behalf of the caller. Use it rather than invoking cfattach->ca_match directly.
2002-09-27Rather than referencing the cfdriver directly in the cfdata entries,thorpej
instead use a string naming the driver. The cfdriver is then looked up in a list which is built at run-time.
2001-11-13add/cleanup RCSIDslukem
2000-06-04Implement the more flexiable `evcnt' interface as discussed (briefly) oncgd
tech-kern and now documented in evcnt(9).
1999-11-15Relocate 'struct tc_softc' and several function declarations usefulnisimura
to outsides of 'tc.c' into 'tcvar.h'.
1998-05-22DECstation now provides bus_space and bus_dma data structures to us.thorpej
1998-01-19On the Alpha, pass down per-slot DMA tags to children.thorpej
1998-01-12Adjust for changes in config.thorpej
1997-09-13Declare TCVERBOSE by defopt in files.tc. Include opt_tcverbose.h in tc.c.enami
1997-07-22Garbage-collect __BROKEN_INDIRECT_CONFIG from /sys/dev/tcjonathan
1996-12-05update these so they compile whether or not __BROKEN_INDIRECT_CONFIGcgd
is defined.
1996-10-22update for new bus.hcgd
1996-10-13backout kprintf changeschristos
1996-10-10printf -> kprintf, sprintf -> ksprintfchristos
1996-08-27change cfprint_t type definition to take a const char *, rather thancgd
a char *, because that's what was really intended, and because if the print function modifies the string, various things could become unhappy (so the string should _not_ be modified).
1996-05-17(on the alpha) pass the bus_chipset_tag_t given to the bus down to thecgd
devices.
1996-04-29fix printf bogon (need : and space)cgd
1996-04-18remove unnecessary header inclusion (machine/autoconf.h) and now-bogus comment.cgd
also, trim spaces at ends of lines, etc.
1996-04-09Fixes for -Wall -Wmissing-prototypes:jonathan
include <sys/systm.h> to get a prototyped declaration of printf(). include <machine/autoconf.h> for port-specific typedefs. Remove unused variables.
1996-03-17Additional fixes to complete the NetBSD/1.1B config changes:jonathan
change tc_submatch() to compile with the new device-attach scheme: the TC bus uses a 'submatch' function which checks device locators and then calls a match function. Instead of calling cf->cf_driver->cd_match(), we now need to call cf->cf_attach->ca_match().
1996-03-17New device attachment scheme:thorpej
- split softc size and match/attach out from cfdriver into a new struct cfattach. - new "attach" directive for files.*. May specify the name of the cfattach structure, so that devices may be easily attached to parents with different autoconfiguration semantics.
1996-03-05split device info into driver name and human readable description.cgd
1996-03-02change printing of unknown device names when not (BUS)VERBOSE slightlycgd
1996-03-02add ability to define TCVERBOSE, and get "human names" about "known"cgd
but unconfigured (or unsupported) devices printed at boot time. The device list is woefully incomplete, because i didn't put much time in it, and because i don't know good "human names" for many TC devices.
1996-02-27use config_found_sm(), rather than config_search+config_attach()+glue, tocgd
attach subdevices.
1996-02-27fix first args in tcprint() invocations. Fix for this (and several previouscgd
commits) from Jonathan. This is why one (I) shouldn't commit code w/o having any sane way to test it.
1996-02-27one more minor oops; print our name, not parent's, when doing unconfigured devcgd
1996-02-27fix bug in previous commits. also, do submatch checking for all devices,cgd
not just option slot devices.
1996-02-27use #defines for bus speed constants, print speed on attachcgd
1996-02-26(1) rename some structures & structure members, for consistency withcgd
planned changes in other sections of code. (2) expands the use of config_found() in tcattach() in-line, so that tcsubmatch can be invoked there, rather than being invoked by individual drivers. (3) tcbus_attach_args now includes a turbochannel speed flag. (4) compare a string in tcbus_attach_args against tc bus driver name, to better allow attachment of multiple busses to the same parent.
1995-12-20machine-independent TurboChannel bus configuration. These filescgd
deal with stuff like: (1) configuring built-in devices, (2) looking at TC slots configuring any devices found. The lists of slots, slot locations, etc. and built-in devices are provided by machine-dependent code. Interrupt handling is also provided by machine-dependent code, but the MD code provides hooks so that standard names for 'establish' and 'disestablish' can be used in drivers. This code requires <machine/tc_machdep.h>, which defines some portability types specific to the TurboChannel bus code.