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