summaryrefslogtreecommitdiffstats
path: root/sys/dev/twe
Commit message (Collapse)AuthorAgeFilesLines
* Minor updates:msmith2001-05-075-30/+47
| | | | | | | | - Rework of twe_report_request to use the command status value rather than the flags register. (Joel Jacobson @ 3ware) - Update to match some changes in -current vs. stable. MFC in: 1 week
* Make the disk mini-layer check for and handle zero-length transfersphk2001-05-061-8/+0
| | | | instead of the underlying drivers.
* Last commit was broken.. It always prints '[CTRL-C to abort]'.ps2001-03-281-12/+2
| | | | | | | Move duplicate code for printing the status of the dump and checking for abort into a separate function. Pointy hat to: me
* Change the dump routines to only abort if control-c is pressed.ps2001-03-271-1/+3
| | | | | | | If any other key is pressed, print a message stating that control-c is how to abort. Reviewed by: peter
* Turn on interrupt-entropy harvesting for all/any mass storage devicesmarkm2001-03-011-1/+1
| | | | | | | I could find. I have no doubt missed a couple. Interrupt entropy harvesting is still conditional on the kern.random.sys.harvest_interrupt sysctl.
* Typo fix; use & to test for bits set in the status register.msmith2001-02-261-1/+1
| | | | Submitted by: Joel Jacobson <jake@3ware.com>
* Remove a prototype for an unused and undefined debugging function.jhb2001-01-231-1/+0
|
* - add support for crashdumps (courtesy of ps and Y!)msmith2000-12-033-185/+273
| | | | | | | - standardise error reporting for commands - simplify the driver-to-controller bio transfer - add bio in/out accounting - correctly preserve the command ID in twe_ioctl (thanks to joel@3ware)
* If we can't get a command to back the bio we just took off the queue,msmith2000-11-031-1/+3
| | | | | put the bio back, otherwise we'll drop it when we bail. This was causing bio lossage under load, leading to eventual system lockup.
* Add PCI device ID for an upcoming revision of the product.msmith2000-10-272-1/+3
|
* Add a missing newline to a diagnostic.msmith2000-10-271-1/+1
|
* Major update to the 'twe' driver.msmith2000-10-258-1413/+2708
| | | | | | | | | | | | | | | | | | | | | | | | | - Layout reorganisation to enhance portability. The driver now has a relatively MI 'core' and a FreeBSD-specific layer over the top. Since the NetBSD people have already done their own port, this is largely just to help me with the BSD/OS port. - Request ID allocation changed to improve performance (I'd been considering switching to this approach after having failed to come up with a better way to dynamically allocate request IDs, and seeing Andy Doran use it in the NetBSD port of the driver convinced me that I was wasting my time doing it any other way). Now we just allocate all the requests up front. - Maximum request count bumped back to 255 after characterisation of a firmware issue (off-by-one causing it to crash with 256 outstanding commands). - Control interface implemented. This allows 3ware's '3dm' utility to talk to the controller. 3dm will be available from 3ware shortly. - Controller soft-reset feature added; if the controller signals a firmware or protocol error, the controller will be reset and all outstanding commands will be retried.
* Remove unneeded #include <machine/clock.h>phk2000-10-152-2/+0
|
* Reduce the number of outstanding commands we will send to the controllermsmith2000-10-121-1/+1
| | | | | to 50. This has been reported to avoid the problems that many users have been experiencing with crashing the card firmware during rebuilds.
* Remove some confusing verbosity - we have no idea what RAID level themsmith2000-07-201-18/+3
| | | | drive is at, so don't print the 'unknown' value, just say nothing.
* Initial import of a driver for the 3ware Escalade family of ATA RAIDmsmith2000-05-244-0/+2592
controllers.
OpenPOWER on IntegriCloud