Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | When calculating physical disk size use its number of sectors | 2009-03-20 | 1 | -2/+2 | ||
| | | | | rather than chunk's. | |||||
* | Detect unused and hot-spare drives. | 2009-03-20 | 1 | -12/+44 | ||
| | ||||||
* | Support bio ``unused'' drives. | 2009-03-20 | 1 | -1/+2 | ||
| | ||||||
* | Cleanup physical drive states handling. | 2009-03-20 | 1 | -12/+15 | ||
| | ||||||
* | Fetch rebuild status only for degraded or offline volumes. | 2009-03-20 | 1 | -7/+16 | ||
| | ||||||
* | For rebuilds use a special REBUILD command instead of a generic | 2009-03-19 | 1 | -3/+31 | ||
| | | | | SETSTATE, for some reason it works better on lpinto's machine. | |||||
* | For pass-through commands adjust timeout value to what controller | 2009-03-19 | 1 | -4/+14 | ||
| | | | | | supports. Make sure our timeout will be fired after controller gives up. | |||||
* | Unify command id printing. | 2009-03-19 | 1 | -4/+5 | ||
| | ||||||
* | Make ips_timeout to be usable not only with scsi xfers. | 2009-03-19 | 1 | -13/+13 | ||
| | ||||||
* | Remove unused code. | 2009-03-19 | 1 | -65/+1 | ||
| | ||||||
* | Keep softc pointer in ccb because it requires some work to correctly | 2009-03-18 | 1 | -2/+4 | ||
| | | | | | extract it from scsi_xfer in ips_timeout since link->adapter_softc may point to a per-channel structure in pass-through path. | |||||
* | Provide both errno.h codes for the userspace tools like bioctl | 2009-03-17 | 1 | -21/+52 | ||
| | | | | and XS_* codes for the scsi layer. | |||||
* | Fix compilation without bio(4). | 2009-03-17 | 1 | -1/+5 | ||
| | ||||||
* | Implement bioctl volume management: rebuild and hotspare. | 2009-03-16 | 1 | -5/+109 | ||
| | ||||||
* | When doing pass-through calculate right xs->resid value based on | 2009-03-16 | 1 | -4/+7 | ||
| | | | | the info hardware returnes. | |||||
* | Don't set error on data underrun. This tiny change allowed scsi tape | 2009-03-16 | 1 | -1/+7 | ||
| | | | | on the pass-through bus on lpinto's machine to work. | |||||
* | Remove redundant DPRINTF from ips_morpheus_isintr. | 2009-03-16 | 1 | -7/+3 | ||
| | ||||||
* | IPS_SCSI_PT flag not used any more. | 2009-03-16 | 1 | -3/+1 | ||
| | ||||||
* | Cleanup error processing: | 2009-03-15 | 1 | -102/+96 | ||
| | | | | | | | | - 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. | |||||
* | Add SCSI pass-through and enclosure support. Tested on lpinto's | 2009-03-13 | 1 | -3/+214 | ||
| | | | | machine which has safte(4). | |||||
* | Some preparation steps for SCSI pass-through support: | 2009-03-13 | 1 | -32/+64 | ||
| | | | | | | | | | | - 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. | |||||
* | Process command completion errors while polling, too. | 2009-03-13 | 1 | -18/+22 | ||
| | ||||||
* | In the most common case -- array failure -- move error message under | 2009-03-12 | 1 | -1/+7 | ||
| | | | | | debug not to spam dmesg, bioctl and sysctl hw.sensors will tell you enough. | |||||
* | Advanced error checking. | 2009-03-12 | 1 | -21/+78 | ||
| | ||||||
* | For SYNCHRONIZE_CACHE command use the same code path as for READ/WRITE. | 2009-03-12 | 1 | -65/+61 | ||
| | | | | This required to factor out some common scsi code. | |||||
* | Rework command polling to be able to sleep if no SCSI_NOSLEEP flag | 2009-03-11 | 1 | -134/+156 | ||
| | | | | | passed. Sleep while waiting for sensors update because that's what sensors work queue for. | |||||
* | Print scsi xfer flags in debug output. | 2009-03-10 | 1 | -3/+3 | ||
| | ||||||
* | Rearrange physical drive state bits checking so that bioctl gets | 2009-03-10 | 1 | -5/+5 | ||
| | | | | a correct state value. | |||||
* | Add some more debug. | 2009-03-10 | 1 | -2/+25 | ||
| | ||||||
* | Add ips_intrds() function to be able to disable interrupts on hardware. | 2009-03-10 | 1 | -1/+23 | ||
| | ||||||
* | Limit registers space size to some reasonable value. | 2009-03-10 | 1 | -2/+4 | ||
| | ||||||
* | Completely rework command processing: | 2009-03-09 | 1 | -218/+342 | ||
| | | | | | | | | | | | - 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. | |||||
* | Time to turn off debug by default. It shrinks ramdisk as a bonus. | 2009-03-01 | 1 | -3/+1 | ||
| | ||||||
* | Add sensors support. | 2009-03-01 | 1 | -1/+71 | ||
| | ||||||
* | - add missing letoh32 | 2009-03-01 | 1 | -3/+3 | ||
| | | | | - tweak product string | |||||
* | Don't use scsi_xfer if we don't run a command came from the scsi layer. | 2009-02-19 | 1 | -4/+9 | ||
| | ||||||
* | - add more bioctl support, now physical drives info available | 2009-02-17 | 1 | -54/+164 | ||
| | | | | - shrink dmesg strings | |||||
* | Extend the scsi_adapter minphys() callback to take a struct scsi_link * | 2009-02-16 | 1 | -2/+2 | ||
| | | | | | | as additional argument. This will allow intermediate layers between scsi devices such as sd and scsi host adapters to take appropriate action if necessary. | |||||
* | When faking scsi commands never copy more than xs->datalen bytes. | 2009-02-13 | 1 | -21/+21 | ||
| | ||||||
* | Prettier fake scsi inquiry ascii strings. | 2009-02-11 | 1 | -4/+4 | ||
| | ||||||
* | Add a few missing byteorder conversion calls, tho I don't really | 2009-02-11 | 1 | -6/+6 | ||
| | | | | | hope ips is usable on anything beside amd64 or i386 because of its x86 BIOS. | |||||
* | Add missing copperhead chipset support bits. | 2009-02-10 | 1 | -15/+67 | ||
| | ||||||
* | Update copyright year. | 2009-02-10 | 1 | -2/+2 | ||
| | ||||||
* | Improve adapter type displaying. | 2009-02-09 | 1 | -15/+63 | ||
| | ||||||
* | Start on bioctl support for ips. Only adapter and volume info for now. | 2009-02-09 | 1 | -2/+111 | ||
| | ||||||
* | Protect ips_poll call with splbio. | 2009-02-09 | 1 | -2/+4 | ||
| | ||||||
* | Lower debug level back, looks like i've found that data corruption bug. | 2009-02-08 | 1 | -2/+2 | ||
| | ||||||
* | Put back bzero'ing cmd structure before filling it in which was lost | 2009-02-08 | 1 | -1/+2 | ||
| | | | | during driver rewritting at h2k7. | |||||
* | Temporary enable full debug to make it easier to commit diffs. | 2009-02-08 | 1 | -2/+2 | ||
| | ||||||
* | ips is not a real scsi controller and not supposed to talk directly to | 2009-02-08 | 1 | -2/+4 | ||
| | | | | | various flacky scsi hardware (at least until passthrough implemented). So reduce huge default scsibus timeout values to somewhat reasonable. |