Index: head/sys/modules/ahci/Makefile =================================================================== --- head/sys/modules/ahci/Makefile (revision 291767) +++ head/sys/modules/ahci/Makefile (revision 291768) @@ -1,8 +1,12 @@ # $FreeBSD$ .PATH: ${.CURDIR}/../../dev/ahci KMOD= ahci SRCS= ahci.c ahci_pci.c ahciem.c ahci.h device_if.h bus_if.h pci_if.h opt_cam.h +.if ${MACHINE_CPUARCH} == "aarch64" +SRCS+= ahci_generic.c +.endif + .include