svn commit: r268251 - stable/9/sys/dev/ata/chipsets

Marius Strobl marius at FreeBSD.org
Fri Jul 4 13:59:48 UTC 2014


Author: marius
Date: Fri Jul  4 13:59:48 2014
New Revision: 268251
URL: http://svnweb.freebsd.org/changeset/base/268251

Log:
  MFC: r268095
  
  Actually pro AMD chipsets, making r244146 (MFCed to stable/9 in r245797) work.
  
  Sponsored by:	Bally Wulff Games & Entertainment GmbH

Modified:
  stable/9/sys/dev/ata/chipsets/ata-ati.c
Directory Properties:
  stable/9/sys/   (props changed)
  stable/9/sys/dev/   (props changed)

Modified: stable/9/sys/dev/ata/chipsets/ata-ati.c
==============================================================================
--- stable/9/sys/dev/ata/chipsets/ata-ati.c	Fri Jul  4 13:57:58 2014	(r268250)
+++ stable/9/sys/dev/ata/chipsets/ata-ati.c	Fri Jul  4 13:59:48 2014	(r268251)
@@ -99,7 +99,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-stable-9 mailing list