diff options
author | Tejun Heo <htejun@gmail.com> | 2006-05-15 07:57:56 -0400 |
---|---|---|
committer | Tejun Heo <htejun@gmail.com> | 2006-05-15 07:57:56 -0400 |
commit | f15a1dafed22d5037e0feea7528e1eeb28a1a7a3 (patch) | |
tree | 5bf5c98332036d62bd4cca3a104844faa318c712 /drivers/scsi/sata_sil.c | |
parent | 61440db61fe4945ad9f7b32b4d6a22b17174aa1f (diff) |
[PATCH] libata: use ATA printk helpers
Use ATA printk helpers.
Signed-off-by: Tejun Heo <htejun@gmail.com>
Diffstat (limited to 'drivers/scsi/sata_sil.c')
-rw-r--r-- | drivers/scsi/sata_sil.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/scsi/sata_sil.c b/drivers/scsi/sata_sil.c index c9333577330e..bfcece18a7cb 100644 --- a/drivers/scsi/sata_sil.c +++ b/drivers/scsi/sata_sil.c | |||
@@ -360,16 +360,16 @@ static void sil_dev_config(struct ata_port *ap, struct ata_device *dev) | |||
360 | if (slow_down || | 360 | if (slow_down || |
361 | ((ap->flags & SIL_FLAG_MOD15WRITE) && | 361 | ((ap->flags & SIL_FLAG_MOD15WRITE) && |
362 | (quirks & SIL_QUIRK_MOD15WRITE))) { | 362 | (quirks & SIL_QUIRK_MOD15WRITE))) { |
363 | printk(KERN_INFO "ata%u(%u): applying Seagate errata fix (mod15write workaround)\n", | 363 | ata_dev_printk(dev, KERN_INFO, "applying Seagate errata fix " |
364 | ap->id, dev->devno); | 364 | "(mod15write workaround)\n"); |
365 | dev->max_sectors = 15; | 365 | dev->max_sectors = 15; |
366 | return; | 366 | return; |
367 | } | 367 | } |
368 | 368 | ||
369 | /* limit to udma5 */ | 369 | /* limit to udma5 */ |
370 | if (quirks & SIL_QUIRK_UDMA5MAX) { | 370 | if (quirks & SIL_QUIRK_UDMA5MAX) { |
371 | printk(KERN_INFO "ata%u(%u): applying Maxtor errata fix %s\n", | 371 | ata_dev_printk(dev, KERN_INFO, |
372 | ap->id, dev->devno, model_num); | 372 | "applying Maxtor errata fix %s\n", model_num); |
373 | dev->udma_mask &= ATA_UDMA5; | 373 | dev->udma_mask &= ATA_UDMA5; |
374 | return; | 374 | return; |
375 | } | 375 | } |