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)))
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to