1# $FreeBSD$ 2 3.PATH: ${SRCTOP}/sys/dev/agp 4 5KMOD= agp 6SRCS= agp.c agp_if.c 7.if ${MACHINE_CPUARCH} == "i386" 8SRCS+= agp_i810.c agp_intel.c agp_via.c agp_sis.c agp_ali.c agp_amd.c \ 9 agp_nvidia.c agp_ati.c 10.endif 11.if ${MACHINE} == "i386" 12SRCS+= agp_amd64.c 13.endif 14.if ${MACHINE_CPUARCH} == "amd64" 15SRCS+= agp_amd64.c agp_i810.c agp_via.c 16.endif 17.if ${MACHINE_CPUARCH} == "powerpc" 18SRCS+= agp_apple.c 19.endif 20SRCS+= device_if.h bus_if.h agp_if.h pci_if.h 21SRCS+= opt_agp.h 22 23EXPORT_SYMS= agp_find_device \ 24 agp_state \ 25 agp_acquire \ 26 agp_release \ 27 agp_enable \ 28 agp_alloc_memory \ 29 agp_free_memory \ 30 agp_bind_memory \ 31 agp_unbind_memory \ 32 agp_memory_info 33 34 35.if ${MACHINE_CPUARCH} == "i386" || ${MACHINE_CPUARCH} == "amd64" 36EXPORT_SYMS+= intel_gtt_clear_range \ 37 intel_gtt_insert_pages \ 38 intel_gtt_install_pte \ 39 intel_gtt_get \ 40 intel_gtt_chipset_flush \ 41 intel_gtt_unmap_memory \ 42 intel_gtt_map_memory \ 43 intel_gtt_insert_sg_entries \ 44 intel_gtt_get_bridge_device 45.endif 46 47.include <bsd.kmod.mk> 48