Age | Commit message (Collapse) | Author | |
---|---|---|---|
2011-07-17 | Backout a bunch of my SCSI commits from c2k11. At least one of these | Matthew Dempsky | |
is causing problems when trying to boot sparc64 from an isp(4). Verified to fix the sparc64/isp(4) regression by krw@; ok deraadt@ | |||
2011-07-08 | First batch of converting SCSI HBAs from setting saa_targets and | Matthew Dempsky | |
saa_luns instead of adapter_buswidth and luns in the prototype link. ok dlg@, miod@ | |||
2011-07-05 | Call bzero(&saa, sizeof(saa)) each time we use saa to attach | Matthew Dempsky | |
something. Doesn't matter right now because scsibus_attach_args only has one field and it's mandatory, but I'm planning to move some more fields from scsi_link to scsibus_attach_args+scsibus_softc. ok dlg@ | |||
2011-04-06 | move ips to iopools. its the usual drill, io between volumes is now | David Gwynne | |
scheduled better, ioctl paths are more reliable, and it removes NO_CCB. ok krw@ | |||
2010-10-12 | Force openings to 1 for devices that can't do tagged i/o, i.e. more | Kenneth R Westerback | |
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@ | |||
2010-09-20 | Use SSD_ERRCODE_CURRENT instead of magic 0x70. | Kenneth R Westerback | |
ok dlg@ matthew@ | |||
2010-07-01 | make this compile with SMALL_KERNEL | Theo de Raadt | |
2010-07-01 | Change scsibus(4)'s scsi_link array to an SLIST to save memory on | Matthew Dempsky | |
sparsely populated buses. ok dlg@, krw@ | |||
2010-06-30 | Use a SLIST for the ccb free list. | Michael Knudsen | |
ok krw | |||
2010-06-28 | Remove all adapter-specific 'struct scsi_device's. They are never used. First | Kenneth R Westerback | |
step in elminating 'struct scsi_device' entirely. Spotted and initial diff from matthew@. ok matthew@ dlg@ deraadt@ marco@ miod@ | |||
2010-06-15 | dont pass the dev_t from the scsi device drivers into the midlayer for | David Gwynne | |
ioctl requests, and dont pass the proc pointers around for any ioctl requests in scsi land at all. neither were used, so trim the fat. ok krw@ marco@ | |||
2010-05-20 | New scsi code seems to be stable. Pluck previously identified | Kenneth R Westerback | |
low-hanging splbio/splx pairs that are no longer needed and see if this reveals any hidden scsi flaws. ok dlg@ | |||
2010-04-06 | update a random sampling of drivers after the proc.h -> systm.h move | Ted Unangst | |
2010-03-23 | Change the scsi_cmd function member of scsi_adapter from int to | Kenneth R Westerback | |
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@ | |||
2010-01-09 | Zap all setting of ITSDONE in drivers that don't look at it. Nobody | Kenneth R Westerback | |
else cares so it's just noise. Drivers that actually look at ITSDONE are unchanged. ok marco@ (for his files) dlg@ beck@ | |||
2009-03-23 | Reorganize NBIO and SMALL_KERNEL handling again but this time without | Alexander Yurchenko | |
ramdisk breakage. | |||
2009-03-22 | unbreak ramdisk builds in a way i guess might work | Theo de Raadt | |
2009-03-22 | Update volume info on every bio call instead of waiting for the | Alexander Yurchenko | |
sensors task to do it. | |||
2009-03-22 | Don't show rebuild status for offline volumes. | Alexander Yurchenko | |
2009-03-22 | Put recently added bio and sensors stuff under #if NBIO > 0 and | Alexander Yurchenko | |
#ifndef SMALL_KERNEL respectively. | |||
2009-03-21 | If rebuild is active set volume state to ``rebuild''. | Alexander Yurchenko | |
2009-03-21 | Report rebuild progress only if rebuild is active. | Alexander Yurchenko | |
2009-03-21 | IPS_MAXTARGETS should be 16, not 15. | Alexander Yurchenko | |
2009-03-21 | Be smart when attaching pass-through scsibuses. Use configuration | Alexander Yurchenko | |
data to check if channel has any devices besides disks and set the actual bus width. This will speedup booting. Also remember enclosure address here instead of messing with inquiry data. | |||
2009-03-21 | Looks like the ``params'' field in the physical device description | Alexander Yurchenko | |
contains SID_TYPE. Use to to filter out non disks from the bioctl output. | |||
2009-03-20 | When calculating physical disk size use its number of sectors | Alexander Yurchenko | |
rather than chunk's. | |||
2009-03-20 | Detect unused and hot-spare drives. | Alexander Yurchenko | |
2009-03-20 | Support bio ``unused'' drives. | Alexander Yurchenko | |
2009-03-20 | Cleanup physical drive states handling. | Alexander Yurchenko | |
2009-03-20 | Fetch rebuild status only for degraded or offline volumes. | Alexander Yurchenko | |
2009-03-19 | For rebuilds use a special REBUILD command instead of a generic | Alexander Yurchenko | |
SETSTATE, for some reason it works better on lpinto's machine. | |||
2009-03-19 | For pass-through commands adjust timeout value to what controller | Alexander Yurchenko | |
supports. Make sure our timeout will be fired after controller gives up. | |||
2009-03-19 | Unify command id printing. | Alexander Yurchenko | |
2009-03-19 | Make ips_timeout to be usable not only with scsi xfers. | Alexander Yurchenko | |
2009-03-19 | Remove unused code. | Alexander Yurchenko | |
2009-03-18 | Keep softc pointer in ccb because it requires some work to correctly | Alexander Yurchenko | |
extract it from scsi_xfer in ips_timeout since link->adapter_softc may point to a per-channel structure in pass-through path. | |||
2009-03-17 | Provide both errno.h codes for the userspace tools like bioctl | Alexander Yurchenko | |
and XS_* codes for the scsi layer. | |||
2009-03-17 | Fix compilation without bio(4). | Alexander Yurchenko | |
2009-03-16 | Implement bioctl volume management: rebuild and hotspare. | Alexander Yurchenko | |
2009-03-16 | When doing pass-through calculate right xs->resid value based on | Alexander Yurchenko | |
the info hardware returnes. | |||
2009-03-16 | Don't set error on data underrun. This tiny change allowed scsi tape | Alexander Yurchenko | |
on the pass-through bus on lpinto's machine to work. | |||
2009-03-16 | Remove redundant DPRINTF from ips_morpheus_isintr. | Alexander Yurchenko | |
2009-03-16 | IPS_SCSI_PT flag not used any more. | Alexander Yurchenko | |
2009-03-15 | Cleanup error processing: | Alexander Yurchenko | |
- in ips_start_xs don't do scsi_done twice on error; - make ips_error return scsi XS_* codes rather than errno.h E* codes; - move all error reporting under debug, let upper layers to spam user. And fix a few missing byte conversions while here. | |||
2009-03-13 | Add SCSI pass-through and enclosure support. Tested on lpinto's | Alexander Yurchenko | |
machine which has safte(4). | |||
2009-03-13 | Some preparation steps for SCSI pass-through support: | Alexander Yurchenko | |
- stack command and DCDB frames along with scatter-gather list into one command block; - use structure field pointers and offsetof() instead of evil pointer arithmetics; - add DCDB definitions. No functional changes. | |||
2009-03-13 | Process command completion errors while polling, too. | Alexander Yurchenko | |
2009-03-12 | In the most common case -- array failure -- move error message under | Alexander Yurchenko | |
debug not to spam dmesg, bioctl and sysctl hw.sensors will tell you enough. | |||
2009-03-12 | Advanced error checking. | Alexander Yurchenko | |
2009-03-12 | For SYNCHRONIZE_CACHE command use the same code path as for READ/WRITE. | Alexander Yurchenko | |
This required to factor out some common scsi code. |