aboutsummaryrefslogtreecommitdiff
path: root/sys/sys/aac_ioctl.h
Commit message (Collapse)AuthorAgeFilesLines
* Fix FSACTL_GET_NEXT_ADAPTER_FIB under 32-bit compat.Brooks Davis2018-03-141-0/+8
| | | | | | | | | | | | | This includes FSACTL_LNX_GET_NEXT_ADAPTER_FIB. Reviewed by: cem Obtained from: CheriBSD MFC after: 1 week Sponsored by: DARPA, AFRL Differential Revision: https://reviews.freebsd.org/D14672 Notes: svn path=/head/; revision=330949
* sys/sys: further adoption of SPDX licensing ID tags.Pedro F. Giffuni2017-11-271-0/+2
| | | | | | | | | | | | | | | Mainly focus on files that use BSD 2-Clause license, however the tool I was using misidentified many licenses so this was mostly a manual - error prone - task. The Software Package Data Exchange (SPDX) group provides a specification to make it easier for automated tools to detect and summarize well known opensource licenses. We are gradually adopting the specification, noting that the tags are considered only advisory and do not, in any way, superceed or replace the license texts. Notes: svn path=/head/; revision=326256
* Fix typos - remove duplicate "the".Rebecca Cran2011-02-211-1/+1
| | | | | | | | | PR: bin/154928 Submitted by: Eitan Adler <lists at eitanadler.com> MFC after: 3 days Notes: svn path=/head/; revision=218909
* Add additional featuresState.fBits entries to simplify compiling andEd Maste2009-10-291-1/+4
| | | | | | | | | testing Adaptec's vendor driver. Submitted by: Adaptec, driver 17517 Notes: svn path=/head/; revision=198619
* Implement FSACTL_LNX_GET_FEATURES and FSACTL_GET_FEATURES ioctls. RAIDEd Maste2008-03-281-0/+20
| | | | | | | | | tools (e.g. arcconf) need this to be able to create arrays larger than 2TB. Submitted by: Adaptec, via driver build 15317 Notes: svn path=/head/; revision=177695
* Add ioctls FSACTL_SEND_LARGE_FIB, FSACTL_SEND_RAW_SRB,Ed Maste2008-03-201-0/+6
| | | | | | | | | | | FSACTL_LNX_SEND_LARGE_FIB, and FSACTL_LNX_SEND_RAW_SRB, and correct size checks on FIBs passed in from userspace. Both changes were obtained from Adaptec's driver build 15317. Adaptec's commandline RAID tool arcconf uses these ioctls when creating a RAID-10 array (and probably other operations too). Notes: svn path=/head/; revision=177462
* Do some small cleanups to comments and remove AACQ_COMPLETE definitions sinceScott Long2004-02-071-2/+1
| | | | | | | the completion queue is long-gone. Notes: svn path=/head/; revision=125574
* Add an #ifdef _KERNEL so that this file can be used from userland.Scott Long2004-02-071-1/+2
| | | | Notes: svn path=/head/; revision=125541
* Bring the aac driver *much* closer to style(9).Scott Long2001-09-051-21/+21
| | | | | | | Reviewed by: ken Notes: svn path=/head/; revision=83114
* Mega update to the aac driver.Scott Long2001-08-291-9/+19
| | | | | | | | | | | | | | | | | 1. Correctly handle commands initiated by the adapter. These commands are defered to a kthread responsible for their processing, then are properly returned to the controller. 2. Add/remove disk devices when notified by the card that a container was created/deleted/offline. 3. Implement crashdump functionality. 4. Support all ioctls needed for the management CLI to work. The linux version of this app can be found at the Dell or HP website. A native version will be forthcoming. MFC-after: 4.4-RELEASE Notes: svn path=/head/; revision=82527
* Make AAC_COMPAT_LINUX optional once again.Scott Long2001-08-061-4/+0
| | | | | | | Submitted by: julian Notes: svn path=/head/; revision=81216
* Put the linux compat ioctl interface on death row. Add FreeBSDScott Long2001-08-061-7/+69
| | | | | | | | | | definitions of all of the ioctls, plus round out all ioctl definitions to match what exists for linux. Allow ioctls to be called through either the native or linux interface, though no apps exist (yet) that can take advantage of native calling. Notes: svn path=/head/; revision=81189
* Missed this one in my 80-column sweep.Scott Long2001-08-061-8/+16
| | | | Notes: svn path=/head/; revision=81188
* Major bugfix and minor update. This should resolve the current issuesMike Smith2000-12-271-0/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | with the driver locking up under load. - Restructure so that we use a static pool of commands/FIBs, rather than allocating them in clusters. The cluster allocation just made things more complicated, and allowed us to waste more memory in peak load situations. - Make queueing macros more like my other drivers. This adds queue stats for free. Add some debugging to take advantage of this. - Reimplement the periodic timeout scan. Kick the interrupt handler and the start routine every scan as well, just to be safe. Track busy commands properly. - Bring resource cleanup into line with resource allocation. We should now clean up correctly after a failed probe/unload/etc. - Try to start new commands when old ones are completed. We weren't doing this before, which could lead to deadlock when the controller was full. - Don't try to build a new command if we have found a deferred command. This could cause us to lose the deferred command. - Use diskerr() to report I/O errors. - Don't bail if the AdapterInfo structure is the wrong size. Some variation seems to be normal. We need to improve our handing of 2.x firmware sets. - Improve some comments in an attempt to try to make things clearer. - Restructure to avoid some warnings. Notes: svn path=/head/; revision=70393
* A new driver for PCI:SCSI RAID controllers based on the Adaptec FSAMike Smith2000-09-131-0/+78
design. This includes integrated Dell RAID controllers, the Dell PERC 2/QC and the HP NetRAID-4M. Notes: svn path=/head/; revision=65793