freebsd-skq/sys/dev/ahci
Warner Losh 4668666fe4 Implement ability to turn on/off PHYs for AHCI devices.
As part of Chuck's work on fixing kernel crashes caused by disk I/O
errors, it is useful to be able to trigger various kinds of
errors. This patch allows causing an AHCI-attached disk to disappear,
by having the driver keep the PHY disabled when the driver would
otherwise enable the PHY. It also allows making the disk reappear by
having the driver go back to setting the PHY enable/disable state as
it normal would and simulating the hardware event that causes a bus
rescan.

Submitted by: Chuck Silvers
Sponsored by: Netflix, Inc
Differential Revision: https://reviews.freebsd.org/D16043
2018-11-03 00:37:51 +00:00
..
ahci_generic.c Add support for AHCI in Armada 3700 2017-09-09 11:01:44 +00:00
ahci_mv_fdt.c Fix kernel modules names for Marvell armv7 2018-04-03 23:49:35 +00:00
ahci_pci.c - Add quirk for Samsung on Mac Mini 7,1 2018-11-02 07:48:23 +00:00
ahci.c Implement ability to turn on/off PHYs for AHCI devices. 2018-11-03 00:37:51 +00:00
ahci.h Implement ability to turn on/off PHYs for AHCI devices. 2018-11-03 00:37:51 +00:00
ahciem.c sys/dev: further adoption of SPDX licensing ID tags. 2017-11-27 14:52:40 +00:00