drivers/ata/: Spelling fixes
Signed-off-by: Joe Perches <joe@perches.com> Signed-off-by: Adrian Bunk <bunk@kernel.org>
This commit is contained in:
parent
aee07ba683
commit
1967b7ff75
@ -837,7 +837,7 @@ static void piix_set_piomode(struct ata_port *ap, struct ata_device *adev)
|
||||
if (is_slave) {
|
||||
/* clear TIME1|IE1|PPE1|DTE1 */
|
||||
master_data &= 0xff0f;
|
||||
/* Enable SITRE (seperate slave timing register) */
|
||||
/* Enable SITRE (separate slave timing register) */
|
||||
master_data |= 0x4000;
|
||||
/* enable PPE1, IE1 and TIME1 as needed */
|
||||
master_data |= (control << 4);
|
||||
|
@ -3097,7 +3097,7 @@ static int ata_dev_set_mode(struct ata_device *dev)
|
||||
/**
|
||||
* ata_do_set_mode - Program timings and issue SET FEATURES - XFER
|
||||
* @link: link on which timings will be programmed
|
||||
* @r_failed_dev: out paramter for failed device
|
||||
* @r_failed_dev: out parameter for failed device
|
||||
*
|
||||
* Standard implementation of the function used to tune and set
|
||||
* ATA device disk transfer mode (PIO3, UDMA6, etc.). If
|
||||
|
@ -324,7 +324,7 @@ static int __init pata_at32_probe(struct platform_device *pdev)
|
||||
if (irq < 0)
|
||||
return irq;
|
||||
|
||||
/* Setup struct containing private infomation */
|
||||
/* Setup struct containing private information */
|
||||
info = kzalloc(sizeof(struct at32_ide_info), GFP_KERNEL);
|
||||
if (!info)
|
||||
return -ENOMEM;
|
||||
|
@ -135,7 +135,7 @@ static void efar_set_piomode (struct ata_port *ap, struct ata_device *adev)
|
||||
idetm_data &= 0xCC0F;
|
||||
idetm_data |= (control << 4);
|
||||
|
||||
/* Slave timing in seperate register */
|
||||
/* Slave timing in separate register */
|
||||
pci_read_config_byte(dev, 0x44, &slave_data);
|
||||
slave_data &= 0x0F << shift;
|
||||
slave_data |= ((timings[pio][0] << 2) | timings[pio][1]) << shift;
|
||||
|
@ -128,7 +128,7 @@ static void it8213_set_piomode (struct ata_port *ap, struct ata_device *adev)
|
||||
idetm_data &= 0xCC0F;
|
||||
idetm_data |= (control << 4);
|
||||
|
||||
/* Slave timing in seperate register */
|
||||
/* Slave timing in separate register */
|
||||
pci_read_config_byte(dev, 0x44, &slave_data);
|
||||
slave_data &= 0xF0;
|
||||
slave_data |= ((timings[pio][0] << 2) | timings[pio][1]) << 4;
|
||||
|
@ -345,7 +345,7 @@ static void sis_old_set_dmamode (struct ata_port *ap, struct ata_device *adev)
|
||||
|
||||
if (adev->dma_mode < XFER_UDMA_0) {
|
||||
/* bits 3-0 hold recovery timing bits 8-10 active timing and
|
||||
the higer bits are dependant on the device */
|
||||
the higher bits are dependant on the device */
|
||||
timing &= ~0x870F;
|
||||
timing |= mwdma_bits[speed];
|
||||
} else {
|
||||
@ -385,7 +385,7 @@ static void sis_66_set_dmamode (struct ata_port *ap, struct ata_device *adev)
|
||||
|
||||
if (adev->dma_mode < XFER_UDMA_0) {
|
||||
/* bits 3-0 hold recovery timing bits 8-10 active timing and
|
||||
the higer bits are dependant on the device, bit 15 udma */
|
||||
the higher bits are dependant on the device, bit 15 udma */
|
||||
timing &= ~0x870F;
|
||||
timing |= mwdma_bits[speed];
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user