741367d5a5
- 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.
20 lines
390 B
Makefile
20 lines
390 B
Makefile
# $FreeBSD$
|
|
|
|
.PATH: ${.CURDIR}/../../dev/mfi
|
|
|
|
.if ${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "amd64"
|
|
SUBDIR= mfi_linux
|
|
.endif
|
|
|
|
KMOD= mfi
|
|
SRCS= mfi.c mfi_pci.c mfi_disk.c
|
|
SRCS+= opt_mfi.h
|
|
SRCS+= device_if.h bus_if.h pci_if.h
|
|
CFLAGS+= -Wall -Werror
|
|
|
|
# To enable debug output from the driver, uncomment these two lines.
|
|
#CFLAGS+= -DMFI_DEBUG=2
|
|
#SRCS+= mfi_debug.c
|
|
|
|
.include <bsd.kmod.mk>
|