kernel - SILI disk driver - Add support for Sil3124
authorMatthew Dillon <dillon@apollo.backplane.com>
Sun, 31 Jan 2010 18:18:25 +0000 (10:18 -0800)
committerMatthew Dillon <dillon@apollo.backplane.com>
Sun, 31 Jan 2010 18:18:25 +0000 (10:18 -0800)
* Sil3124 uses the same chipset ABI as the 3134 but with 4 ports
  instead of 2.  It appears to only need a PCI entry.

* This is for the PCI-X 3124.  The 3124A is a PCI-e version which
  probably will also work (not yet tested), and for which we still
  need the PCI ID.

Submitted-by: Tim Darby <t+dfbsd@timdarby.net>
sys/dev/disk/sili/sili_attach.c

index 5e798db..31f87bb 100644 (file)
@@ -63,6 +63,14 @@ static const struct sili_device sili_devices[] = {
                .ad_detach = sili_pci_detach,
                .name = "SiliconImage-3132-SATA"
        },
+       {
+               .ad_vendor = PCI_VENDOR_SII,
+               .ad_product = 0x3124,
+               .ad_nports = 4,
+               .ad_attach = sili_pci_attach,
+               .ad_detach = sili_pci_detach,
+               .name = "Rosewill-3124-SATA"
+       },
        { 0, 0, 0, NULL, NULL, NULL }
 };