1999-10-07 02:23:12 +00:00
|
|
|
# $FreeBSD$
|
|
|
|
|
2001-01-06 14:00:42 +00:00
|
|
|
.PATH: ${.CURDIR}/../../dev/amr
|
|
|
|
|
2006-01-25 18:11:59 +00:00
|
|
|
.if ${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "amd64"
|
|
|
|
SUBDIR= amr_linux
|
|
|
|
.endif
|
|
|
|
|
2001-01-06 14:00:42 +00:00
|
|
|
KMOD= amr
|
|
|
|
SRCS= amr.c amr_pci.c amr_disk.c device_if.h bus_if.h pci_if.h
|
2000-08-30 07:52:50 +00:00
|
|
|
|
|
|
|
# SCSI passthrough support for non-disk devices
|
2001-01-06 14:00:42 +00:00
|
|
|
#CFLAGS+= -DAMR_SCSI_PASSTHROUGH
|
2002-10-18 21:29:14 +00:00
|
|
|
SRCS+= amr_cam.c opt_cam.h opt_scsi.h
|
2000-08-30 07:52:50 +00:00
|
|
|
|
|
|
|
# Enable a questionable optimisation for newer adapters
|
2001-01-06 14:00:42 +00:00
|
|
|
#CFLAGS+= -DAMR_QUARTZ_GOFASTER
|
2000-08-30 07:52:50 +00:00
|
|
|
|
|
|
|
# Debugging
|
2001-01-06 14:00:42 +00:00
|
|
|
#CFLAGS+= -DAMR_DEBUG=3
|
1999-10-07 02:23:12 +00:00
|
|
|
|
2000-05-27 01:14:33 +00:00
|
|
|
.include <bsd.kmod.mk>
|