summaryrefslogtreecommitdiffstats
path: root/sys/dev/isa/seagate.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* remove uneeded proc.h includesjsg2014-09-141-2/+1
| | | | ok mpi@ kspillner@
* Iopoolification of some less common scsi drivers.krw2011-04-031-52/+26
| | | | ok dlg@ ("miod will not object" dlg@)
* 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/+1
| | | | | | | | 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-8/+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/+10
| | | | | | | | | | | | | 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@
* A couple of missed ITSDONE setting before scsi_done().krw2010-01-101-5/+1
| | | | | | | seagate/trm/aha1742 were the only drivers paranoid enough to check ITSDONE on getting the xs to execute. And optimistic enough to think simply restting the flag would be a good thing. Have them chill out like everyone else, reducing ITSDONE noise some more.
* Set ITSDONE in scsi_done() and zap trivial instances of setting itkrw2010-01-101-2/+1
| | | | | | in the drivers just before calling scsi_done(). ok dlg@ beck@
* Make sure the scsi_xfer timeout always get initialized with timeout_set(),miod2009-09-241-5/+3
| | | | | | since the scsi_done() wrapper will timeout_del() unconditionnaly and the scsi midlayer no longer provides scsi_xfer with zeroed struct timeout. ok dlg@
* scsi_done before COMPLETE.dlg2009-09-051-1/+4
|
* Make this compile when SEA_ASSEMBLER is not defined.jsg2009-08-091-3/+5
|
* Extend the scsi_adapter minphys() callback to take a struct scsi_link *miod2009-02-161-2/+2
| | | | | | as additional argument. This will allow intermediate layers between scsi devices such as sd and scsi host adapters to take appropriate action if necessary.
* Replace timeout_add(msecs * hz / 1000) with timeout_add_msec(msecs).grange2009-01-211-2/+2
| | | | | | No functional changes. ok krw@ miod@
* Actual final round of timeout_add(to, n * hz) -> timeout_add_sec(to, n)blambert2009-01-111-2/+2
| | | | | | | conversions. ok kettenis@ ok krw@ (possibly for the second time :)
* Another bunch of TRY_AGAIN_LATER -> NO_CCB when no I/O could be started.krw2008-11-251-2/+2
| | | | "looks sane to me" marco@
* More scsi_done() at SPLBIO.krw2007-11-051-1/+4
|
* More easy bzero() -> M_ZERO. Use 'p = malloc(sizeof(*p) ...' wherekrw2007-10-011-4/+2
| | | | obvious.
* ansify/de-registerjasper2007-06-291-72/+39
| | | | no binary change
* give scsi controllers a real attach args to fill in when attaching scsibus.dlg2006-11-281-2/+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.
* Use list and queue macros where applicable to make the code easier to read;miod2004-12-261-16/+14
| | | | no change in compiler assembly output.
* First round of __P removal in sysmillert2002-03-141-20/+20
|
* remove useless INUSE references from scsi_xfer->flags; art@ miod@ ok.fgsch2001-08-261-4/+3
|
* recieve -> receivenate2001-06-271-2/+2
|
* new timeoutsmickey2001-01-291-34/+37
|
* Fix clobbers so that GENERIC may compile with egcs.espie1999-01-311-10/+15
| | | | | | | | | | | | | Historically, the documentation of extended asm was lacking, namely you should NOT specify the same register as an input, and a clobber. If the register is clobbered, it should be specified as an output as well, e.g., by linking input and output through the "number" notation. (Beware of lvalues, some local variables needed...) In older versions, up-to egcs1.1.1, the compiler did not even warn about it, but it was liable to output bad code. Newer egcs are pickier and simply refuse to swallow such code.
* Die, NEWCONFIGniklas1999-01-071-4/+1
|
* $OpenBSD$niklas1997-11-071-0/+2
|
* added const to second parameter of cfprint_t routineskstailey1996-11-231-2/+2
|
* verbosity during probe is dumbderaadt1996-05-271-1/+1
|
* sync 0521deraadt1996-05-261-0/+1
|
* sync with 0504 -- prototypes and bus.hderaadt1996-05-071-3/+7
|
* partial sync with netbsd 960418, more to comederaadt1996-04-211-6/+10
|
* Fix back wrong patches.mickey1996-03-201-1/+1
|
* Merging w/ NetBSD 021796.mickey1996-03-191-1/+1
| | | | | speaker upgraded to the current. some changes to the VM stuff (ie kern_thread.c added and so).
* Pass device name to interrupt establish routines so it can be recorded intholo1996-02-201-1/+1
| | | | | | | | | the device interrupt chain structures (isa, pci) Move interrupt chain structure definition to <machine/psl.h> so vmstat can get at it (i386) Remove hack to count interrupts the old way (i386)
* from netbsd:deraadt1995-12-271-2/+2
| | | | | The IST_* and IPL_* constants are not bus-specific; don't treat them as such. Change splimp -> splnet in Ethernet, ARCnet, and FDDI drivers.
* initial import of NetBSD treederaadt1995-10-181-0/+1433