Age | Commit message (Collapse) | Author |
|
and update atascsi(4) to make use of it. (Other HBAs will be updated
post-release.) Should allow for use of SATA drives with >2^32 LBAs.
ok deraadt@, dlg@, krw@
|
|
of a separate struct which the ioh struct includes for no good reason
anymore. just put the vars directly in the ioh.
this removes this useless abstraction.
ok krw@ matthew@
|
|
confusion. Fixes at least my usb DVD reader and The Blue Tick.
|
|
scsi_inquire_vpd(). scsi_inquire_vpd() oddness noted by jsg@ after
report of macppc problems by kili@.
|
|
Symptoms noted by oga@. actual bug spotted by dlg@
|
|
initialization strategy, rather than pretending to do user reference
counting. Previously, we would re-initialize the SCSI pool(9)s, which
had the fun consequence of causing sysctl(kern.pool.npools) to
infinite loop at IPL_VM.
ok krw@
|
|
-Wuninitialized.
Silly typo in my first diff noticed by oga@ and krw@; ok krw@
|
|
|
|
set st->media_fileno and st->media_blkno before returning. Not sure
if this is needed or even really correct, but it's an unintentional
behavior change due to removing scsi_scsi_cmd().
ok dlg@
|
|
with UMASS devices. Fixes scsi_scsi_cmd() removal regression.
ok dlg@
|
|
which should never happen anyway. Fixes scsi_scsi_cmd() removal
regression.
ok dlg@
|
|
regression from scsi_scsi_cmd() removal.
ok dlg@
|
|
dvd_auth command. Fixes regression from scsi_scsi_cmd() removal.
ok dlg@
|
|
last bastardized sync and buf call through scsi_scsi_cmd(). Flatten
code to call scsi_xs_sync() directly for all commands.
Airplane typos shaken out by various.
ok dlg@ matthew@ deraadt@
|
|
ok dlg@
|
|
|
|
ok claudio@
|
|
bytes worth of data. Also, pass M_CANFAIL to malloc(9) and handle
allocation failures by returning ENOMEM.
Prevents user space from causing a kernel panic by passing
ridiculously large datalen values.
ok dlg@, krw@
|
|
Enthusiastic huzzahs from many.
"A great day" dlg@
|
|
wasn't ok deraadt & dlg.
|
|
Tested by lots of people during c2k10
ok phessler krw thib
|
|
flags which I perpetrated when I paid insufficient attention to
dlg@'s original diff.
Belatedly tested by marco@ and myself. Bad marco@. Bad krw@.
ok marco@
|
|
General huzzahs.
"go for it" deraadt@
|
|
that get XS_NO_CCB until retry limit exceeded. On to getting rid
of XS_NO_CCB.
ok matthew@ "so be it" dlg@
|
|
click upon suspend that my laptop with ahci(4) has.
ok dlg@, ok marco@ on an earlier iteration of this diff
|
|
the READ CAPACITY(10) values already retrieved. Creates the possibility
to look at other interesting READ CAPACITY(16) data for future
consideration.
ok matthew@ marco@ deraadt@
|
|
really).
|
|
matthew@ who won't be home until late.
ok matthew@ & tedu@.
|
|
stack and malloc/free them instead. First stirrings of the tide of
de-stacking to come.
Feedback, fixes and ok matthew@ & tedu@.
|
|
everyone else when SCSIDEBUG is set.
|
|
to interpret sense errors. This is initialized to the basic
interpretation routine, and specific scsi drivers (sd/st/cd) can
replace this with their own. While here kill EJUSTRETURN dance and
make more specialized interpretation routines directly call the
basic routine if desired.
Fixes by matthew@ to my first diff. Most original work by dlg@.
ok matthew@ marco@ dlg@
|
|
sparsely populated buses.
ok dlg@, krw@
|
|
uninitialized memory to user space or devices.
ok deraadt@, dlg@
|
|
ok miod@, krw@
|
|
they are supposed to do, or be silent.
ok mlarkin
|
|
ok krw@, marco@
|
|
to better handle detaching.
ok deraadt@
|
|
always explicitly sets bp->b_resid before calling biodone(), so these
are unneeded.
ok krw@
|
|
with sd/cd/st.
largely a mechanical change, untested due to a complete lack of hardware
anywhere.
ok krw@ matthew@
|
|
to 18 bytes by removing the extra_bytes field. sbic.c was the only
consumer, and that was in a DEBUG message.
18 bytes is the minimum length mandated by the SCSI spec. Anything
more is vendor/device specific information.
This fixes a usb key that yuo@ had, and probably others.
Any device that decides to pay attention to extra sense data must
allocate its own space.
ok marco@ matthew@ miod@ yuo@
|
|
default disk-sorting one.
ok krw@
|
|
step in elminating 'struct scsi_device' entirely.
Spotted and initial diff from matthew@.
ok matthew@ dlg@ deraadt@ marco@ miod@
|
|
|
|
disk is now ready to handle I/O.
ok krw@ dlg@
|
|
in any meaningful way, so just get rid of it.
ok krw@, dlg@
|
|
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@
|
|
line with sd/cd/st.
|
|
same changes in cd and sd.
tested by and ok krw@
|
|
SCSI_NOSLEEP flag on the xs when setting extra flags by oring them in
rather than assigning them.
from matthew dempsky
|
|
NULL'ness of the pointer to the actual page data. Fixes a NULL deref
when trying to set caching on my ASUS eeePC 1000HE's SD slot.
ok dlg@
|