| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
| |
constants.
The consensus is that if both operands are constant, we don't need
mallocarray. Reminded by tedu@
ok deraadt@
|
|
|
|
| |
ok deraadt@
|
|
|
|
|
| |
Errors will result in nice clean panic messages so we know what's wrong.
Reviewed by dhill visa natano jsg.
|
| |
|
| |
|
|
|
|
| |
ok deraadt@ sthen@
|
|
|
|
| |
after discussions with beck deraadt kettenis.
|
|
|
|
|
| |
don't need to be married.
ok guenther miod beck jsing kettenis
|
|
|
|
|
|
| |
a driver stuffup.
aac is XS_NO_CCB clean now.
|
|
|
|
| |
eyes and ok by krw@ jmatthew@
|
|
|
|
| |
minphys.
|
|
|
|
| |
"private" so i dont feel bad about changing it.
|
|
|
|
| |
ok matthew guenther mikeb
|
| |
|
|
|
|
|
|
|
|
| |
present in this function, but I've been advised to walk away, and it
have been this way forever (and this code is not even enabled in GENERIC
by default anyway)
original bug found by Maxime Villard, thanks.
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
is causing problems when trying to boot sparc64 from an isp(4).
Verified to fix the sparc64/isp(4) regression by krw@; ok deraadt@
|
|
|
|
|
|
| |
saa_luns instead of adapter_buswidth and luns in the prototype link.
ok dlg@, miod@
|
|
|
|
|
|
| |
to before scsi_done(). This doesn't mean aac will ever enabled!
ok dlg@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
than 1 i/o active at once. This reduces the chances that concurrent
i/o's for such devices will confuse the device or the adapter code.
It also eliminates a reason for adapter code to maintain its own
queues.
Tweak all drivers that fake INQUIRY results to set the SID_CmdQue
flag, thus continuing to claim to be able to do tagged i/o.
Positive feedback from matthew@ and marco@ for an earlier version.
ok dlg@
|
|
|
|
|
|
| |
with gcc4. Use his diff to make it compile.
Submitted & tested by Stefan Rinkes. Thanks!
|
|
|
|
| |
ok dlg@ matthew@
|
|
|
|
|
|
|
| |
Bogus chunks pointed out by matthew@ and miod@. No cookies for
marco@ and jasper@.
ok deraadt@ miod@ matthew@ jasper@ macro@
|
|
|
|
|
|
|
|
| |
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@
|
|
|
|
| |
ok marco.
|
|
|
|
|
|
|
| |
by now, probably won't be in the future.
ok krw. "Correctski" from miod@ after I put back another chunk he wanted
to remain.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
"I'm all for it." marco@ "Yeah" deraadt@
|
| |
|
|
|
|
| |
tested by ckuethe
|
| |
|
|
|
|
|
|
| |
+ struct scsibus_attach_args saa;
OK miod@.
|
|
|
|
| |
ok miod@ marco@ deraadt@
|
| |
|
|
|
|
| |
ok krw@
|
|
|
|
|
|
|
|
| |
provides support for the Adaptec 2130S and 2230SLP adapters.
From FreeBSD
ok dlg@
|
|
|
|
| |
order reversed, wrong modifiers. ok deraadt@ marco@ mickey@
|
|
|
|
| |
ok mickey marco mbalmer niklas brad
|
|
|
|
|
|
| |
boot process. Same as done to gdt and ioprbs.
ok nate@
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- decouple the command structures from scsi structures, allowing non block
oriented commands (e.g. management commands) to be built.
- redesign the various command queues to remove race conditions and to allow
commands from multiple sources to coexist in the system
- move major processing of commands and messages to a dedicated kernel
thread to avoid spending too long in the interrupt handler
- add device data structures for various management commands to the header
file
Much code from FreeBSD
|
|
|
|
|
|
|
| |
fake a geometry. Page 4 info does not get used for size information.
Eliminate now unused union scsi_disk_pages.
ok marco@ mickey@ pre-lock.
|
|
|
|
| |
ok deraadt@
|
|
|
|
|
|
| |
compile with AAC_DEBUG set.
ok deraadt@
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
that scsi_do_mode_sense() accepts them.
The data_length value does not include itself, and the pg_length value
in a mode page does not include itself or the page_code fields. We
were +1 on the former and -2 on the latter resulting in a data_length
value that was too small by one.
Eliminates 'mode sense page 5 not simulated' messages.
ok marco@
|