1# $FreeBSD: src/sys/modules/twe/Makefile,v 1.7 2005/08/10 04:01:21 obrien Exp $ 2 3KMOD= twe 4SRCS= 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# 23CFLAGS+=-DTWE_SHUTDOWN_NOTIFICATION 24 25# The module can be built to override a compiled-in driver 26# 27#CFLAGS+=-DTWE_OVERRIDE 28 29.include <bsd.kmod.mk> 30