freebsd-dev/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
ahci_mv_fdt.c
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