Commit 4346f93f authored by Alan Cox's avatar Alan Cox Committed by Linus Torvalds

[PATCH] ide typo fixes

parent cb131151
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
* linux/drivers/ide/ide-disk.c Version 1.18 Mar 05, 2003 * linux/drivers/ide/ide-disk.c Version 1.18 Mar 05, 2003
* *
* Copyright (C) 1994-1998 Linus Torvalds & authors (see below) * Copyright (C) 1994-1998 Linus Torvalds & authors (see below)
* Copyright (C) 1998-2002 Linux ATA Developemt * Copyright (C) 1998-2002 Linux ATA Development
* Andre Hedrick <andre@linux-ide.org> * Andre Hedrick <andre@linux-ide.org>
* Copyright (C) 2003 Red Hat <alan@redhat.com> * Copyright (C) 2003 Red Hat <alan@redhat.com>
*/ */
...@@ -69,7 +69,7 @@ ...@@ -69,7 +69,7 @@
#include <asm/uaccess.h> #include <asm/uaccess.h>
#include <asm/io.h> #include <asm/io.h>
/* FIXME: some day we shouldnt need to look in here! */ /* FIXME: some day we shouldn't need to look in here! */
#include "legacy/pdc4030.h" #include "legacy/pdc4030.h"
...@@ -179,7 +179,7 @@ static ide_startstop_t read_intr (ide_drive_t *drive) ...@@ -179,7 +179,7 @@ static ide_startstop_t read_intr (ide_drive_t *drive)
if (((long)(rq->current_nr_sectors -= nsect)) <= 0) if (((long)(rq->current_nr_sectors -= nsect)) <= 0)
ide_end_request(drive, 1, rq->hard_cur_sectors); ide_end_request(drive, 1, rq->hard_cur_sectors);
/* /*
* Another BH Page walker and DATA INTERGRITY Questioned on ERROR. * Another BH Page walker and DATA INTEGRITY Questioned on ERROR.
* If passed back up on multimode read, BAD DATA could be ACKED * If passed back up on multimode read, BAD DATA could be ACKED
* to FILE SYSTEMS above ... * to FILE SYSTEMS above ...
*/ */
......
...@@ -686,7 +686,7 @@ u8 eighty_ninty_three (ide_drive_t *drive) ...@@ -686,7 +686,7 @@ u8 eighty_ninty_three (ide_drive_t *drive)
int hssbd = 0; int hssbd = 0;
int i; int i;
/* /*
* Determime highest Supported SPEC * Determine highest Supported SPEC
*/ */
for (i=1; i<=15; i++) for (i=1; i<=15; i++)
if (drive->id->major_rev_num & (1<<i)) if (drive->id->major_rev_num & (1<<i))
......
...@@ -283,7 +283,7 @@ static inline void do_identify (ide_drive_t *drive, u8 cmd) ...@@ -283,7 +283,7 @@ static inline void do_identify (ide_drive_t *drive, u8 cmd)
/** /**
* actual_try_to_identify - send ata/atapi identify * actual_try_to_identify - send ata/atapi identify
* @drive: drive to identify * @drive: drive to identify
* @cmd: comamnd to use * @cmd: command to use
* *
* try_to_identify() sends an ATA(PI) IDENTIFY request to a drive * try_to_identify() sends an ATA(PI) IDENTIFY request to a drive
* and waits for a response. It also monitors irqs while this is * and waits for a response. It also monitors irqs while this is
...@@ -371,7 +371,7 @@ static int actual_try_to_identify (ide_drive_t *drive, u8 cmd) ...@@ -371,7 +371,7 @@ static int actual_try_to_identify (ide_drive_t *drive, u8 cmd)
/** /**
* try_to_identify - try to identify a drive * try_to_identify - try to identify a drive
* @drive: drive to probe * @drive: drive to probe
* @cmd: comamnd to use * @cmd: command to use
* *
* Issue the identify command and then do IRQ probing to * Issue the identify command and then do IRQ probing to
* complete the identification when needed by finding the * complete the identification when needed by finding the
......
...@@ -280,7 +280,7 @@ ...@@ -280,7 +280,7 @@
* - Add idetape_onstream_mode_sense_tape_parameter_page * - Add idetape_onstream_mode_sense_tape_parameter_page
* function to get tape capacity in frames: tape->capacity. * function to get tape capacity in frames: tape->capacity.
* - Add support for DI-50 drives( or any DI- drive). * - Add support for DI-50 drives( or any DI- drive).
* - 'workaround' for read error/blank block arround block 3000. * - 'workaround' for read error/blank block around block 3000.
* - Implement Early warning for end of media for Onstream. * - Implement Early warning for end of media for Onstream.
* - Cosmetic code changes for readability. * - Cosmetic code changes for readability.
* - Idetape_position_tape should not use SKIP bit during * - Idetape_position_tape should not use SKIP bit during
...@@ -514,7 +514,7 @@ typedef struct os_dat_s { ...@@ -514,7 +514,7 @@ typedef struct os_dat_s {
* AUX * AUX
*/ */
typedef struct os_aux_s { typedef struct os_aux_s {
__u32 format_id; /* hardware compability AUX is based on */ __u32 format_id; /* hardware compatibility AUX is based on */
char application_sig[4]; /* driver used to write this media */ char application_sig[4]; /* driver used to write this media */
__u32 hdwr; /* reserved */ __u32 hdwr; /* reserved */
__u32 update_frame_cntr; /* for configuration frame */ __u32 update_frame_cntr; /* for configuration frame */
...@@ -1005,7 +1005,7 @@ typedef struct { ...@@ -1005,7 +1005,7 @@ typedef struct {
struct completion *waiting; struct completion *waiting;
int onstream_write_error; /* write error recovery active */ int onstream_write_error; /* write error recovery active */
int header_ok; /* header frame verified ok */ int header_ok; /* header frame verified ok */
int linux_media; /* reading linux-specifc media */ int linux_media; /* reading linux-specific media */
int linux_media_version; int linux_media_version;
char application_sig[5]; /* application signature */ char application_sig[5]; /* application signature */
int filemark_cnt; int filemark_cnt;
......
...@@ -904,7 +904,7 @@ void ide_setup_ports ( hw_regs_t *hw, ...@@ -904,7 +904,7 @@ void ide_setup_ports ( hw_regs_t *hw,
EXPORT_SYMBOL(ide_setup_ports); EXPORT_SYMBOL(ide_setup_ports);
/* /*
* Register an IDE interface, specifing exactly the registers etc * Register an IDE interface, specifying exactly the registers etc
* Set init=1 iff calling before probes have taken place. * Set init=1 iff calling before probes have taken place.
*/ */
int ide_register_hw (hw_regs_t *hw, ide_hwif_t **hwifp) int ide_register_hw (hw_regs_t *hw, ide_hwif_t **hwifp)
...@@ -955,7 +955,7 @@ int ide_register_hw (hw_regs_t *hw, ide_hwif_t **hwifp) ...@@ -955,7 +955,7 @@ int ide_register_hw (hw_regs_t *hw, ide_hwif_t **hwifp)
EXPORT_SYMBOL(ide_register_hw); EXPORT_SYMBOL(ide_register_hw);
/* /*
* Compatability function with existing drivers. If you want * Compatibility function with existing drivers. If you want
* something different, use the function above. * something different, use the function above.
*/ */
int ide_register (int arg1, int arg2, int irq) int ide_register (int arg1, int arg2, int irq)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment