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
Kirill Smelkov
linux
Commits
66790548
Commit
66790548
authored
Feb 17, 2007
by
Bartlomiej Zolnierkiewicz
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ide: remove write-only ide_pio_data_t.blacklisted
Signed-off-by:
Bartlomiej Zolnierkiewicz
<
bzolnier@gmail.com
>
parent
ac4a3065
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
4 deletions
+0
-4
drivers/ide/ide-lib.c
drivers/ide/ide-lib.c
+0
-3
include/linux/ide.h
include/linux/ide.h
+0
-1
No files found.
drivers/ide/ide-lib.c
View file @
66790548
...
...
@@ -349,7 +349,6 @@ u8 ide_get_best_pio_mode (ide_drive_t *drive, u8 mode_wanted, u8 max_mode, ide_p
int
use_iordy
=
0
;
struct
hd_driveid
*
id
=
drive
->
id
;
int
overridden
=
0
;
int
blacklisted
=
0
;
if
(
mode_wanted
!=
255
)
{
pio_mode
=
mode_wanted
;
...
...
@@ -357,7 +356,6 @@ u8 ide_get_best_pio_mode (ide_drive_t *drive, u8 mode_wanted, u8 max_mode, ide_p
pio_mode
=
0
;
}
else
if
((
pio_mode
=
ide_scan_pio_blacklist
(
id
->
model
))
!=
-
1
)
{
overridden
=
1
;
blacklisted
=
1
;
use_iordy
=
(
pio_mode
>
2
);
}
else
{
pio_mode
=
id
->
tPIO
;
...
...
@@ -409,7 +407,6 @@ u8 ide_get_best_pio_mode (ide_drive_t *drive, u8 mode_wanted, u8 max_mode, ide_p
d
->
cycle_time
=
cycle_time
?
cycle_time
:
ide_pio_timings
[
pio_mode
].
cycle_time
;
d
->
use_iordy
=
use_iordy
;
d
->
overridden
=
overridden
;
d
->
blacklisted
=
blacklisted
;
}
return
pio_mode
;
}
...
...
include/linux/ide.h
View file @
66790548
...
...
@@ -1367,7 +1367,6 @@ typedef struct ide_pio_data_s {
u8
pio_mode
;
u8
use_iordy
;
u8
overridden
;
u8
blacklisted
;
unsigned
int
cycle_time
;
}
ide_pio_data_t
;
...
...
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