1# $FreeBSD: head/sys/modules/twe/Makefile 61217 2000-06-03 11:45:00Z bde $
| 1# $FreeBSD: head/sys/modules/twe/Makefile 67555 2000-10-25 06:59:06Z msmith $
|
2
| 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# 19CFLAGS+=-DTWE_SHUTDOWN_NOTIFICATION 20 21# 22# The module can be built to override a compiled-in driver 23# 24#CFLAGS+=-DTWE_OVERRIDE 25
|
3.PATH: ${.CURDIR}/../../dev/twe 4KMOD= twe
| 26.PATH: ${.CURDIR}/../../dev/twe 27KMOD= twe
|
5SRCS= bus_if.h device_if.h pci_if.h twe.c twe_disk.c
| 28SRCS= bus_if.h device_if.h pci_if.h twe.c twe_freebsd.c
|
6
| 29
|
| 30#CFLAGS+=-DTWE_DEBUG=0 31
|
7.include <bsd.kmod.mk>
| 32.include <bsd.kmod.mk>
|