svn commit: r297921 - head/sys/dev/ahci
Alexander Motin
mav at FreeBSD.org
Wed Apr 13 12:32:59 UTC 2016
Author: mav
Date: Wed Apr 13 12:32:58 2016
New Revision: 297921
URL: https://svnweb.freebsd.org/changeset/base/297921
Log:
Add hint.ahci.X.quirks tunable for some odd cases.
MFC after: 2 weeks
Modified:
head/sys/dev/ahci/ahci_pci.c
Modified: head/sys/dev/ahci/ahci_pci.c
==============================================================================
--- head/sys/dev/ahci/ahci_pci.c Wed Apr 13 12:05:01 2016 (r297920)
+++ head/sys/dev/ahci/ahci_pci.c Wed Apr 13 12:32:58 2016 (r297921)
@@ -423,6 +423,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-head
mailing list