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