aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/ahci/ahci_generic.c
Commit message (Collapse)AuthorAgeFilesLines
* ahci_generic: add quirk for NXP0004 (NXP Layerscape LX2160A)Emmanuel Vadot2020-09-301-0/+17
| | | | | | | | | | | | | | | This fixes this error : (aprobe3:ahcich3:0:15:0): NOP FLUSHQUEUE. ACB: 00 00 00 00 00 00 00 00 00 00 00 00 (aprobe3:ahcich3:0:15:0): CAM status: Command timeout (aprobe3:ahcich3:0:15:0): Error 5, Retries exhausted Submitted by: Greg V <greg@unrelenting.technology> Reviewed by: imp, mav MFC after: 2 weeks Differential Revision: https://reviews.freebsd.org/D25157 Notes: svn path=/head/; revision=366295
* ahci: Check if bus is cache-coherentEmmanuel Vadot2019-05-101-0/+7
| | | | | | | | | | | | We do this for FDT systems but not for ACPI ones. Check the presence of the _CCA attribute. Sponsored by: Ampere Computing, LLC Reviewed by: andrew Differential Revision: https://reviews.freebsd.org/D20144 Notes: svn path=/head/; revision=347440
* Add support for AHCI in Armada 3700Marcin Wojtas2017-09-091-3/+4
| | | | | | | | | | | | This patch simply AHCI generic driver by extending compatible list. Submitted by: Patryk Duda <pdk@semihalf.com> Obtained from: Semihalf Sponsored by: Semihalf Differential Revision: https://reviews.freebsd.org/D12254 Notes: svn path=/head/; revision=323356
* Check if the device is marked as dma-coherent in the FDT, and if so, letOlivier Houchard2017-04-261-0/+4
| | | | | | | | | | busdma know, so that on architectures where dma isn't always coherent, we know we don't have to write-back/invalidates cachelines on DMA operations. Reviewed by: andrew, mav Notes: svn path=/head/; revision=317441
* Add an ACPI attachment to the existing ahci_generic driver. This is usedAndrew Turner2017-01-101-14/+74
| | | | | | | | | | | | in some arm64 hardware, for example the AMD Opteron A1100. Reviewed by: mav Obtained from: ABT Systems Ltd Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D8852 Notes: svn path=/head/; revision=311874
* Add support for a generic AHCI attachment. This allows us to attach to aAndrew Turner2015-12-031-0/+131
typically memory mapped bus, for example on the AMD Opteron A1100 the AHCI device is mapped in the CPUs address space, and not through a PCI controller. Further work is needed for this to work with ACPI as this is expected to be common on ARMv8 servers. Reviewed by: mav, mmel Obtained from: mmel, ABT Systems Ltd Relnotes: yes Sponsored by: SoftIron Inc Differential Revision: https://reviews.freebsd.org/D4269 Notes: svn path=/head/; revision=291689