diff options
Diffstat (limited to 'drivers/ata/pata_sis.c')
-rw-r--r-- | drivers/ata/pata_sis.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/ata/pata_sis.c b/drivers/ata/pata_sis.c index 0a17a95e0504..efa530b43c02 100644 --- a/drivers/ata/pata_sis.c +++ b/drivers/ata/pata_sis.c | |||
@@ -150,7 +150,7 @@ static int sis_66_pre_reset(struct ata_port *ap) | |||
150 | 150 | ||
151 | if (!pci_test_config_bits(pdev, &sis_enable_bits[ap->port_no])) { | 151 | if (!pci_test_config_bits(pdev, &sis_enable_bits[ap->port_no])) { |
152 | ata_port_disable(ap); | 152 | ata_port_disable(ap); |
153 | printk(KERN_INFO "ata%u: port disabled. ignoring.\n", ap->id); | 153 | ata_port_printk(ap, KERN_INFO, "port disabled. ignoring.\n"); |
154 | return 0; | 154 | return 0; |
155 | } | 155 | } |
156 | /* Older chips keep cable detect in bits 4/5 of reg 0x48 */ | 156 | /* Older chips keep cable detect in bits 4/5 of reg 0x48 */ |
@@ -196,7 +196,7 @@ static int sis_old_pre_reset(struct ata_port *ap) | |||
196 | 196 | ||
197 | if (!pci_test_config_bits(pdev, &sis_enable_bits[ap->port_no])) { | 197 | if (!pci_test_config_bits(pdev, &sis_enable_bits[ap->port_no])) { |
198 | ata_port_disable(ap); | 198 | ata_port_disable(ap); |
199 | printk(KERN_INFO "ata%u: port disabled. ignoring.\n", ap->id); | 199 | ata_port_printk(ap, KERN_INFO, "port disabled. ignoring.\n"); |
200 | return 0; | 200 | return 0; |
201 | } | 201 | } |
202 | ap->cbl = ATA_CBL_PATA40; | 202 | ap->cbl = ATA_CBL_PATA40; |