Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
linux
Commits
4346f93f
Commit
4346f93f
authored
Mar 22, 2003
by
Alan Cox
Committed by
Linus Torvalds
Mar 22, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] ide typo fixes
parent
cb131151
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
11 additions
and
11 deletions
+11
-11
drivers/ide/ide-disk.c
drivers/ide/ide-disk.c
+3
-3
drivers/ide/ide-iops.c
drivers/ide/ide-iops.c
+1
-1
drivers/ide/ide-probe.c
drivers/ide/ide-probe.c
+2
-2
drivers/ide/ide-tape.c
drivers/ide/ide-tape.c
+3
-3
drivers/ide/ide.c
drivers/ide/ide.c
+2
-2
No files found.
drivers/ide/ide-disk.c
View file @
4346f93f
...
@@ -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 Develop
em
t
* Copyright (C) 1998-2002 Linux ATA Develop
men
t
* 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 INTE
R
GRITY 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 ...
*/
*/
...
...
drivers/ide/ide-iops.c
View file @
4346f93f
...
@@ -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;
/*
/*
* Determi
m
e highest Supported SPEC
* Determi
n
e 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))
...
...
drivers/ide/ide-probe.c
View file @
4346f93f
...
@@ -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: com
am
nd to use
* @cmd: com
ma
nd 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: com
am
nd to use
* @cmd: com
ma
nd 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
...
...
drivers/ide/ide-tape.c
View file @
4346f93f
...
@@ -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 ar
r
ound 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 compa
ti
bility 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-specif
i
c 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
;
...
...
drivers/ide/ide.c
View file @
4346f93f
...
@@ -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, specif
y
ing 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
);
/*
/*
* Compat
a
bility function with existing drivers. If you want
* Compat
i
bility 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
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment