git: ahci - Add quirks for Marvell devices

Matthew Dillon dillon at
Mon Dec 19 10:20:53 PST 2016

commit eb9f4c83beec582df5ea926726ded82a89810ea5
Author: Matthew Dillon <dillon at>
Date:   Sun Dec 18 23:21:19 2016 -0800

    ahci - Add quirks for Marvell devices
    * Add some quirks for badly broken Marvell devices.
    * 88SE9172 - This badly broken AHCI chipset does not support FR *or*
    	     CR responses.
    * 88SE9230 - This badly broken AHCI chipset supports FR and CR, but
    	     cannot maintain FR across a disconnect.  FRE must be
    	     cycled on the insertion detect in order to re-assert
    	     FR and be able to detect the new device.
    	     This chipset also seems to have other problems, sometimes
    	     generating an error (TFES error) on SET_FEATURES, which
    	     does not happen when the drive is connected to the Intel
    	     AHCI chipset.
    * Implement quirks for these devices.  Also, don't enable FRE with
      POD and SUD (do it separately), and sequence CMD_ICC_ACTIVE a bit
      differently than before.

Summary of changes:
 sys/dev/disk/ahci/ahci.c        | 105 ++++++++++++++++++++++------------------
 sys/dev/disk/ahci/ahci.h        |  10 ++--
 sys/dev/disk/ahci/ahci_attach.c |  25 +++++++++-
 3 files changed, 89 insertions(+), 51 deletions(-)

DragonFly BSD source repository

More information about the Commits mailing list