svn commit: r298959 - stable/10/sys/dev/ahci
Alexander Motin
mav at FreeBSD.org
Tue May 3 07:51:00 UTC 2016
Author: mav
Date: Tue May 3 07:50:58 2016
New Revision: 298959
URL: https://svnweb.freebsd.org/changeset/base/298959
Log:
MFC r297921: Add hint.ahci.X.quirks tunable for some odd cases.
Modified:
stable/10/sys/dev/ahci/ahci_pci.c
Directory Properties:
stable/10/ (props changed)
Modified: stable/10/sys/dev/ahci/ahci_pci.c
==============================================================================
--- stable/10/sys/dev/ahci/ahci_pci.c Tue May 3 07:49:40 2016 (r298958)
+++ stable/10/sys/dev/ahci/ahci_pci.c Tue May 3 07:50:58 2016 (r298959)
@@ -395,6 +395,8 @@ ahci_pci_attach(device_t dev)
pci_get_subvendor(dev) == 0x1043 &&
pci_get_subdevice(dev) == 0x81e4)
ctlr->quirks |= AHCI_Q_SATA1_UNIT0;
+ resource_int_value(device_get_name(dev), device_get_unit(dev),
+ "quirks", &ctlr->quirks);
ctlr->vendorid = pci_get_vendor(dev);
ctlr->deviceid = pci_get_device(dev);
ctlr->subvendorid = pci_get_subvendor(dev);
More information about the svn-src-stable
mailing list