[libata] Trim trailing whitespace.

No code changes.

Signed-off-by: Jeff Garzik <jeff@garzik.org>

+18 -18
+1 -1
drivers/ata/libata-core.c
··· 1719 "%s: %s, %s, max %s\n", 1720 revbuf, modelbuf, fwrevbuf, 1721 ata_mode_string(xfer_mask)); 1722 - ata_dev_printk(dev, KERN_INFO, 1723 "%Lu sectors, multi %u, CHS %u/%u/%u\n", 1724 (unsigned long long)dev->n_sectors, 1725 dev->multi_count, dev->cylinders,
··· 1719 "%s: %s, %s, max %s\n", 1720 revbuf, modelbuf, fwrevbuf, 1721 ata_mode_string(xfer_mask)); 1722 + ata_dev_printk(dev, KERN_INFO, 1723 "%Lu sectors, multi %u, CHS %u/%u/%u\n", 1724 (unsigned long long)dev->n_sectors, 1725 dev->multi_count, dev->cylinders,
+3 -3
drivers/ata/libata-sff.c
··· 521 static int ata_resources_present(struct pci_dev *pdev, int port) 522 { 523 int i; 524 - 525 /* Check the PCI resources for this channel are enabled */ 526 port = port * 2; 527 for (i = 0; i < 2; i ++) { ··· 531 } 532 return 1; 533 } 534 - 535 /** 536 * ata_pci_init_native_mode - Initialize native-mode driver 537 * @pdev: pci device to be initialized ··· 576 577 probe_ent->irq = pdev->irq; 578 probe_ent->irq_flags = IRQF_SHARED; 579 - 580 /* Discard disabled ports. Some controllers show their 581 unused channels this way */ 582 if (ata_resources_present(pdev, 0) == 0)
··· 521 static int ata_resources_present(struct pci_dev *pdev, int port) 522 { 523 int i; 524 + 525 /* Check the PCI resources for this channel are enabled */ 526 port = port * 2; 527 for (i = 0; i < 2; i ++) { ··· 531 } 532 return 1; 533 } 534 + 535 /** 536 * ata_pci_init_native_mode - Initialize native-mode driver 537 * @pdev: pci device to be initialized ··· 576 577 probe_ent->irq = pdev->irq; 578 probe_ent->irq_flags = IRQF_SHARED; 579 + 580 /* Discard disabled ports. Some controllers show their 581 unused channels this way */ 582 if (ata_resources_present(pdev, 0) == 0)
+1 -1
drivers/ata/pata_cs5520.c
··· 348 pci_save_state(pdev); 349 return 0; 350 } 351 - 352 /* For now keep DMA off. We can set it for all but A rev CS5510 once the 353 core ATA code can handle it */ 354
··· 348 pci_save_state(pdev); 349 return 0; 350 } 351 + 352 /* For now keep DMA off. We can set it for all but A rev CS5510 once the 353 core ATA code can handle it */ 354
+2 -2
drivers/ata/pata_scc.c
··· 233 void __iomem *tdvhsel_port = ctrl_base + SCC_CTL_TDVHSEL; 234 int offset, idx; 235 236 - if (in_be32(cckctrl_port) & CCKCTRL_ATACLKOEN) 237 offset = 1; /* 133MHz */ 238 else 239 offset = 0; /* 100MHz */ ··· 720 721 host_stat = in_be32(mmio + SCC_DMA_STATUS); 722 723 - /* Workaround for PTERADD: emulate DMA_INTR when 724 * - IDE_STATUS[ERR] = 1 725 * - INT_STATUS[INTRQ] = 1 726 * - DMA_STATUS[IORACTA] = 1
··· 233 void __iomem *tdvhsel_port = ctrl_base + SCC_CTL_TDVHSEL; 234 int offset, idx; 235 236 + if (in_be32(cckctrl_port) & CCKCTRL_ATACLKOEN) 237 offset = 1; /* 133MHz */ 238 else 239 offset = 0; /* 100MHz */ ··· 720 721 host_stat = in_be32(mmio + SCC_DMA_STATUS); 722 723 + /* Workaround for PTERADD: emulate DMA_INTR when 724 * - IDE_STATUS[ERR] = 1 725 * - INT_STATUS[INTRQ] = 1 726 * - DMA_STATUS[IORACTA] = 1
+2 -2
drivers/ata/pata_sil680.c
··· 157 158 pci_read_config_word(pdev, tfaddr-2, &reg); 159 pci_read_config_byte(pdev, addr_mask, &mode); 160 - 161 reg &= ~0x0200; /* Clear IORDY */ 162 mode &= ~(3 << port_shift); /* Clear IORDY and DMA bits */ 163 - 164 if (ata_pio_need_iordy(adev)) { 165 reg |= 0x0200; /* Enable IORDY */ 166 mode |= 1 << port_shift;
··· 157 158 pci_read_config_word(pdev, tfaddr-2, &reg); 159 pci_read_config_byte(pdev, addr_mask, &mode); 160 + 161 reg &= ~0x0200; /* Clear IORDY */ 162 mode &= ~(3 << port_shift); /* Clear IORDY and DMA bits */ 163 + 164 if (ata_pio_need_iordy(adev)) { 165 reg |= 0x0200; /* Enable IORDY */ 166 mode |= 1 << port_shift;
+1 -1
drivers/ata/pata_via.c
··· 170 ap->cbl = ATA_CBL_PATA40; 171 else 172 ap->cbl = ATA_CBL_PATA_UNK; 173 - 174 175 return ata_std_prereset(ap); 176 }
··· 170 ap->cbl = ATA_CBL_PATA40; 171 else 172 ap->cbl = ATA_CBL_PATA_UNK; 173 + 174 175 return ata_std_prereset(ap); 176 }
+4 -4
drivers/ata/sata_nv.c
··· 669 cpb[idx++] = cpu_to_le16((ATA_REG_ERR << 8) | tf->feature); 670 } else 671 cpb[idx++] = cpu_to_le16((ATA_REG_ERR << 8) | tf->feature | WNB); 672 - 673 cpb[idx++] = cpu_to_le16((ATA_REG_NSECT << 8) | tf->nsect); 674 cpb[idx++] = cpu_to_le16((ATA_REG_LBAL << 8) | tf->lbal); 675 cpb[idx++] = cpu_to_le16((ATA_REG_LBAM << 8) | tf->lbam); 676 cpb[idx++] = cpu_to_le16((ATA_REG_LBAH << 8) | tf->lbah); 677 } 678 - 679 if(tf->flags & ATA_TFLAG_DEVICE) 680 cpb[idx++] = cpu_to_le16((ATA_REG_DEVICE << 8) | tf->device); 681 682 cpb[idx++] = cpu_to_le16((ATA_REG_CMD << 8) | tf->command | CMDEND); 683 - 684 while(idx < 12) 685 cpb[idx++] = cpu_to_le16(IGN); 686 ··· 1402 void __iomem *mmio = pp->ctl_block; 1403 int i; 1404 u16 tmp; 1405 - 1406 if(ata_tag_valid(ap->active_tag) || ap->sactive) { 1407 u32 notifier = readl(mmio + NV_ADMA_NOTIFIER); 1408 u32 notifier_error = readl(mmio + NV_ADMA_NOTIFIER_ERROR);
··· 669 cpb[idx++] = cpu_to_le16((ATA_REG_ERR << 8) | tf->feature); 670 } else 671 cpb[idx++] = cpu_to_le16((ATA_REG_ERR << 8) | tf->feature | WNB); 672 + 673 cpb[idx++] = cpu_to_le16((ATA_REG_NSECT << 8) | tf->nsect); 674 cpb[idx++] = cpu_to_le16((ATA_REG_LBAL << 8) | tf->lbal); 675 cpb[idx++] = cpu_to_le16((ATA_REG_LBAM << 8) | tf->lbam); 676 cpb[idx++] = cpu_to_le16((ATA_REG_LBAH << 8) | tf->lbah); 677 } 678 + 679 if(tf->flags & ATA_TFLAG_DEVICE) 680 cpb[idx++] = cpu_to_le16((ATA_REG_DEVICE << 8) | tf->device); 681 682 cpb[idx++] = cpu_to_le16((ATA_REG_CMD << 8) | tf->command | CMDEND); 683 + 684 while(idx < 12) 685 cpb[idx++] = cpu_to_le16(IGN); 686 ··· 1402 void __iomem *mmio = pp->ctl_block; 1403 int i; 1404 u16 tmp; 1405 + 1406 if(ata_tag_valid(ap->active_tag) || ap->sactive) { 1407 u32 notifier = readl(mmio + NV_ADMA_NOTIFIER); 1408 u32 notifier_error = readl(mmio + NV_ADMA_NOTIFIER_ERROR);
+1 -1
drivers/ata/sata_sis.c
··· 309 case 0x10: 310 ppi[1] = &sis_info133; 311 break; 312 - 313 case 0x30: 314 ppi[0] = &sis_info133; 315 break;
··· 309 case 0x10: 310 ppi[1] = &sis_info133; 311 break; 312 + 313 case 0x30: 314 ppi[0] = &sis_info133; 315 break;
+3 -3
drivers/ata/sata_via.c
··· 60 SATA_PATA_SHARING = 0x49, /* PATA/SATA sharing func ctrl */ 61 PATA_UDMA_TIMING = 0xB3, /* PATA timing for DMA/ cable detect */ 62 PATA_PIO_TIMING = 0xAB, /* PATA timing register */ 63 - 64 PORT0 = (1 << 1), 65 PORT1 = (1 << 0), 66 ALL_PORTS = PORT0 | PORT1, ··· 151 152 static const struct ata_port_operations vt6421_pata_ops = { 153 .port_disable = ata_port_disable, 154 - 155 .set_piomode = vt6421_set_pio_mode, 156 .set_dmamode = vt6421_set_dma_mode, 157 ··· 185 186 static const struct ata_port_operations vt6421_sata_ops = { 187 .port_disable = ata_port_disable, 188 - 189 .tf_load = ata_tf_load, 190 .tf_read = ata_tf_read, 191 .check_status = ata_check_status,
··· 60 SATA_PATA_SHARING = 0x49, /* PATA/SATA sharing func ctrl */ 61 PATA_UDMA_TIMING = 0xB3, /* PATA timing for DMA/ cable detect */ 62 PATA_PIO_TIMING = 0xAB, /* PATA timing register */ 63 + 64 PORT0 = (1 << 1), 65 PORT1 = (1 << 0), 66 ALL_PORTS = PORT0 | PORT1, ··· 151 152 static const struct ata_port_operations vt6421_pata_ops = { 153 .port_disable = ata_port_disable, 154 + 155 .set_piomode = vt6421_set_pio_mode, 156 .set_dmamode = vt6421_set_dma_mode, 157 ··· 185 186 static const struct ata_port_operations vt6421_sata_ops = { 187 .port_disable = ata_port_disable, 188 + 189 .tf_load = ata_tf_load, 190 .tf_read = ata_tf_read, 191 .check_status = ata_check_status,