summaryrefslogtreecommitdiff
path: root/sys/dev/mscp/mscp.c
AgeCommit message (Collapse)Author
2012-10-27split device_t/softc for all remaining drivers.chs
replace "struct device *" with "device_t". use device_xname(), device_unit(), etc.
2012-07-10Adjust MSCP attach routines. The current code worked fine on simh-vax, butabs
unfortunately failed on at least one 'real' SCSI MSCP adaptor. In the updated code mscp_attach() still iterates over each unit on a bus, but mscp_dorsp() now detects if we have reached the last unit and does not return a bogus additional unit. It also loses a few gotos and handles noncontiguous unit numbers better.
2009-05-12struct device * -> device_t, no functional changes intended.cegger
2009-04-18Remove extra whitespace added by a stupid tool.tsutsui
XXX: more in src/sys/arch
2009-03-18bcopy -> memcpycegger
2009-03-14Change about 4500 of the K&R function definitions to ANSI ones.dsl
There are still about 1600 left, but they have ',' or /* ... */ in the actual variable definitions - which my awk script doesn't handle. There are also many that need () -> (void). (The script does handle misordered arguments.)
2009-01-19mscp(4) was being a bad monkey! It's not OK to call config_found() frommjf
interrupt context, as my vax kernel with DIAGNOSTIC told me. Instead, we defer the work and get it to run in thread context via a workqueue(9). Thanks to matt@ for the review.
2008-04-08use aprint_*_dev and device_xnamecegger
2008-01-04B_BAD has done nothing for a long time.ad
2007-10-19machine/{bus,cpu,intr}.h -> sys/{bus,cpu,intr}.had
2007-07-29It's not a good idea for device drivers to modify b_flags, as they don'tad
need to understand the locking around that field. Instead of setting B_ERROR, set b_error instead. b_error is 'owned' by whoever completes the I/O request.
2007-03-04Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.christos
2006-03-25Use device_parent().thorpej
2005-12-11merge ktrace-lwp.christos
2005-02-27nuke trailing whitespaceperry
2004-10-31Include the <sys/bufq.h> header to allow these to compile again.he
2003-08-07Move UCB-licensed code from 4-clause to 3-clause licence.agc
Patches provided by Joel Baker in PR 22364, verified by myself.
2003-02-04Fix wrong argument to free due to malloc_type changes. While there,matt
spot blatant bug by inspection and fix that as well. (do not compare scaled value against unscaled value).
2002-03-04Don't "extern int cold;" - this is in <sys/kernel.h>.simonb
2002-01-14Call malloc(9) with M_ZERO flag instead of bzero() after malloc().tsutsui
2001-11-13add RCSIDlukem
2001-04-12Upon inspection of a 4000/600 dmesg, change the splbios to splubas.thorpej
XXX THIS CODE IS SERIOUSLY BROKEN! MSCP DEVICES ARE BLOCK I/O DEVICES, AND THUS SPLBIO SHOULD BLOCK THEIR INTERRUPTS. The VAX port really needs to get virtualized spl*() levels.
2001-04-12splimp -> splbiothorpej
2000-05-27sleep() -> tsleep()thorpej
2000-03-30Remove register declarations.augustss
1999-06-06Bus'ify the mscp code also.ragge
1999-05-29Copied from ../../arch/vax/mscp/mscp.c,vragge