1 # $FreeBSD: src/sys/modules/twe/Makefile,v 1.8 2012/11/17 01:53:01 svnexp Exp $
2
3 KMOD= twe
4 SRCS= bus_if.h device_if.h pci_if.h twe.c twe_freebsd.c
5
6 #CFLAGS+=-DTWE_DEBUG=0
7
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 #
23 CFLAGS+=-DTWE_SHUTDOWN_NOTIFICATION
24
25 .include <bsd.kmod.mk>
Cache object: 0788a7dd13c3692792d713790bf0102d
|