| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
| |
ok tedu
|
| |
|
|
|
|
| |
NetBSD
|
|
|
|
|
|
| |
one bad case of use-after-free after a hell lot of heavy I/O creeping in again
in this driver. This doesn't fix it but will hopefully help me diagnose once
it occurs again.
|
|
|
|
|
|
|
|
| |
step in elminating 'struct scsi_device' entirely.
Spotted and initial diff from matthew@.
ok matthew@ dlg@ deraadt@ marco@ miod@
|
|
|
|
|
| |
original diff corrected by miod@
tested by and ok miod@
|
|
|
|
|
|
|
| |
low-hanging splbio/splx pairs that are no longer needed and see if
this reveals any hidden scsi flaws.
ok dlg@
|
|
|
|
| |
ok krw@
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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@
|
|
|
|
|
|
| |
in the drivers just before calling scsi_done().
ok dlg@ beck@
|
|
|
|
| |
ok krw@ miod@
|
|
|
|
|
|
|
|
|
|
| |
With the current code, a fast command could complete between splx and
the timeout being triggered, we'd then happily return COMPLETE, reuse
the scsi_xfer, schedule the timeout again, causing a nice cycle in the
timeout wheels.
(I know, I know, I have to inspect all other scsi drivers now, but I'm
really tired after spending three hours on this)
|
|
|
|
|
|
| |
as additional argument. This will allow intermediate layers between
scsi devices such as sd and scsi host adapters to take appropriate
action if necessary.
|
|
|
|
|
|
| |
No functional changes.
ok krw@ miod@
|
|
|
|
| |
"I'm all for it." marco@ "Yeah" deraadt@
|
|
|
|
|
|
| |
commented out, remove it. Unifdef TFS while there.
ok marco@ krw@
|
|
|
|
|
|
| |
information.
ok deraadt@
|
|
|
|
| |
ok dlg@
|
|
|
|
| |
COMPLETE and never SUCCESSFULLY_QUEUED.
|
| |
|
|
|
|
|
|
|
| |
osiop0: osiop_select while connected?
in loops. Before returning from the interrupt handler, whack the chip.
Unfortunately, this causes the few i/o which were queued to time out,
but this is better than spinning and eventually panicing.
|
|
|
|
|
| |
Fixes PRs 5482, 5483, 5484, 5486, 5487, 5488
Filed by casati@nortel.com
|
|
|
|
| |
ok miod@ marco@ deraadt@
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
| |
``can't happen'' situations (which happen sometimes on mvme88k), rather
than inadvertently dereference NULL pointers and panic.
|
| |
|
|
|
|
| |
no change in compiler assembly output.
|
| |
|
| |
|
|
|
|
|
|
| |
tested on alpha, i386, powerpc, sparc64, m68k.
ok miod@
|
|
|
|
|
|
|
|
| |
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
|
| |
|
| |
|
| |
|
|
|
|
| |
rescinded 22 July 1999. Proofed by myself and Theo.
|
|
|
|
|
|
|
|
| |
where required and modify existing ones to use a consistant delay(25).
From NetBSD with minor mods.
ok mickey@.
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
Fix an indent problem and an extra blank space.
ok mickey@
|
|
|
|
|
|
|
|
|
| |
First, the only way to get there was if the timeout fired, in which
case timeout_del() is a noop. Second, it will be called in
osiop_scsidone() for every active command when osiop_reset() is called
in osiop_timeout().
From mickey@
|
|
|
|
|
|
| |
Eliminate a couple of unused debug defines and variables.
ok mickey@
|
|
|
|
| |
From mickey@
|
|
|
|
|
|
|
|
|
|
|
| |
Fix setting of data buffer length when doing auto request sense.
Add a little general paranoia about setting data buffer length.
Eliminate $ifdef'ed field in acb structure, leaving diagnostic code
using it #ifdef'ed.
Mostly suggested by and ok mickey@.
|
|
|
|
|
|
|
|
|
| |
In particular fix dma memory handling and as a result request sense
processing.
Much input/advice/testing from Mickey.
ok mickey@
|
| |
|
| |
|
|
First cut at osiop driver (LSI Logic/Symbios/NCR 53C710). For hppa
only at the moment.
Functional for the most part, but there are known problems:
1) SCSI_CHECK/REQUEST_SENSE not handled at all - simply returns a
zero'ed scsi_sense_data buffer. As a result all osiop sc_link's are
created with the ADEV_NODOORLOCK quirk to suppress PREVENT_ALLOW
commands from being issued (and failing) during probe.
2) Sync negotiation (wide is not supported on this chip) needs to be
validated due to some ominous comments in the source about being valid
only for the 33Mhz Zeus board.
3) Probe message needs fixing/completion to issue useful info. See 2).
4) Timeout/hangs occur under heavy load, e.g. make builds.
From NetBSD.
ok mickey@
|