svn commit: r268095 - head/sys/dev/ata/chipsets

Marius Strobl marius at FreeBSD.org
Tue Jul 1 14:54:34 UTC 2014


Author: marius
Date: Tue Jul  1 14:54:34 2014
New Revision: 268095
URL: http://svnweb.freebsd.org/changeset/base/268095

Log:
  Actually pro AMD chipsets.
  
  MFC after:	3 days
  Sponsored by:	Bally Wulff Games & Entertainment GmbH

Modified:
  head/sys/dev/ata/chipsets/ata-ati.c

Modified: head/sys/dev/ata/chipsets/ata-ati.c
==============================================================================
--- head/sys/dev/ata/chipsets/ata-ati.c	Tue Jul  1 14:49:46 2014	(r268094)
+++ head/sys/dev/ata/chipsets/ata-ati.c	Tue Jul  1 14:54:34 2014	(r268095)
@@ -98,7 +98,7 @@ ata_ati_probe(device_t dev)
      { ATA_AMD_HUDSON2_S5,  0x00, ATI_AHCI, 0, ATA_SA300, "Hudson-2" },
      { 0, 0, 0, 0, 0, 0}};
 
-    if (pci_get_vendor(dev) != ATA_ATI_ID)
+    if (pci_get_vendor(dev) != ATA_AMD_ID && pci_get_vendor(dev) != ATA_ATI_ID)
 	return ENXIO;
 
     if (!(ctlr->chip = ata_match_chip(dev, ids)))


More information about the svn-src-head mailing list