Deleted Added
full compact
Makefile (67555) Makefile (70711)
1# $FreeBSD: head/sys/modules/twe/Makefile 67555 2000-10-25 06:59:06Z msmith $
1# $FreeBSD: head/sys/modules/twe/Makefile 70711 2001-01-06 14:00:42Z obrien $
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
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
26.PATH: ${.CURDIR}/../../dev/twe
26.PATH: ${.CURDIR}/../../dev/twe
27
27KMOD= twe
28SRCS= bus_if.h device_if.h pci_if.h twe.c twe_freebsd.c
29
30#CFLAGS+=-DTWE_DEBUG=0
31
32.include <bsd.kmod.mk>
28KMOD= twe
29SRCS= 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>