| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
Not built since 2006, and a mail from 2004 mentions no one having
hardware. Unsurprisingly it does not build with clang.
ok mlarkin@ krw@ deraadt@
|
|
|
|
| |
ok krw@ deraadt@
|
|
|
|
| |
ok dlg@ mpi@ bcook@ millert@ miod@
|
|
|
|
|
|
| |
cleaning up some shutdown-hook related code on the way.
(A few drivers related to sparc are still skipped at kettenis' request)
ok kettenis mlarkin, tested by many others too
|
|
|
|
|
|
|
|
|
|
|
|
| |
1. Change adapter_softc to point to a per-channel intermediary
object instead of pointing to the dpt_softc directly. This
removes dpt(4) dependency on scsibus unit numbers.
2. Fix dpt(4) to use a struct scsibus_attach_args instead of a
struct scsi_link for attaching the scsibus. (Evidently no one
has tried using dpt(4) since Nov 2006...)
ok krw@, miod@
|
|
|
|
| |
like we do in other SCSI drivers.
|
|
|
|
|
| |
ok dlg@; miod@ warns me to not hold my breath on anyone testing this
diff though...
|
| |
|
|
|
|
|
|
| |
much for them to make sense anymore.
Diff prepared with sed; no change to dpt.o on i386.
|
|
|
|
| |
ok krw
|
|
|
|
|
|
| |
even though we don't actually compile it in any configurations.
ok krw
|
|
|
|
|
|
|
|
| |
step in elminating 'struct scsi_device' entirely.
Spotted and initial diff from matthew@.
ok matthew@ dlg@ deraadt@ marco@ miod@
|
|
|
|
|
|
|
| |
low-hanging splbio/splx pairs that are no longer needed and see if
this reveals any hidden scsi flaws.
ok dlg@
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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@
|
|
|
|
|
|
|
| |
else cares so it's just noise. Drivers that actually look at ITSDONE
are unchanged.
ok marco@ (for his files) dlg@ beck@
|
|
|
|
|
|
|
|
|
|
|
| |
TRY_AGAIN_LATER uses with equivalent NO_CCB. Eliminates confusion
between the two as was always intended. buf I/O's that can't be
started get pushed back onto the front of the queue and retried.
Others get sent back to originator as failures. No more epi-cycle
looping inside the SCSI midlayer hoping the problem goes away.
Various testers, no objection from miod@ as vs(4) was tested by
nick@.
|
| |
|
|
|
|
|
|
| |
as additional argument. This will allow intermediate layers between
scsi devices such as sd and scsi host adapters to take appropriate
action if necessary.
|
|
|
|
|
|
|
| |
We can now just push unwanted ones back up into the SCSI layer
with NO_CCB like other drivers.
"Please do so" deraadt@
|
|
|
|
| |
"I'm all for it." marco@ "Yeah" deraadt@
|
|
|
|
|
|
| |
commented out, remove it. Unifdef TFS while there.
ok marco@ krw@
|
|
|
|
| |
prints it. These should be the last offenders.
|
|
|
|
|
|
|
|
|
| |
Not sure what's more surprising: how long it took for NetBSD to
catch up to the rest of the BSDs (including UCB), or the amount of
code that NetBSD has claimed for itself without attributing to the
actual authors.
OK deraadt@
|
|
|
|
| |
ok dlg@
|
|
|
|
|
| |
polling in splbio/splx. Wrap one call to dpt_done_ccb() not already at
SPLBIO.
|
| |
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
no change in compiler assembly output.
|
|
|
|
|
|
|
|
| |
Tom: I did not commit a couple of your changes.
i did not include some punctuation fixes (full stops, etc.)
mnemorable -> mnemonic: i decided memorable was probably better
instrunctions -> instruction: i kept the plural
|
| |
|
|
|
|
|
|
| |
Started by a commit to siop from provos@netbsd.org.
ok miod@ millert@
|
| |
|
|
|
|
|
| |
Most work by Wilbern Cobb <vedge@csoft.org> with some fixes from me, mickey@
and drahn@.
|
|
|
|
|
| |
this is tested on SmartRAID IV and consistant w/
what netbsd does.
|
|
|
|
| |
Uncovered by gcc 3.0, since the bad code does have unpredictable behavior.
|
| |
|
|
driver to OpenBSD.
|