aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/ata_piix.c
diff options
context:
space:
mode:
authorAlan Cox <alan@lxorguk.ukuu.org.uk>2006-05-22 17:58:14 -0400
committerJeff Garzik <jeff@garzik.org>2006-05-24 02:09:01 -0400
commit31a34fe75906ba5f61606eaed01da313f29ca4b1 (patch)
tree31f91e71800208aa1a532c37fedbb850910cde4e /drivers/scsi/ata_piix.c
parente14698745dd0de1ddbf5cd0cca4313a90f8c1cc1 (diff)
[PATCH] ata_piix formatting
if( spacing fix for Garzik compliant formatting Signed-off-by: Alan Cox <alan@redhat.com> Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers/scsi/ata_piix.c')
-rw-r--r--drivers/scsi/ata_piix.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/scsi/ata_piix.c b/drivers/scsi/ata_piix.c
index 28bd8cae52ce..1db007f41a61 100644
--- a/drivers/scsi/ata_piix.c
+++ b/drivers/scsi/ata_piix.c
@@ -767,15 +767,15 @@ static int __devinit piix_check_450nx_errata(struct pci_dev *ata_dev)
767 pci_read_config_byte(pdev, PCI_REVISION_ID, &rev); 767 pci_read_config_byte(pdev, PCI_REVISION_ID, &rev);
768 pci_read_config_word(pdev, 0x41, &cfg); 768 pci_read_config_word(pdev, 0x41, &cfg);
769 /* Only on the original revision: IDE DMA can hang */ 769 /* Only on the original revision: IDE DMA can hang */
770 if(rev == 0x00) 770 if (rev == 0x00)
771 no_piix_dma = 1; 771 no_piix_dma = 1;
772 /* On all revisions below 5 PXB bus lock must be disabled for IDE */ 772 /* On all revisions below 5 PXB bus lock must be disabled for IDE */
773 else if(cfg & (1<<14) && rev < 5) 773 else if (cfg & (1<<14) && rev < 5)
774 no_piix_dma = 2; 774 no_piix_dma = 2;
775 } 775 }
776 if(no_piix_dma) 776 if (no_piix_dma)
777 dev_printk(KERN_WARNING, &ata_dev->dev, "450NX errata present, disabling IDE DMA.\n"); 777 dev_printk(KERN_WARNING, &ata_dev->dev, "450NX errata present, disabling IDE DMA.\n");
778 if(no_piix_dma == 2) 778 if (no_piix_dma == 2)
779 dev_printk(KERN_WARNING, &ata_dev->dev, "A BIOS update may resolve this.\n"); 779 dev_printk(KERN_WARNING, &ata_dev->dev, "A BIOS update may resolve this.\n");
780 return no_piix_dma; 780 return no_piix_dma;
781} 781}