From f0e799193f66de9af176978cfac9679eb99efd11 Mon Sep 17 00:00:00 2001 From: Matthew Dillon Date: Wed, 21 Dec 2016 14:12:46 -0800 Subject: [PATCH] ahci - Add workarounds for Marvell 88SE9215 * This Marvell chip also needs some quirks. Probably most of the older Marvell chips need the same quirks, and the newer probably needs the FR cycling quirk, but for now I'm adding them only specifically as they are tested. Reported-by: Edward Berger --- sys/dev/disk/ahci/ahci_attach.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/sys/dev/disk/ahci/ahci_attach.c b/sys/dev/disk/ahci/ahci_attach.c index d8e632ed39..07c5d2ce26 100644 --- a/sys/dev/disk/ahci/ahci_attach.c +++ b/sys/dev/disk/ahci/ahci_attach.c @@ -233,6 +233,12 @@ ahci_pci_attach(device_t dev) sc->sc_flags |= AHCI_F_IGN_FR; sc->sc_flags |= AHCI_F_IGN_CR; break; + case 0x92151b4b: + device_printf(dev, + "Enable 88SE9215 workarounds for broken chip\n"); + sc->sc_flags |= AHCI_F_IGN_FR; + sc->sc_flags |= AHCI_F_IGN_CR; + break; case 0x92301b4b: device_printf(dev, "Enable 88SE9230 workarounds for broken chip\n"); -- 2.11.4.GIT