The following diffs add support for IDE and SATA with the AMD SB900 chipset.


Index: pciide.c
===================================================================
RCS file: /cvs/src/sys/dev/pci/pciide.c,v
retrieving revision 1.298
diff -u -p -r1.298 pciide.c
--- pciide.c    5 Sep 2009 10:24:58 -0000       1.298
+++ pciide.c    13 Sep 2009 06:49:14 -0000
@@ -557,6 +557,10 @@ const struct pciide_product_desc pciide_
        { PCI_PRODUCT_AMD_CS5536_IDE,
          0,
          amd756_chip_map
+       },
+       { PCI_PRODUCT_AMD_SB900_IDE,
+         0,
+         ixp_chip_map
        }
 };
 


Index: ahci.c
===================================================================
RCS file: /cvs/src/sys/dev/pci/ahci.c,v
retrieving revision 1.148
diff -u -p -r1.148 ahci.c
--- ahci.c      13 Sep 2009 13:26:39 -0000      1.148
+++ ahci.c      20 Sep 2009 17:55:31 -0000
@@ -427,8 +427,8 @@ int                 ahci_nvidia_mcp_attach(struct ahci
                            struct pci_attach_args *);
 
 static const struct ahci_device ahci_devices[] = {
-       { PCI_VENDOR_VIATECH,   PCI_PRODUCT_VIATECH_VT8251_SATA,
-           ahci_no_match,      ahci_vt8251_attach },
+       { PCI_VENDOR_AMD,       PCI_PRODUCT_AMD_SB900_SATA,
+           NULL,               ahci_ati_sb600_attach },
        { PCI_VENDOR_ATI,       PCI_PRODUCT_ATI_SB600_SATA,
            NULL,               ahci_ati_sb600_attach },
        { PCI_VENDOR_ATI,       PCI_PRODUCT_ATI_SBX00_SATA_1,
@@ -438,7 +438,9 @@ static const struct ahci_device ahci_dev
        { PCI_VENDOR_NVIDIA,    PCI_PRODUCT_NVIDIA_MCP67_AHCI_1,
            NULL,               ahci_nvidia_mcp_attach },
        { PCI_VENDOR_NVIDIA,    PCI_PRODUCT_NVIDIA_MCP77_AHCI_5,
-           NULL,               ahci_nvidia_mcp_attach }
+           NULL,               ahci_nvidia_mcp_attach },
+       { PCI_VENDOR_VIATECH,   PCI_PRODUCT_VIATECH_VT8251_SATA,
+           ahci_no_match,      ahci_vt8251_attach }
 };
 
 int                    ahci_pci_match(struct device *, void *, void *);

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

Reply via email to