summaryrefslogtreecommitdiff
path: root/sys/dev/twe
Commit message (Collapse)AuthorAgeFilesLines
* Typo fix: fasion -> fashionKris Kennaway2001-07-231-1/+1
| | | | | | | | Inspired by: OpenBSD MFC After: 1 week Notes: svn path=/head/; revision=80202
* Minor updates:Mike Smith2001-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 Notes: svn path=/head/; revision=76340
* Make the disk mini-layer check for and handle zero-length transfersPoul-Henning Kamp2001-05-061-8/+0
| | | | | | | instead of the underlying drivers. Notes: svn path=/head/; revision=76324
* Last commit was broken.. It always prints '[CTRL-C to abort]'.Paul Saab2001-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 Notes: svn path=/head/; revision=74890
* Change the dump routines to only abort if control-c is pressed.Paul Saab2001-03-271-1/+3
| | | | | | | | | | If any other key is pressed, print a message stating that control-c is how to abort. Reviewed by: peter Notes: svn path=/head/; revision=74841
* Turn on interrupt-entropy harvesting for all/any mass storage devicesMark Murray2001-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. Notes: svn path=/head/; revision=73280
* Typo fix; use & to test for bits set in the status register.Mike Smith2001-02-261-1/+1
| | | | | | | Submitted by: Joel Jacobson <jake@3ware.com> Notes: svn path=/head/; revision=73104
* Remove a prototype for an unused and undefined debugging function.John Baldwin2001-01-231-1/+0
| | | | Notes: svn path=/head/; revision=71476
* - add support for crashdumps (courtesy of ps and Y!)Mike Smith2000-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) Notes: svn path=/head/; revision=69543
* If we can't get a command to back the bio we just took off the queue,Mike Smith2000-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. Notes: svn path=/head/; revision=68289
* Add PCI device ID for an upcoming revision of the product.Mike Smith2000-10-272-1/+3
| | | | Notes: svn path=/head/; revision=67684
* Add a missing newline to a diagnostic.Mike Smith2000-10-271-1/+1
| | | | Notes: svn path=/head/; revision=67683
* Major update to the 'twe' driver.Mike Smith2000-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. Notes: svn path=/head/; revision=67555
* Remove unneeded #include <machine/clock.h>Poul-Henning Kamp2000-10-152-2/+0
| | | | Notes: svn path=/head/; revision=67164
* Reduce the number of outstanding commands we will send to the controllerMike Smith2000-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. Notes: svn path=/head/; revision=66992
* Remove some confusing verbosity - we have no idea what RAID level theMike Smith2000-07-201-18/+3
| | | | | | | drive is at, so don't print the 'unknown' value, just say nothing. Notes: svn path=/head/; revision=63589
* Initial import of a driver for the 3ware Escalade family of ATA RAIDMike Smith2000-05-244-0/+2592
controllers. Notes: svn path=/head/; revision=60894