twe(4): Sync with FreeBSD.
[dragonfly.git] / sys / dev / raid / twe / Makefile
CommitLineData
f21d89e9 1# $FreeBSD: src/sys/modules/twe/Makefile,v 1.8 2012/11/17 01:53:01 svnexp Exp $
c2b68912
SW
2
3KMOD= twe
4SRCS= bus_if.h device_if.h pci_if.h twe.c twe_freebsd.c
5
6#CFLAGS+=-DTWE_DEBUG=0
984263bc 7
984263bc
MD
8# The 3ware controller offers a choice of options related to handling of
9# mirror consistency in shutdown situations.
10#
11# If TWE_SHUTDOWN_NOTIFICATION is defined, the driver will inform the
12# controller on clean shutdown. On reboot after an unclean shutdown, the
13# controller will perform a complete mirror rebuild. This is the most
14# "safe" configuration, but it imposes a severe performance penalty in the
15# event of an unexpected reboot.
16#
17# In the alternate configuration, the controller assumes that all writes to
18# a mirror complete successfully. In the case of an unclean shutdown,
19# mirror corruption may occur if the controller is reset or power is lost
20# during a disk write. This configuration is more suitable if the system
21# has reliable power, but may be unstable for other reasons.
22#
23CFLAGS+=-DTWE_SHUTDOWN_NOTIFICATION
24
984263bc 25.include <bsd.kmod.mk>