summaryrefslogtreecommitdiffstats
path: root/sys/dev/mfi/mfireg.h
diff options
context:
space:
mode:
authorambrisko <ambrisko@FreeBSD.org>2006-12-14 18:29:08 +0000
committerambrisko <ambrisko@FreeBSD.org>2006-12-14 18:29:08 +0000
commitecbd0bb16ba70864fe3e8e71a4997df88b115e33 (patch)
tree95c03d8bf98bf7cc3c25883512542eaae4d95d75 /sys/dev/mfi/mfireg.h
parent762d6693b66e0de16691f6627f55ebe4c4e93073 (diff)
downloadFreeBSD-src-ecbd0bb16ba70864fe3e8e71a4997df88b115e33.zip
FreeBSD-src-ecbd0bb16ba70864fe3e8e71a4997df88b115e33.tar.gz
Some relatively minor changes and bug fixes:
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.
Diffstat (limited to 'sys/dev/mfi/mfireg.h')
-rw-r--r--sys/dev/mfi/mfireg.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/mfi/mfireg.h b/sys/dev/mfi/mfireg.h
index d9df2c5..cb5ed39 100644
--- a/sys/dev/mfi/mfireg.h
+++ b/sys/dev/mfi/mfireg.h
@@ -279,7 +279,8 @@ typedef enum {
#define MFI_FRAME_SIZE 64
#define MFI_MBOX_SIZE 12
-#define MFI_POLL_TIMEOUT_SECS 10
+/* Firmware flashing can take 40s */
+#define MFI_POLL_TIMEOUT_SECS 50
/* Allow for speedier math calculations */
#define MFI_SECTOR_LEN 512
OpenPOWER on IntegriCloud