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
ce028ad0
Commit
ce028ad0
authored
Sep 11, 2002
by
Jens Axboe
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ide_modes.h updates:
o byte -> u8
parent
e7e95e71
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
drivers/ide/ide_modes.h
drivers/ide/ide_modes.h
+6
-6
No files found.
drivers/ide/ide_modes.h
View file @
ce028ad0
...
...
@@ -31,17 +31,17 @@ typedef struct ide_pio_timings_s {
}
ide_pio_timings_t
;
typedef
struct
ide_pio_data_s
{
byte
pio_mode
;
byte
use_iordy
;
byte
overridden
;
byte
blacklisted
;
u8
pio_mode
;
u8
use_iordy
;
u8
overridden
;
u8
blacklisted
;
unsigned
int
cycle_time
;
}
ide_pio_data_t
;
#ifndef _IDE_C
int
ide_scan_pio_blacklist
(
char
*
model
);
byte
ide_get_best_pio_mode
(
ide_drive_t
*
drive
,
byte
mode_wanted
,
byte
max_mode
,
ide_pio_data_t
*
d
);
u8
ide_get_best_pio_mode
(
ide_drive_t
*
drive
,
u8
mode_wanted
,
u8
max_mode
,
ide_pio_data_t
*
d
);
extern
const
ide_pio_timings_t
ide_pio_timings
[
6
];
#else
/* _IDE_C */
...
...
@@ -159,7 +159,7 @@ int ide_scan_pio_blacklist (char *model)
/*
* Drive PIO mode auto selection
*/
byte
ide_get_best_pio_mode
(
ide_drive_t
*
drive
,
byte
mode_wanted
,
byte
max_mode
,
ide_pio_data_t
*
d
)
u8
ide_get_best_pio_mode
(
ide_drive_t
*
drive
,
u8
mode_wanted
,
u8
max_mode
,
ide_pio_data_t
*
d
)
{
int
pio_mode
;
int
cycle_time
=
0
;
...
...
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