diff options
Diffstat (limited to 'drivers/ata/pata_sis.c')
-rw-r--r-- | drivers/ata/pata_sis.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/ata/pata_sis.c b/drivers/ata/pata_sis.c index 4ad7fb44bfa6..1cf5cf0a5365 100644 --- a/drivers/ata/pata_sis.c +++ b/drivers/ata/pata_sis.c | |||
@@ -70,7 +70,7 @@ static int sis_133_pre_reset(struct ata_port *ap) | |||
70 | { 0x4aU, 1U, 0x02UL, 0x02UL }, /* port 0 */ | 70 | { 0x4aU, 1U, 0x02UL, 0x02UL }, /* port 0 */ |
71 | { 0x4aU, 1U, 0x04UL, 0x04UL }, /* port 1 */ | 71 | { 0x4aU, 1U, 0x04UL, 0x04UL }, /* port 1 */ |
72 | }; | 72 | }; |
73 | 73 | ||
74 | struct pci_dev *pdev = to_pci_dev(ap->host->dev); | 74 | struct pci_dev *pdev = to_pci_dev(ap->host->dev); |
75 | u16 tmp; | 75 | u16 tmp; |
76 | 76 | ||
@@ -164,7 +164,7 @@ static int sis_old_pre_reset(struct ata_port *ap) | |||
164 | { 0x4aU, 1U, 0x02UL, 0x02UL }, /* port 0 */ | 164 | { 0x4aU, 1U, 0x02UL, 0x02UL }, /* port 0 */ |
165 | { 0x4aU, 1U, 0x04UL, 0x04UL }, /* port 1 */ | 165 | { 0x4aU, 1U, 0x04UL, 0x04UL }, /* port 1 */ |
166 | }; | 166 | }; |
167 | 167 | ||
168 | struct pci_dev *pdev = to_pci_dev(ap->host->dev); | 168 | struct pci_dev *pdev = to_pci_dev(ap->host->dev); |
169 | 169 | ||
170 | if (!pci_test_config_bits(pdev, &sis_enable_bits[ap->port_no])) { | 170 | 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 = { | |||
601 | .thaw = ata_bmdma_thaw, | 601 | .thaw = ata_bmdma_thaw, |
602 | .error_handler = sis_66_error_handler, | 602 | .error_handler = sis_66_error_handler, |
603 | .post_internal_cmd = ata_bmdma_post_internal_cmd, | 603 | .post_internal_cmd = ata_bmdma_post_internal_cmd, |
604 | 604 | ||
605 | .bmdma_setup = ata_bmdma_setup, | 605 | .bmdma_setup = ata_bmdma_setup, |
606 | .bmdma_start = ata_bmdma_start, | 606 | .bmdma_start = ata_bmdma_start, |
607 | .bmdma_stop = ata_bmdma_stop, | 607 | .bmdma_stop = ata_bmdma_stop, |
@@ -636,7 +636,7 @@ static const struct ata_port_operations sis_100_ops = { | |||
636 | .thaw = ata_bmdma_thaw, | 636 | .thaw = ata_bmdma_thaw, |
637 | .error_handler = sis_66_error_handler, | 637 | .error_handler = sis_66_error_handler, |
638 | .post_internal_cmd = ata_bmdma_post_internal_cmd, | 638 | .post_internal_cmd = ata_bmdma_post_internal_cmd, |
639 | 639 | ||
640 | 640 | ||
641 | .bmdma_setup = ata_bmdma_setup, | 641 | .bmdma_setup = ata_bmdma_setup, |
642 | .bmdma_start = ata_bmdma_start, | 642 | .bmdma_start = ata_bmdma_start, |