summaryrefslogtreecommitdiffstats
path: root/sys/dev/ic/uha.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* If you use sys/param.h, you don't need sys/types.hderaadt2017-09-081-2/+1
|
* uha_init_mscp() is unused.deraadt2017-07-261-28/+3
|
* remove uneeded proc.h includesjsg2014-09-141-2/+1
| | | | ok mpi@ kspillner@
* Initialize variables before use. And if initializing, use the correctkrw2011-10-251-3/+3
| | | | source! From Pedro Martelletto.
* Iopoolification of some less common scsi drivers.krw2011-04-031-64/+27
| | | | ok dlg@ ("miod will not object" dlg@)
* No "\n" needed at the end of panic() strings.krw2010-08-071-2/+2
| | | | | | | Bogus chunks pointed out by matthew@ and miod@. No cookies for marco@ and jasper@. ok deraadt@ miod@ matthew@ jasper@ macro@
* Use SLIST instead of TAILQ for the ccb free list.mk2010-06-301-6/+6
| | | | ok krw
* Remove all adapter-specific 'struct scsi_device's. They are never used. Firstkrw2010-06-281-10/+1
| | | | | | | | step in elminating 'struct scsi_device' entirely. Spotted and initial diff from matthew@. ok matthew@ dlg@ deraadt@ marco@ miod@
* Don't #include <sys/user.h> into files that don't need the stuffguenther2010-06-261-2/+2
| | | | | | | | it defines. In some cases, this means pulling in uvm.h or pcb.h instead, but most of the inclusions were just noise. Tested on alpha, amd64, armish, hppa, i386, macpcc, sgi, sparc64, and vax, mostly by krw and naddy. ok krw@
* New scsi code seems to be stable. Pluck previously identifiedkrw2010-05-201-5/+1
| | | | | | | low-hanging splbio/splx pairs that are no longer needed and see if this reveals any hidden scsi flaws. ok dlg@
* Change the scsi_cmd function member of scsi_adapter from int tokrw2010-03-231-7/+11
| | | | | | | | | | | | | void. Use XS_NO_CCB error in the scsi command (xs) to report the NO_CCB condition. Eliminates all SUCCESSFULLY_QUEUED and COMPLETE confusion and untangles the midlayer from the adapter a bit more. Eyes and some fixes by miod@ There may be some compile issues on little used (i.e. I don't have any) drivers but the change is mechanical and thus easy to remedy. ok dlg@
* Zap all setting of ITSDONE in drivers that don't look at it. Nobodykrw2010-01-091-3/+1
| | | | | | | else cares so it's just noise. Drivers that actually look at ITSDONE are unchanged. ok marco@ (for his files) dlg@ beck@
* Missing scsi_done() in some error path returning COMPLETE; ok dlg@miod2009-09-041-1/+5
|
* remove more unneeded Debugger() calls from dev/jasper2009-08-291-7/+2
| | | | | agreed by deraadt@ ok jsing@
* Extend the scsi_adapter minphys() callback to take a struct scsi_link *miod2009-02-161-5/+3
| | | | | | as additional argument. This will allow intermediate layers between scsi devices such as sd and scsi host adapters to take appropriate action if necessary.
* Return NO_CCB instead of TRY_AGAIN_LATER when ccb's run out.krw2008-11-241-2/+2
| | | | "I'm all for it." marco@ "Yeah" deraadt@
* SCSI_DATA_UIO is never used. Code which checks for it is either dead ormiod2008-09-121-67/+47
| | | | | | commented out, remove it. Unifdef TFS while there. ok marco@ krw@
* give scsi controllers a real attach args to fill in when attaching scsibus.dlg2006-11-281-9/+6
| | | | ok miod@ marco@ deraadt@
* The first thing done when XXX_scsi_cmd() returns TRY_AGAIN_LATER iskrw2005-12-031-2/+1
| | | | | | | | to set xs->error to XS_BUSY. So it is pointless and misleading to set xs->error to XS_TIMEOUT, XS_DRIVER_STUFFUP or XS_BUSY just before returning TRY_AGAIN_LATER. No functional change.
* assume vtophys(vaddr_t) just what all the other archs expect; no functional changemickey2005-11-231-2/+2
|
* miscellaneous typo fixes:jfb2005-02-171-2/+2
| | | | | | | - sturct -> struct (spotted by pedro) - elimination of consecutive 'the' words ok jmc@, henning@, krw@, robert@, some whining by jolan@
* Use list and queue macros where applicable to make the code easier to read;miod2004-12-261-3/+3
| | | | no change in compiler assembly output.
* First round of __P removal in sysmillert2002-03-141-8/+8
|
* new timeoutsmickey2001-02-031-1/+2
|
* make it compile againmickey1997-04-131-3/+3
|
* Adaption to new bus.h from NetBSD. Various driver has been updated toniklas1996-11-281-0/+558
NetBSD 961107 state. Other has not, partly because sometimes the bus.h changes was coupled with other changes.