Age | Commit message (Collapse) | Author | |
---|---|---|---|
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. | |||
2009-03-11 | Rework command polling to be able to sleep if no SCSI_NOSLEEP flag | Alexander Yurchenko | |
passed. Sleep while waiting for sensors update because that's what sensors work queue for. | |||
2009-03-10 | Print scsi xfer flags in debug output. | Alexander Yurchenko | |
2009-03-10 | Rearrange physical drive state bits checking so that bioctl gets | Alexander Yurchenko | |
a correct state value. | |||
2009-03-10 | Add some more debug. | Alexander Yurchenko | |
2009-03-10 | Add ips_intrds() function to be able to disable interrupts on hardware. | Alexander Yurchenko | |
2009-03-10 | Limit registers space size to some reasonable value. | Alexander Yurchenko | |
2009-03-09 | Completely rework command processing: | Alexander Yurchenko | |
- use separate callbacks to finish scsi and raid management commands; - for raid management commands use dedicated dma-safe buffer; - remove unused run queue; The main goal of these changes is to fix a bug showing up on the lpinto's machine where READCONF command fails because it needs more than 1-page buffer and the buffer was not contiguos and controller doesn't support scatter-gather for raid management commands. | |||
2009-03-01 | Time to turn off debug by default. It shrinks ramdisk as a bonus. | Alexander Yurchenko | |
2009-03-01 | Add sensors support. | Alexander Yurchenko | |
2009-03-01 | - add missing letoh32 | Alexander Yurchenko | |
- tweak product string | |||
2009-02-19 | Don't use scsi_xfer if we don't run a command came from the scsi layer. | Alexander Yurchenko | |
2009-02-17 | - add more bioctl support, now physical drives info available | Alexander Yurchenko | |
- shrink dmesg strings | |||
2009-02-16 | Extend the scsi_adapter minphys() callback to take a struct scsi_link * | Miod Vallat | |
as additional argument. This will allow intermediate layers between scsi devices such as sd and scsi host adapters to take appropriate action if necessary. | |||
2009-02-13 | When faking scsi commands never copy more than xs->datalen bytes. | Alexander Yurchenko | |
2009-02-11 | Prettier fake scsi inquiry ascii strings. | Alexander Yurchenko | |