aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/twa
Commit message (Collapse)AuthorAgeFilesLines
...
* Normalize a significant number of kernel malloc type names:Robert Watson2005-10-311-1/+1
| | | | | | | | | | | | | | | | | | | | | | - Prefer '_' to ' ', as it results in more easily parsed results in memory monitoring tools such as vmstat. - Remove punctuation that is incompatible with using memory type names as file names, such as '/' characters. - Disambiguate some collisions by adding subsystem prefixes to some memory types. - Generally prefer lower case to upper case. - If the same type is defined in multiple architecture directories, attempt to use the same name in additional cases. Not all instances were caught in this change, so more work is required to finish this conversion. Similar changes are required for UMA zone names. Notes: svn path=/head/; revision=151897
* Don't pollute the entire kernel build with -I$S/dev/twa.David E. O'Brien2005-09-115-12/+12
| | | | Notes: svn path=/head/; revision=149968
* Acquire Giant before making some CAM calls that need Giant to be held.Vinod Kashyap2005-06-112-1/+5
| | | | Notes: svn path=/head/; revision=147285
* Make call to tw_cl_deferred_interrupt in twa_poll, not dependent on theVinod Kashyap2005-04-291-2/+12
| | | | | | | return value from tw_cl_interrupt. Notes: svn path=/head/; revision=145688
* The latest release of the FreeBSD driver (twa) forVinod Kashyap2005-04-1227-31878/+36425
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 3ware's 9xxx series controllers. This corresponds to the 9.2 release (for FreeBSD 5.2.1) on the 3ware website. Highlights of this release are: 1. The driver has been re-architected to use a "Common Layer" (all tw_cl* files), which is a consolidation of all OS-independent parts of the driver. The FreeBSD OS specific portions of the driver go into an "OS Layer" (all tw_osl* files). This re-architecture is to achieve better maintainability, consistency of behavior across OS's, and better portability to new OS's (drivers for new OS's can be written by just adding an OS Layer that's specific to the OS, by complying to a "Common Layer Programming Interface" API. 2. The driver takes advantage of multiple processors. 3. The driver has a new firmware image bundled, the new features of which include Online Capacity Expansion and multi-lun support, among others. More details about 3ware's 9.2 release can be found here: http://www.3ware.com/download/Escalade9000Series/9.2/9.2_Release_Notes_Web.pdf Since the Common Layer is used across OS's, the FreeBSD specific include path for header files (/sys/dev/twa) is not part of the #include pre-processor directive in any of the source files. For being able to integrate twa into the kernel despite this, Makefile.<arch> has been changed to add the include path to CFLAGS. Reviewed by: scottl Notes: svn path=/head/; revision=144966
* check copyin+copyout return values when processing TWA_IOCTL_GET_LOCKSam Leffler2005-03-271-4/+6
| | | | | | | Noticed by: Coverity Prevent analysis tool Notes: svn path=/head/; revision=144169
* Kill MAJOR_AUTOPoul-Henning Kamp2005-03-171-2/+0
| | | | Notes: svn path=/head/; revision=143748
* Use the correct flags for bus_dma_tag_create().Scott Long2005-03-061-2/+2
| | | | Notes: svn path=/head/; revision=143189
* Use BUS_PROBE_DEFAULT in preference to 0. Also for vx, returnWarner Losh2005-03-011-1/+1
| | | | | | | | BUS_PROBE_LOW_PRIORITY in stead of ifdef for devices that xl and vx both support so that xl will snarf them on up. Notes: svn path=/head/; revision=142880
* Bumped up the driver version, following recent changes.Vinod Kashyap2005-02-121-1/+1
| | | | Notes: svn path=/head/; revision=141709
* 1. Revert back to the way the older driver handled XPT_PATH_INQ. This seems toVinod Kashyap2005-02-103-7/+7
| | | | | | | | | | | | fix the problem with device discovery seen by some people. 2. Change to make 3ware CLI/3DM work on amd64. 3. Fix a potential problem that could cause the driver to do strlen(NULL) when using older firmware. Reviewed by:scottl Notes: svn path=/head/; revision=141662
* Changes corresponding to the 9.1.5.2 release of twa on the 3ware website.Vinod Kashyap2005-01-058-19447/+22110
| | | | | | | | | | | | | | | The main changes are: 1. Use of multiple bus dma tags. 2. Timing of CAM requests by the driver. 3, Firmware interface change relating to retrieving AEN's. 4. Removal of twa_intrhook. 5. Bundling of latest firmware with BBU capability. Reviewed by:re Approved by:re Notes: svn path=/head/; revision=139723
* Changes to make twa work on amd64.Vinod Kashyap2004-08-182-2/+2
| | | | | | | | Reviewed by:re Approved by:re Notes: svn path=/head/; revision=133963
* Fix a typo that made the busdma tag have a 0 highaddr. This driver heavilyScott Long2004-06-241-1/+1
| | | | | | | abuses busdma in other ways, and those will likely be fixed another day. Notes: svn path=/head/; revision=131071
* Do the dreaded s/dev_t/struct cdev */Poul-Henning Kamp2004-06-162-5/+5
| | | | | | | Bump __FreeBSD_version accordingly. Notes: svn path=/head/; revision=130585
* Add missing <sys/module.h> includesPoul-Henning Kamp2004-05-301-0/+1
| | | | Notes: svn path=/head/; revision=129879
* Undid scottl's recent changes.Vinod Kashyap2004-05-173-2/+41
| | | | Notes: svn path=/head/; revision=129344
* Remove twa_intrhook prototype.Scott Long2004-05-151-1/+0
| | | | | | | Submitted by: cperciva Notes: svn path=/head/; revision=129265
* Set the cpi.hba_inquiry field to something useful.Scott Long2004-05-151-1/+1
| | | | Notes: svn path=/head/; revision=129262
* Remove the config_intrhook as it is not needed.Scott Long2004-05-152-39/+1
| | | | Notes: svn path=/head/; revision=129261
* Unbreak LINT on 64-bit platforms. Note that this code is not style(9)-Dag-Erling Smørgrav2004-04-023-5/+6
| | | | | | | | | | compliant, but I'll leave that for someone else. Noticed by: tinderbox Pointy hat to: the usual suspects Notes: svn path=/head/; revision=127746
* Initial check-in of the device driver for 3ware's 9000 seriesVinod Kashyap2004-03-3010-0/+29268
PATA/SATA RAID controllers. This driver is a SIM under CAM, and so, behaves like a driver for a SCSI controller. Notes: svn path=/head/; revision=127600