]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/ata/pata_sis.c
[PATCH] libata: tighten rules for legacy dependancies
[linux-2.6-omap-h63xx.git] / drivers / ata / pata_sis.c
index 4ad7fb44bfa607e36da5ec925552ff27724bc3b2..2e555168b431cdd59312db1edc63594bf0183269 100644 (file)
@@ -34,7 +34,7 @@
 #include <linux/ata.h>
 
 #define DRV_NAME       "pata_sis"
-#define DRV_VERSION    "0.4.2"
+#define DRV_VERSION    "0.4.3"
 
 struct sis_chipset {
        u16 device;                     /* PCI host ID */
@@ -70,7 +70,7 @@ static int sis_133_pre_reset(struct ata_port *ap)
                { 0x4aU, 1U, 0x02UL, 0x02UL },  /* port 0 */
                { 0x4aU, 1U, 0x04UL, 0x04UL },  /* port 1 */
        };
-       
+
        struct pci_dev *pdev = to_pci_dev(ap->host->dev);
        u16 tmp;
 
@@ -164,7 +164,7 @@ static int sis_old_pre_reset(struct ata_port *ap)
                { 0x4aU, 1U, 0x02UL, 0x02UL },  /* port 0 */
                { 0x4aU, 1U, 0x04UL, 0x04UL },  /* port 1 */
        };
-       
+
        struct pci_dev *pdev = to_pci_dev(ap->host->dev);
 
        if (!pci_test_config_bits(pdev, &sis_enable_bits[ap->port_no])) {
@@ -601,7 +601,7 @@ static const struct ata_port_operations sis_133_early_ops = {
        .thaw                   = ata_bmdma_thaw,
        .error_handler          = sis_66_error_handler,
        .post_internal_cmd      = ata_bmdma_post_internal_cmd,
-       
+
        .bmdma_setup            = ata_bmdma_setup,
        .bmdma_start            = ata_bmdma_start,
        .bmdma_stop             = ata_bmdma_stop,
@@ -636,7 +636,7 @@ static const struct ata_port_operations sis_100_ops = {
        .thaw                   = ata_bmdma_thaw,
        .error_handler          = sis_66_error_handler,
        .post_internal_cmd      = ata_bmdma_post_internal_cmd,
-       
+
 
        .bmdma_setup            = ata_bmdma_setup,
        .bmdma_start            = ata_bmdma_start,
@@ -857,6 +857,10 @@ static int sis_init_one (struct pci_dev *pdev, const struct pci_device_id *ent)
        struct sis_chipset *chipset = NULL;
 
        static struct sis_chipset sis_chipsets[] = {
+       
+               { 0x0968, &sis_info133 },
+               { 0x0966, &sis_info133 },
+               { 0x0965, &sis_info133 },
                { 0x0745, &sis_info100 },
                { 0x0735, &sis_info100 },
                { 0x0733, &sis_info100 },