summaryrefslogtreecommitdiffstats
path: root/sys/dev/mfi/mfireg.h
Commit message (Collapse)AuthorAgeFilesLines
* Update PD state firmware definitions: add copyback, system.pluknet2010-10-211-1/+3
| | | | | | Reviewed by: jhb Approved by: avg (mentor) MFC after: 1 week
* ntroduce mfiutil, a basic utility for managing LSI SAS-RAID & Dell PERC5/6scottl2009-08-131-37/+182
| | | | | | | | | | | | | | controllers. Controller, array, and drive status can be checked, basic attributes can be changed, and arrays and spares can be created and deleted. Controller firmware can also be flashed. This does not replace MegaCLI, found in ports, as that is officially sanctioned and supported by LSI and includes vastly more functionality. However, mfiutil is open source and guaranteed to provide basic functionality, which can be especially useful if you have a problem and can't get MegaCLI to work. Approved by: re Obtained from: Yahoo! Inc.
* - Fix from jhb for failing I/O request when bus_dmamap_load fails.ambrisko2008-11-121-1/+8
| | | | | | | | | | | | | | - Fix to ioctl path in which the length could be 0 which means no data in/out from LSI. - Fix to ioctl path in which the data in the sense data space of the ioctl packet is a really a pointer to some location in user-space. From LSI re-worked a bit by me. - Add HW support for next gen cards from LSI. Thanks to LSI for their support! Submitted by: jhb, LSI MFC after: 3 days
* Fix some bugs in dealing with DCMD'd without data. MegaCli was sendingambrisko2008-02-021-0/+2
| | | | | | | | | down some DCMD's without any data. Thanks to Dell and LSI for helping to provide clues to figure out this problem. Now MegaCli can upgrade the firmware and should work identical when run on Linux. Reviewed by: scottl, LSI MFC after: 1 day
* Update the MFI driver to support new "1078" series of hardware. Thisscottl2007-08-251-0/+37
| | | | | | | | includes the upcoming Dell PERC6 series. Many thanks to LSI for contributing this code. Submitted by: LSI Approved by: re
* Teach the mfi(4) driver to handle requests from userland managementjhb2007-08-131-0/+1
| | | | | | | | applications to add and remove volumes. MFC after: 1 week Approved by: re (bmah) Reviewed by: ambrisko, scottl
* Catch up to driver changes required for the mfip sub-driver.scottl2007-05-161-0/+6
|
* Some relatively minor changes and bug fixes:ambrisko2006-12-141-1/+2
| | | | | | | | | | | | | | | | | 1) s/mi/mfi/ in FreeBSD ioctl path 2) add in "\n" on various failure messages 3) cap the length of time to abort an AEN command 4) fix passing sense data back to user to make Dell's Linux firmware upgrade tool happy. 5) bump the MFI_POLL_TIMEOUT_SECS from 10s to 50s since the firmware flash command can take ~40s to return. This is some clean-up and enables RAID firmware to updated via Dell's tool. Note Dell's tool requires the updates to the Linux emulator that has been done in -current with TLS etc. I need to discuss with scottl how to better submit mfi commands to the firmware via the ioctl path so we don't do it in polled mode.
* - Add a command validator for use in debugging.scottl2006-10-161-6/+225
| | | | | | | | - Fix the locking protocol to eliminate races between normal I/O and AENs. - Various small improvements and usability tweaks. Sponsored by: IronPort Portions Submitted by: Doug Ambrisko
* Change the class from uint8_t to int8_t so people can filter on >0ambrisko2006-09-071-1/+1
| | | | events.
* Change the event log dump on initial boot to use get_event versusambrisko2006-09-071-13/+4
| | | | | | | | | AEN. This makes the boot messages cleaner. I now know how this structure works so I can implement it versus guessing. Remove the not ready type code since it is ready now. I added the time stamp/locale/class so people can parse messages better. Create a sysctl so that we can set the locale/class level.
* Instead of using scsi probes to do device discovery, use the firmwareps2006-06-201-0/+96
| | | | | | commands to grab the device listing. This resolves issues using multiple volumes, where each volume was actually internally pointing to target 0.
* Add in a bunch of things to the mfi driver:ambrisko2006-05-181-23/+194
| | | | | | | | | | | | | | | | | | | - Linux ioctl support, with the other Linux changes MegaCli will run if you mount linprocfs & linsysfs then set sysctl compat.linux.osrelease=2.6.12 or similar. This works on i386. It should work on amd64 but not well tested yet. StoreLib may or may not work. Remember to kldload mfi_linux. - Add in AEN (Async Event Notification) support so we can get messages from the firmware when something happens. Not all messages are in defined in event detail. Use event_log to try to figure out what happened. - Try to implement something like SIGIO for StoreLib. Since mrmonitor doesn't work right I can't fully test it. StoreLib works best with the rh9 base. In theory mrmonitor isn't needed due to native driver support of AEN :-) Now we can configure and monitor the RAID better. Submitted by: IronPort Systems.
* Add a driver for the new LSI MegaRAID SAS controller family. The 'MFI' namescottl2006-03-251-0/+559
is derived from the phrase 'MegaRAID Firmware Interface' used by LSI. This driver provides a block interface to logical disks on the card and a minimal management device. It is MPSAFE, INTR_FAST, and 64-bit capable. Thanks to Dell for providing hardware to test with and IronPort for sponsoring the work. Sponsored by: Dell, Ironport MFC After: 3 days
OpenPOWER on IntegriCloud