diff options
author | Jeff Garzik <jeff@garzik.org> | 2006-03-24 09:56:57 -0500 |
---|---|---|
committer | Jeff Garzik <jeff@garzik.org> | 2006-03-24 09:56:57 -0500 |
commit | 2e9edbf815e42f93dd29a9981f27bd421acc47df (patch) | |
tree | 57f4026cc532879c0678c535e15c5172b62d2106 /drivers/scsi/ata_piix.c | |
parent | ebdfca6eb1b755d3bfe9a81339ecdafd92038c1a (diff) |
[libata] export ata_dev_pair; trim trailing whitespace
Mostly, trim trailing whitespace.
Also:
* export ata_dev_pair
* move ata_dev_classify export closer to ata_dev_pair export
Diffstat (limited to 'drivers/scsi/ata_piix.c')
-rw-r--r-- | drivers/scsi/ata_piix.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/scsi/ata_piix.c b/drivers/scsi/ata_piix.c index a74e23d39ba9..2d5be84d8bd4 100644 --- a/drivers/scsi/ata_piix.c +++ b/drivers/scsi/ata_piix.c | |||
@@ -742,7 +742,7 @@ static int piix_disable_ahci(struct pci_dev *pdev) | |||
742 | /** | 742 | /** |
743 | * piix_check_450nx_errata - Check for problem 450NX setup | 743 | * piix_check_450nx_errata - Check for problem 450NX setup |
744 | * @ata_dev: the PCI device to check | 744 | * @ata_dev: the PCI device to check |
745 | * | 745 | * |
746 | * Check for the present of 450NX errata #19 and errata #25. If | 746 | * Check for the present of 450NX errata #19 and errata #25. If |
747 | * they are found return an error code so we can turn off DMA | 747 | * they are found return an error code so we can turn off DMA |
748 | */ | 748 | */ |
@@ -753,7 +753,7 @@ static int __devinit piix_check_450nx_errata(struct pci_dev *ata_dev) | |||
753 | u16 cfg; | 753 | u16 cfg; |
754 | u8 rev; | 754 | u8 rev; |
755 | int no_piix_dma = 0; | 755 | int no_piix_dma = 0; |
756 | 756 | ||
757 | while((pdev = pci_get_device(PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_82454NX, pdev)) != NULL) | 757 | while((pdev = pci_get_device(PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_82454NX, pdev)) != NULL) |
758 | { | 758 | { |
759 | /* Look for 450NX PXB. Check for problem configurations | 759 | /* Look for 450NX PXB. Check for problem configurations |
@@ -772,7 +772,7 @@ static int __devinit piix_check_450nx_errata(struct pci_dev *ata_dev) | |||
772 | if(no_piix_dma == 2) | 772 | if(no_piix_dma == 2) |
773 | dev_printk(KERN_WARNING, &ata_dev->dev, "A BIOS update may resolve this.\n"); | 773 | dev_printk(KERN_WARNING, &ata_dev->dev, "A BIOS update may resolve this.\n"); |
774 | return no_piix_dma; | 774 | return no_piix_dma; |
775 | } | 775 | } |
776 | 776 | ||
777 | static void __devinit piix_init_sata_map(struct pci_dev *pdev, | 777 | static void __devinit piix_init_sata_map(struct pci_dev *pdev, |
778 | struct ata_port_info *pinfo) | 778 | struct ata_port_info *pinfo) |