1 # $FreeBSD: src/sys/modules/twe/Makefile,v 1.1.2.2 2000/10/27 06:04:54 msmith Exp $
4 # The 3ware controller offers a choice of options related to handling of
5 # mirror consistency in shutdown situations.
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.
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.
19 CFLAGS+=-DTWE_SHUTDOWN_NOTIFICATION
22 # The module can be built to override a compiled-in driver
24 #CFLAGS+=-DTWE_OVERRIDE
27 SRCS= bus_if.h device_if.h pci_if.h twe.c twe_freebsd.c
29 #CFLAGS+=-DTWE_DEBUG=0
31 .include <bsd.kmod.mk>