summaryrefslogtreecommitdiffstats
path: root/sys/conf
diff options
context:
space:
mode:
authorambrisko <ambrisko@FreeBSD.org>2006-05-18 23:30:48 +0000
committerambrisko <ambrisko@FreeBSD.org>2006-05-18 23:30:48 +0000
commit2f056812a1392832771de5b0dfbef07c6cd58edf (patch)
treebdf34234b5c8fd48d8bf0f3e68fb6a04622e7227 /sys/conf
parent0c235a1ed089c04da60996b550032ddc98d5d410 (diff)
downloadFreeBSD-src-2f056812a1392832771de5b0dfbef07c6cd58edf.zip
FreeBSD-src-2f056812a1392832771de5b0dfbef07c6cd58edf.tar.gz
Add in a bunch of things to the mfi driver:
- 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.
Diffstat (limited to 'sys/conf')
-rw-r--r--sys/conf/files1
-rw-r--r--sys/conf/files.amd641
-rw-r--r--sys/conf/options1
3 files changed, 3 insertions, 0 deletions
diff --git a/sys/conf/files b/sys/conf/files
index 4af858c..12f2abf 100644
--- a/sys/conf/files
+++ b/sys/conf/files
@@ -699,6 +699,7 @@ dev/mem/memdev.c optional mem
dev/mfi/mfi.c optional mfi
dev/mfi/mfi_pci.c optional mfi pci
dev/mfi/mfi_disk.c optional mfi
+dev/mfi/mfi_linux.c optional mfi compat_linux
dev/mii/acphy.c optional miibus | acphy
dev/mii/amphy.c optional miibus | amphy
dev/mii/bmtphy.c optional miibus | bmtphy
diff --git a/sys/conf/files.amd64 b/sys/conf/files.amd64
index 9b84166..2baf78c 100644
--- a/sys/conf/files.amd64
+++ b/sys/conf/files.amd64
@@ -242,6 +242,7 @@ compat/linux/linux_sysctl.c optional compat_linux32
compat/linux/linux_uid16.c optional compat_linux32
compat/linux/linux_util.c optional compat_linux32
dev/amr/amr_linux.c optional compat_linux32 amr
+dev/mfi/mfi_linux.c optional compat_linux32 mfi
#
# Windows NDIS driver support
#
diff --git a/sys/conf/options b/sys/conf/options
index 76e8d3a..b86dacf 100644
--- a/sys/conf/options
+++ b/sys/conf/options
@@ -116,6 +116,7 @@ MAC_TEST opt_dontuse.h
MD_ROOT opt_md.h
MD_ROOT_SIZE opt_md.h
MFI_DEBUG opt_mfi.h
+MFI_DECODE_LOG opt_mfi.h
MPROF_BUFFERS opt_mprof.h
MPROF_HASH_SIZE opt_mprof.h
MUTEX_WAKE_ALL
OpenPOWER on IntegriCloud