1 # $FreeBSD$
2
3 #
4 # The 3ware controller offers a choice of options related to handling of
5 # mirror consistency in shutdown situations.
6 #
7 # If TWE_SHUTDOWN_NOTIFICATION is defined, the driver will inform the
8 # controller on clean shutdown. On reboot after an unclean shutdown, the
9 # controller will perform a complete mirror rebuild. This is the most
10 # "safe" configuration, but it imposes a severe performance penalty in the
11 # event of an unexpected reboot.
12 #
13 # In the alternate configuration, the controller assumes that all writes to
14 # a mirror complete successfully. In the case of an unclean shutdown,
15 # mirror corruption may occur if the controller is reset or power is lost
16 # during a disk write. This configuration is more suitable if the system
17 # has reliable power, but may be unstable for other reasons.
18 #
19 CFLAGS+=-DTWE_SHUTDOWN_NOTIFICATION
20
21 #
22 # The module can be built to override a compiled-in driver
23 #
24 #CFLAGS+=-DTWE_OVERRIDE
25
26 .PATH: ${.CURDIR}/../../dev/twe
27
28 KMOD= twe
29 SRCS= bus_if.h device_if.h pci_if.h twe.c twe_freebsd.c
30
31 #CFLAGS+=-DTWE_DEBUG=0
32
33 .include <bsd.kmod.mk>
Cache object: a1b901fe8180d40961b8d7d56f489f9f
|