head	1.8;
access;
symbols
	RELENG_8_4:1.8.0.2
	RELENG_9_1_0_RELEASE:1.6.2.2.2.2
	RELENG_9_1:1.6.2.2.0.2
	RELENG_9_1_BP:1.6.2.2
	RELENG_8_3_0_RELEASE:1.5.10.1.8.1
	RELENG_8_3:1.5.10.1.0.8
	RELENG_8_3_BP:1.5.10.1
	RELENG_9_0_0_RELEASE:1.6.2.1.2.1
	RELENG_9_0:1.6.2.1.0.2
	RELENG_9_0_BP:1.6.2.1
	RELENG_9:1.6.0.2
	RELENG_9_BP:1.6
	RELENG_7_4_0_RELEASE:1.5.14.1
	RELENG_8_2_0_RELEASE:1.5.10.1.6.1
	RELENG_7_4:1.5.0.14
	RELENG_7_4_BP:1.5
	RELENG_8_2:1.5.10.1.0.6
	RELENG_8_2_BP:1.5.10.1
	RELENG_8_1_0_RELEASE:1.5.10.1.4.1
	RELENG_8_1:1.5.10.1.0.4
	RELENG_8_1_BP:1.5.10.1
	RELENG_7_3_0_RELEASE:1.5.12.1
	RELENG_7_3:1.5.0.12
	RELENG_7_3_BP:1.5
	RELENG_8_0_0_RELEASE:1.5.10.1.2.1
	RELENG_8_0:1.5.10.1.0.2
	RELENG_8_0_BP:1.5.10.1
	RELENG_8:1.5.0.10
	RELENG_8_BP:1.5
	RELENG_7_2_0_RELEASE:1.5.8.1
	RELENG_7_2:1.5.0.8
	RELENG_7_2_BP:1.5
	RELENG_7_1_0_RELEASE:1.5.6.1
	RELENG_6_4_0_RELEASE:1.1.2.5.4.1
	RELENG_7_1:1.5.0.6
	RELENG_7_1_BP:1.5
	RELENG_6_4:1.1.2.5.0.4
	RELENG_6_4_BP:1.1.2.5
	RELENG_7_0_0_RELEASE:1.5
	RELENG_6_3_0_RELEASE:1.1.2.5
	RELENG_7_0:1.5.0.4
	RELENG_7_0_BP:1.5
	RELENG_6_3:1.1.2.5.0.2
	RELENG_6_3_BP:1.1.2.5
	RELENG_7:1.5.0.2
	RELENG_7_BP:1.5
	RELENG_6_2_0_RELEASE:1.1.2.3
	RELENG_6_2:1.1.2.3.0.2
	RELENG_6_2_BP:1.1.2.3
	RELENG_4:1.3.0.2
	RELENG_6_1_0_RELEASE:1.1.2.1
	RELENG_6_1:1.1.2.1.0.2
	RELENG_6_1_BP:1.1.2.1
	RELENG_6:1.1.0.2;
locks; strict;
comment	@# @;


1.8
date	2012.11.17.01.52.57;	author svnexp;	state Exp;
branches
	1.8.2.1;
next	1.7;

1.7
date	2012.03.30.23.05.48;	author ambrisko;	state Exp;
branches;
next	1.6;

1.6
date	2010.08.23.06.13.29;	author imp;	state Exp;
branches
	1.6.2.1;
next	1.5;

1.5
date	2007.05.16.17.19.47;	author scottl;	state Exp;
branches
	1.5.2.1
	1.5.6.1
	1.5.8.1
	1.5.10.1
	1.5.12.1
	1.5.14.1;
next	1.4;

1.4
date	2006.09.25.11.42.12;	author scottl;	state Exp;
branches;
next	1.3;

1.3
date	2006.05.29.18.05.26;	author scottl;	state Exp;
branches
	1.3.2.1;
next	1.2;

1.2
date	2006.05.18.23.30.48;	author ambrisko;	state Exp;
branches;
next	1.1;

1.1
date	2006.03.25.06.14.32;	author scottl;	state Exp;
branches
	1.1.2.1;
next	;

1.8.2.1
date	2012.11.17.01.52.57;	author svnexp;	state dead;
branches;
next	1.8.2.2;

1.8.2.2
date	2013.03.28.13.05.21;	author svnexp;	state Exp;
branches;
next	;

1.6.2.1
date	2011.09.23.00.51.37;	author kensmith;	state Exp;
branches
	1.6.2.1.2.1;
next	1.6.2.2;

1.6.2.2
date	2012.04.18.18.31.11;	author ambrisko;	state Exp;
branches
	1.6.2.2.2.1;
next	1.6.2.3;

1.6.2.3
date	2012.11.17.11.37.17;	author svnexp;	state Exp;
branches;
next	;

1.6.2.1.2.1
date	2011.11.11.04.20.22;	author kensmith;	state Exp;
branches;
next	1.6.2.1.2.2;

1.6.2.1.2.2
date	2012.11.17.08.37.14;	author svnexp;	state Exp;
branches;
next	;

1.6.2.2.2.1
date	2012.08.05.23.54.33;	author kensmith;	state Exp;
branches;
next	1.6.2.2.2.2;

1.6.2.2.2.2
date	2012.11.17.08.48.05;	author svnexp;	state Exp;
branches;
next	;

1.5.2.1
date	2012.05.18.23.29.30;	author sbruno;	state Exp;
branches;
next	1.5.2.2;

1.5.2.2
date	2012.11.17.08.06.51;	author svnexp;	state Exp;
branches;
next	;

1.5.6.1
date	2008.11.25.02.59.29;	author kensmith;	state Exp;
branches;
next	;

1.5.8.1
date	2009.04.15.03.14.26;	author kensmith;	state Exp;
branches;
next	;

1.5.10.1
date	2009.08.03.08.13.06;	author kensmith;	state Exp;
branches
	1.5.10.1.2.1
	1.5.10.1.4.1
	1.5.10.1.6.1
	1.5.10.1.8.1;
next	1.5.10.2;

1.5.10.2
date	2012.05.18.19.48.33;	author sbruno;	state Exp;
branches;
next	1.5.10.3;

1.5.10.3
date	2012.11.17.10.36.57;	author svnexp;	state Exp;
branches;
next	;

1.5.10.1.2.1
date	2009.10.25.01.10.29;	author kensmith;	state Exp;
branches;
next	;

1.5.10.1.4.1
date	2010.06.14.02.09.06;	author kensmith;	state Exp;
branches;
next	;

1.5.10.1.6.1
date	2010.12.21.17.09.25;	author kensmith;	state Exp;
branches;
next	;

1.5.10.1.8.1
date	2012.03.03.06.15.13;	author kensmith;	state Exp;
branches;
next	1.5.10.1.8.2;

1.5.10.1.8.2
date	2012.11.17.08.25.33;	author svnexp;	state Exp;
branches;
next	;

1.5.12.1
date	2010.02.10.00.26.20;	author kensmith;	state Exp;
branches;
next	;

1.5.14.1
date	2010.12.21.17.10.29;	author kensmith;	state Exp;
branches;
next	1.5.14.2;

1.5.14.2
date	2012.11.17.08.17.27;	author svnexp;	state Exp;
branches;
next	;

1.3.2.1
date	2006.06.22.15.22.05;	author ps;	state Exp;
branches;
next	1.3.2.2;

1.3.2.2
date	2012.11.17.07.26.32;	author svnexp;	state Exp;
branches;
next	;

1.1.2.1
date	2006.04.04.03.24.49;	author scottl;	state Exp;
branches;
next	1.1.2.2;

1.1.2.2
date	2006.06.15.16.07.56;	author ambrisko;	state Exp;
branches;
next	1.1.2.3;

1.1.2.3
date	2006.10.21.05.28.50;	author scottl;	state Exp;
branches;
next	1.1.2.4;

1.1.2.4
date	2007.06.05.21.31.11;	author scottl;	state Exp;
branches;
next	1.1.2.5;

1.1.2.5
date	2007.06.05.22.54.01;	author scottl;	state Exp;
branches
	1.1.2.5.4.1;
next	1.1.2.6;

1.1.2.6
date	2012.11.17.07.44.21;	author svnexp;	state Exp;
branches;
next	;

1.1.2.5.4.1
date	2008.10.02.02.57.24;	author kensmith;	state Exp;
branches;
next	;


desc
@@


1.8
log
@Switching exporter and resync
@
text
@# $FreeBSD: head/sys/modules/mfi/Makefile 233711 2012-03-30 23:05:48Z ambrisko $

.PATH: ${.CURDIR}/../../dev/mfi

SUBDIR= mfip

.if ${MACHINE_CPUARCH} == "i386" || ${MACHINE_CPUARCH} == "amd64"
SUBDIR+= mfi_linux
.endif

KMOD=	mfi
SRCS=	mfi.c mfi_pci.c mfi_disk.c mfi_debug.c mfi_syspd.c mfi_tbolt.c
SRCS+=	opt_mfi.h opt_cam.h opt_compat.h
SRCS+=	device_if.h bus_if.h pci_if.h

#CFLAGS += -DMFI_DEBUG

.include <bsd.kmod.mk>
@


1.8.2.1
log
@file Makefile was added on branch RELENG_8_4 on 2013-03-28 13:05:21 +0000
@
text
@d1 18
@


1.8.2.2
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/248810
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
@
text
@a0 18
# $FreeBSD: releng/8.4/sys/modules/mfi/Makefile 235625 2012-05-18 19:48:33Z sbruno $

.PATH: ${.CURDIR}/../../dev/mfi

SUBDIR= mfip

.if ${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "amd64"
SUBDIR+= mfi_linux
.endif

KMOD=	mfi
SRCS=	mfi.c mfi_pci.c mfi_disk.c mfi_debug.c mfi_syspd.c mfi_tbolt.c
SRCS+=	opt_mfi.h opt_cam.h opt_compat.h
SRCS+=	device_if.h bus_if.h pci_if.h

#CFLAGS += -DMFI_DEBUG

.include <bsd.kmod.mk>
@


1.7
log
@SVN rev 233711 on 2012-03-30 23:05:48Z by ambrisko

MFhead_mfi r227068
	First cut of new HW support from LSI and merge into FreeBSD.
	Supports Drake Skinny and ThunderBolt cards.
MFhead_mfi r227574
	Style
MFhead_mfi r227579
	Use bus_addr_t instead of uintXX_t.
MFhead_mfi r227580
	MSI support
MFhead_mfi r227612
	More bus_addr_t and remove "#ifdef __amd64__".
MFhead_mfi r227905
	Improved timeout support from Scott.
MFhead_mfi r228108
	Make file.
MFhead_mfi r228208
	Fixed botched merge of Skinny support and enhanced handling
	in call back routine.
MFhead_mfi r228279
	Remove superfluous !TAILQ_EMPTY() checks before TAILQ_FOREACH().
MFhead_mfi r228310
	Move mfi_decode_evt() to taskqueue.
MFhead_mfi r228320
	Implement MFI_DEBUG for 64bit S/G lists.
MFhead_mfi r231988
	Restore structure layout by reverting the array header to
	use [0] instead of [1].
MFhead_mfi r232412
	Put wildcard pattern later in the match table.
MFhead_mfi r232413
	Use lower case for hexadecimal numbers to match surrounding
	style.
MFhead_mfi r232414
	Add more Thunderbolt variants.
MFhead_mfi r232888
	Don't act on events prior to boot or when shutting down.
	Add hw.mfi.detect_jbod_change to enable or disable acting
	on JBOD type of disks being added on insert and removed on
	removing.  Switch hw.mfi.msi to 1 by default since it works
	better on newer cards.
MFhead_mfi r233016
	Release driver lock before taking Giant when deleting children.
	Use TAILQ_FOREACH_SAFE when items can be deleted.  Make code a
	little simplier to follow.  Fix a couple more style issues.
MFhead_mfi r233620
	Update mfi_spare/mfi_array with the actual number of elements
	for array_ref and pd.  Change these max. #define names to avoid
	name space collisions.  This will require an update to mfiutil
	It avoids mfiutil having to do a magic calculation.

	Add a note and #define to state that a "SYSTEM" disk is really
	what the firmware calls a "JBOD" drive.

Thanks to the many that helped, LSI for the initial code drop,
mav, delphij, jhb, sbruno that all helped with code and testing.
@
text
@d1 1
a1 1
# $FreeBSD$
@


1.6
log
@SVN rev 211690 on 2010-08-23 06:13:29Z by imp

MFtbemd:

Use MACHINE_CPUARCH in preference to MACHINE_ARCH.  The former is the
source code location of the machine, the latter the binary output.  In
general, we want to use MACHINE_CPUARCH instead of MACHINE_ARCH unless
we're tesitng for a specific target.  The isn't even moot for
i386/amd64 where there's momemntum towards a MACHINE_CPUARCH == x86,
although a specific cleanup for that likely would be needed...
@
text
@d12 2
a13 2
SRCS=	mfi.c mfi_pci.c mfi_disk.c mfi_debug.c
SRCS+=	opt_mfi.h opt_cam.h
@


1.6.2.1
log
@SVN rev 225736 on 2011-09-23 00:51:37Z by kensmith

Copy head to stable/9 as part of 9.0-RELEASE release cycle.

Approved by:	re (implicit)
@
text
@@


1.6.2.2
log
@SVN rev 234429 on 2012-04-18 18:31:11Z by ambrisko

MFC r233711:
Major update to driver to support for Drake Skinny and ThunderBolt cards.

MFC r233768:
Change typedef atomic_t to struct mfi_atomic to avoid name space
collision and some couple more style changes.

MFC r233805:
Move struct megasas_sge from mfi_ioctl.h to mfivar.h so we can
remove including machine/bus.h.  Add some more mfi_ prefixes to
avoid name space pollution.

MFC r233877:
- Do not include machine/atomic.h.  It is no longer necessary since r233768.
- Remove bogus "atomic" macros and a read-only variable from softc.
@
text
@d12 2
a13 2
SRCS=	mfi.c mfi_pci.c mfi_disk.c mfi_debug.c mfi_syspd.c mfi_tbolt.c
SRCS+=	opt_mfi.h opt_cam.h opt_compat.h
@


1.6.2.3
log
@## SVN ##
## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/ 242902
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ## r242902 | dteske | 2012-11-11 23:29:45 +0000 (Sun, 11 Nov 2012) | 10 lines
## SVN ##
## SVN ## Fix a regression introduced by SVN r211417 that saw the breakage of a feature
## SVN ## documented in usr.sbin/sysinstall/help/shortcuts.hlp (reproduced below):
## SVN ##
## SVN ## If /usr/sbin/sysinstall is linked to another filename, say
## SVN ## `/usr/local/bin/configPackages', then the basename will be used
## SVN ## as an implicit command name.
## SVN ##
## SVN ## Reviewed by:	adrian (co-mentor)
## SVN ## Approved by:	adrian (co-mentor)
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ##
@
text
@d1 1
a1 1
# $FreeBSD: stable/9/sys/modules/mfi/Makefile 234429 2012-04-18 18:31:11Z ambrisko $
@


1.6.2.2.2.1
log
@SVN rev 239080 on 2012-08-05 23:54:33Z by kensmith

Copy stable/9 to releng/9.1 as part of the 9.1-RELEASE release process.

Approved by:	re (implicit)
@
text
@@


1.6.2.2.2.2
log
@Switch importer
@
text
@d1 1
a1 1
# $FreeBSD: releng/9.1/sys/modules/mfi/Makefile 234429 2012-04-18 18:31:11Z ambrisko $
@


1.6.2.1.2.1
log
@SVN rev 227445 on 2011-11-11 04:20:22Z by kensmith

Copy stable/9 to releng/9.0 as part of the FreeBSD 9.0-RELEASE release
cycle.

Approved by:	re (implicit)
@
text
@@


1.6.2.1.2.2
log
@Switch importer
@
text
@d1 1
a1 1
# $FreeBSD: releng/9.0/sys/modules/mfi/Makefile 211690 2010-08-23 06:13:29Z imp $
@


1.5
log
@Add the 'mfip' sub-driver for gaining SCSI-passthrough access to devices
on an MFI controller.
@
text
@d7 1
a7 1
.if ${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "amd64"
@


1.5.2.1
log
@SVN rev 235636 on 2012-05-18 23:29:30Z by sbruno

MFC of head thunderbolt support for mfi(4)

r233711 -- IFV head_mfi into head for initial thunderbolt support
r233768 -- atomic_t --> mfi_atomic
r233805 -- fix tinderbuild, move megasas_sge to mfivar.h
r233877 -- remove atomic.h from includes
r235014 -- fix reading of sector >= 2^32 or 2^21, repair RAID handling
r235016 -- style(9)
r235040 -- fix returns from mfi_tbolt_sync_map_info()
r235318 -- repair panic on PAE i386
r235321 -- repair the repair of panics on PAE i386
@
text
@d12 2
a13 2
SRCS=	mfi.c mfi_pci.c mfi_disk.c mfi_debug.c mfi_syspd.c mfi_tbolt.c
SRCS+=	opt_mfi.h opt_cam.h opt_compat.h
@


1.5.2.2
log
@Switch importer
@
text
@d1 1
a1 1
# $FreeBSD: stable/7/sys/modules/mfi/Makefile 235636 2012-05-18 23:29:30Z sbruno $
@


1.5.14.1
log
@SVN rev 216618 on 2010-12-21 17:10:29Z by kensmith

Copy stable/7 to releng/7.4 in preparation for FreeBSD-7.4 release.

Approved by:	re (implicit)
@
text
@@


1.5.14.2
log
@Switch importer
@
text
@d1 1
a1 1
# $FreeBSD: releng/7.4/sys/modules/mfi/Makefile 169609 2007-05-16 17:19:47Z scottl $
@


1.5.12.1
log
@SVN rev 203736 on 2010-02-10 00:26:20Z by kensmith

Copy stable/7 to releng/7.3 as part of the 7.3-RELEASE process.

Approved by:	re (implicit)
@
text
@@


1.5.10.1
log
@SVN rev 196045 on 2009-08-03 08:13:06Z by kensmith

Copy head to stable/8 as part of 8.0 Release cycle.

Approved by:	re (Implicit)
@
text
@@


1.5.10.2
log
@SVN rev 235625 on 2012-05-18 19:48:33Z by sbruno

MFC of head thunderbolt support for mfi(4)

r233711 -- IFV head_mfi into head for initial thunderbolt support
r233768 -- atomic_t --> mfi_atomic
r233805 -- fix tinderbuild, move megasas_sge to mfivar.h
r233877 -- remove atomic.h from includes
r235014 -- fix reading of sector >= 2^32 or 2^21, repair RAID handling
r235016 -- style(9)
r235040 -- fix returns from mfi_tbolt_sync_map_info()
r235318 -- repair panic on PAE i386
r235321 -- repair the repair of panics on PAE i386
@
text
@d12 2
a13 2
SRCS=	mfi.c mfi_pci.c mfi_disk.c mfi_debug.c mfi_syspd.c mfi_tbolt.c
SRCS+=	opt_mfi.h opt_cam.h opt_compat.h
@


1.5.10.3
log
@## SVN ##
## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/ 242909
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ## r242909 | dim | 2012-11-12 07:47:19 +0000 (Mon, 12 Nov 2012) | 20 lines
## SVN ##
## SVN ## MFC r242625:
## SVN ##
## SVN ## Remove duplicate const specifiers in many drivers (I hope I got all of
## SVN ## them, please let me know if not).  Most of these are of the form:
## SVN ##
## SVN ## static const struct bzzt_type {
## SVN ##       [...list of members...]
## SVN ## } const bzzt_devs[] = {
## SVN ##       [...list of initializers...]
## SVN ## };
## SVN ##
## SVN ## The second const is unnecessary, as arrays cannot be modified anyway,
## SVN ## and if the elements are const, the whole thing is const automatically
## SVN ## (e.g. it is placed in .rodata).
## SVN ##
## SVN ## I have verified this does not change the binary output of a full kernel
## SVN ## build (except for build timestamps embedded in the object files).
## SVN ##
## SVN ## Reviewed by:	yongari, marius
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ##
@
text
@d1 1
a1 1
# $FreeBSD: stable/8/sys/modules/mfi/Makefile 235625 2012-05-18 19:48:33Z sbruno $
@


1.5.10.1.8.1
log
@SVN rev 232438 on 2012-03-03 06:15:13Z by kensmith

Copy stable/8 to releng/8.3 as part of 8.3-RELEASE release cycle.

Approved by:	re (implicit)
@
text
@@


1.5.10.1.8.2
log
@Switch importer
@
text
@d1 1
a1 1
# $FreeBSD: releng/8.3/sys/modules/mfi/Makefile 169609 2007-05-16 17:19:47Z scottl $
@


1.5.10.1.6.1
log
@SVN rev 216617 on 2010-12-21 17:09:25Z by kensmith

Copy stable/8 to releng/8.2 in preparation for FreeBSD-8.2 release.

Approved by:	re (implicit)
@
text
@@


1.5.10.1.4.1
log
@SVN rev 209145 on 2010-06-14 02:09:06Z by kensmith

Copy stable/8 to releng/8.1 in preparation for 8.1-RC1.

Approved by:	re (implicit)
@
text
@@


1.5.10.1.2.1
log
@SVN rev 198460 on 2009-10-25 01:10:29Z by kensmith

Copy stable/8 to releng/8.0 as part of 8.0-RELEASE release procedure.

Approved by:	re (implicit)
@
text
@@


1.5.8.1
log
@SVN rev 191087 on 2009-04-15 03:14:26Z by kensmith

Create releng/7.2 from stable/7 in preparation for 7.2-RELEASE.

Approved by:	re (implicit)
@
text
@@


1.5.6.1
log
@SVN rev 185281 on 2008-11-25 02:59:29Z by kensmith

Create releng/7.1 in preparation for moving into RC phase of 7.1 release
cycle.

Approved by:	re (implicit)
@
text
@@


1.4
log
@Update the mfi module build with the mfi_debug.c file.
@
text
@d5 2
d8 1
a8 1
SUBDIR= mfi_linux
d13 1
a13 1
SRCS+=	opt_mfi.h
@


1.3
log
@Remove cruft.
@
text
@d10 1
a10 1
SRCS=	mfi.c mfi_pci.c mfi_disk.c
d14 2
@


1.3.2.1
log
@Add mfi without the Linux ioctl layer.
@
text
@d5 4
d11 1
a11 1
SRCS+=	opt_mfi.h opt_scsi.h
a12 5
CFLAGS+= -Wall -Werror

# To enable debug output from the driver, uncomment these two lines.
#CFLAGS+= -DMFI_DEBUG=2
#SRCS+=	mfi_debug.c
@


1.3.2.2
log
@Switch importer
@
text
@d1 1
a1 1
# $FreeBSD: stable/4/sys/modules/mfi/Makefile 159860 2006-06-22 15:22:05Z ps $
@


1.2
log
@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.
@
text
@a12 5
CFLAGS+= -Wall -Werror

# To enable debug output from the driver, uncomment these two lines.
#CFLAGS+= -DMFI_DEBUG=2
#SRCS+=	mfi_debug.c
@


1.1
log
@Add a driver for the new LSI MegaRAID SAS controller family.  The 'MFI' name
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
@
text
@d5 4
@


1.1.2.1
log
@Add the MFI driver.  Thanks to IronPort Systems, Dell, and Yahoo for their
contributions towards this.

Approved by: re
@
text
@@


1.1.2.2
log
@MFC in all the changes to the mfi(4) driver.  The high light is:
  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.
@
text
@a4 4
.if ${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "amd64"
SUBDIR= mfi_linux
.endif

d9 5
@


1.1.2.3
log
@Sync the MFI driver to HEAD.  This fixes a potential problem with AEN
events, adds many debugging and informational tools, and increases support
for running the linux management apps.

Approved by: re
Sponsored by: IronPort
@
text
@d10 1
a10 1
SRCS=	mfi.c mfi_pci.c mfi_disk.c mfi_debug.c
a13 2
#CFLAGS += -DMFI_DEBUG

@


1.1.2.4
log
@Add build glue for the mfip driver.
@
text
@a4 2
SUBDIR= mfi_cam

d6 1
a6 1
SUBDIR+= mfi_linux
@


1.1.2.5
log
@Fix last-minute typo.
@
text
@d5 1
a5 1
SUBDIR= mfip
@


1.1.2.6
log
@Switch importer
@
text
@d1 1
a1 1
# $FreeBSD: stable/6/sys/modules/mfi/Makefile 170353 2007-06-05 22:54:01Z scottl $
@


1.1.2.5.4.1
log
@SVN rev 183531 on 2008-10-02 02:57:24Z by kensmith

Create releng/6.4 from stable/6 in preparation for 6.4-RC1.

Approved by:	re (implicit)
@
text
@@


