2000-06-09 16:07:04 +00:00
|
|
|
# $FreeBSD$
|
|
|
|
|
2001-01-06 14:00:42 +00:00
|
|
|
.PATH: ${.CURDIR}/../../pci
|
|
|
|
|
|
|
|
KMOD= agp
|
2003-02-14 06:33:52 +00:00
|
|
|
SRCS= agp.c agp_if.c
|
|
|
|
.if ${MACHINE_ARCH} == "i386"
|
2003-08-23 18:00:31 +00:00
|
|
|
SRCS+= agp_i810.c agp_intel.c agp_via.c agp_sis.c agp_ali.c agp_amd.c \
|
2005-09-17 03:36:47 +00:00
|
|
|
agp_nvidia.c agp_ati.c
|
2004-08-16 16:01:40 +00:00
|
|
|
.endif
|
|
|
|
.if ${MACHINE} == "i386"
|
|
|
|
SRCS+= agp_amd64.c
|
2003-02-14 06:33:52 +00:00
|
|
|
.endif
|
2004-08-16 12:25:48 +00:00
|
|
|
.if ${MACHINE_ARCH} == "amd64"
|
2006-09-05 16:55:13 +00:00
|
|
|
SRCS+= agp_amd64.c agp_i810.c
|
2004-08-16 12:25:48 +00:00
|
|
|
.endif
|
2001-01-06 14:00:42 +00:00
|
|
|
SRCS+= device_if.h bus_if.h agp_if.h pci_if.h
|
2005-09-27 18:10:43 +00:00
|
|
|
SRCS+= opt_bus.h
|
2001-01-06 14:00:42 +00:00
|
|
|
MFILES= kern/device_if.m kern/bus_if.m pci/agp_if.m dev/pci/pci_if.m
|
2005-01-26 21:18:58 +00:00
|
|
|
WERROR=
|
2000-06-09 16:07:04 +00:00
|
|
|
|
2002-01-11 01:16:00 +00:00
|
|
|
EXPORT_SYMS= agp_find_device \
|
|
|
|
agp_state \
|
|
|
|
agp_acquire \
|
|
|
|
agp_release \
|
|
|
|
agp_enable \
|
|
|
|
agp_alloc_memory \
|
|
|
|
agp_free_memory \
|
|
|
|
agp_bind_memory \
|
|
|
|
agp_unbind_memory \
|
|
|
|
agp_memory_info
|
|
|
|
|
2000-07-19 10:40:39 +00:00
|
|
|
.include <bsd.kmod.mk>
|