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
278db3a7
Commit
278db3a7
authored
Aug 30, 2003
by
Bartlomiej Zolnierkiewicz
Committed by
Linus Torvalds
Aug 30, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] kill ide_modes.h
parent
a64e02a6
Changes
34
Hide whitespace changes
Inline
Side-by-side
Showing
34 changed files
with
32 additions
and
82 deletions
+32
-82
drivers/ide/ide-io.c
drivers/ide/ide-io.c
+0
-2
drivers/ide/ide-lib.c
drivers/ide/ide-lib.c
+13
-2
drivers/ide/ide.c
drivers/ide/ide.c
+0
-2
drivers/ide/ide_modes.h
drivers/ide/ide_modes.h
+0
-41
drivers/ide/legacy/ali14xx.c
drivers/ide/legacy/ali14xx.c
+0
-2
drivers/ide/legacy/dtc2278.c
drivers/ide/legacy/dtc2278.c
+0
-2
drivers/ide/legacy/ht6560b.c
drivers/ide/legacy/ht6560b.c
+0
-2
drivers/ide/legacy/qd65xx.c
drivers/ide/legacy/qd65xx.c
+0
-1
drivers/ide/legacy/umc8672.c
drivers/ide/legacy/umc8672.c
+0
-2
drivers/ide/pci/aec62xx.c
drivers/ide/pci/aec62xx.c
+0
-1
drivers/ide/pci/alim15x3.c
drivers/ide/pci/alim15x3.c
+0
-1
drivers/ide/pci/cmd640.c
drivers/ide/pci/cmd640.c
+0
-2
drivers/ide/pci/cmd64x.c
drivers/ide/pci/cmd64x.c
+0
-1
drivers/ide/pci/cs5520.c
drivers/ide/pci/cs5520.c
+0
-1
drivers/ide/pci/cs5530.c
drivers/ide/pci/cs5530.c
+0
-1
drivers/ide/pci/cy82c693.c
drivers/ide/pci/cy82c693.c
+1
-2
drivers/ide/pci/hpt34x.c
drivers/ide/pci/hpt34x.c
+0
-1
drivers/ide/pci/hpt366.c
drivers/ide/pci/hpt366.c
+0
-1
drivers/ide/pci/it8172.c
drivers/ide/pci/it8172.c
+0
-1
drivers/ide/pci/opti621.c
drivers/ide/pci/opti621.c
+0
-1
drivers/ide/pci/pdc202xx_new.c
drivers/ide/pci/pdc202xx_new.c
+0
-1
drivers/ide/pci/pdc202xx_old.c
drivers/ide/pci/pdc202xx_old.c
+0
-1
drivers/ide/pci/pdcadma.c
drivers/ide/pci/pdcadma.c
+0
-1
drivers/ide/pci/piix.c
drivers/ide/pci/piix.c
+0
-1
drivers/ide/pci/sc1200.c
drivers/ide/pci/sc1200.c
+0
-1
drivers/ide/pci/serverworks.c
drivers/ide/pci/serverworks.c
+0
-1
drivers/ide/pci/siimage.c
drivers/ide/pci/siimage.c
+0
-1
drivers/ide/pci/sis5513.c
drivers/ide/pci/sis5513.c
+0
-1
drivers/ide/pci/sl82c105.c
drivers/ide/pci/sl82c105.c
+0
-1
drivers/ide/pci/slc90e66.c
drivers/ide/pci/slc90e66.c
+0
-1
drivers/ide/pci/triflex.c
drivers/ide/pci/triflex.c
+0
-1
drivers/ide/ppc/mpc8xx.c
drivers/ide/ppc/mpc8xx.c
+0
-1
drivers/ide/ppc/pmac.c
drivers/ide/ppc/pmac.c
+0
-1
include/linux/ide.h
include/linux/ide.h
+18
-0
No files found.
drivers/ide/ide-io.c
View file @
278db3a7
...
@@ -54,8 +54,6 @@
...
@@ -54,8 +54,6 @@
#include <asm/io.h>
#include <asm/io.h>
#include <asm/bitops.h>
#include <asm/bitops.h>
#include "ide_modes.h"
#if (DISK_RECOVERY_TIME > 0)
#if (DISK_RECOVERY_TIME > 0)
#error So the User Has To Fix the Compilation And Stop Hacking Port 0x43. Does anyone ever use this anyway ??
#error So the User Has To Fix the Compilation And Stop Hacking Port 0x43. Does anyone ever use this anyway ??
...
...
drivers/ide/ide-lib.c
View file @
278db3a7
...
@@ -22,8 +22,6 @@
...
@@ -22,8 +22,6 @@
#include <asm/io.h>
#include <asm/io.h>
#include <asm/bitops.h>
#include <asm/bitops.h>
#include "ide_modes.h"
/*
/*
* IDE library routines. These are plug in code that most
* IDE library routines. These are plug in code that most
* drivers can use but occasionally may be weird enough
* drivers can use but occasionally may be weird enough
...
@@ -188,6 +186,12 @@ int ide_dma_enable (ide_drive_t *drive)
...
@@ -188,6 +186,12 @@ int ide_dma_enable (ide_drive_t *drive)
EXPORT_SYMBOL
(
ide_dma_enable
);
EXPORT_SYMBOL
(
ide_dma_enable
);
/*
* Standard (generic) timings for PIO modes, from ATA2 specification.
* These timings are for access to the IDE data port register *only*.
* Some drives may specify a mode, while also specifying a different
* value for cycle_time (from drive identification data).
*/
const
ide_pio_timings_t
ide_pio_timings
[
6
]
=
{
const
ide_pio_timings_t
ide_pio_timings
[
6
]
=
{
{
70
,
165
,
600
},
/* PIO Mode 0 */
{
70
,
165
,
600
},
/* PIO Mode 0 */
{
50
,
125
,
383
},
/* PIO Mode 1 */
{
50
,
125
,
383
},
/* PIO Mode 1 */
...
@@ -199,6 +203,13 @@ const ide_pio_timings_t ide_pio_timings[6] = {
...
@@ -199,6 +203,13 @@ const ide_pio_timings_t ide_pio_timings[6] = {
EXPORT_SYMBOL_GPL
(
ide_pio_timings
);
EXPORT_SYMBOL_GPL
(
ide_pio_timings
);
/*
* Shared data/functions for determining best PIO mode for an IDE drive.
* Most of this stuff originally lived in cmd640.c, and changes to the
* ide_pio_blacklist[] table should be made with EXTREME CAUTION to avoid
* breaking the fragile cmd640.c support.
*/
/*
/*
* Black list. Some drives incorrectly report their maximal PIO mode,
* Black list. Some drives incorrectly report their maximal PIO mode,
* at least in respect to CMD640. Here we keep info on some known drives.
* at least in respect to CMD640. Here we keep info on some known drives.
...
...
drivers/ide/ide.c
View file @
278db3a7
...
@@ -161,8 +161,6 @@
...
@@ -161,8 +161,6 @@
#include <asm/io.h>
#include <asm/io.h>
#include <asm/bitops.h>
#include <asm/bitops.h>
#include "ide_modes.h"
/* default maximum number of failures */
/* default maximum number of failures */
#define IDE_DEFAULT_MAX_FAILURES 1
#define IDE_DEFAULT_MAX_FAILURES 1
...
...
drivers/ide/ide_modes.h
deleted
100644 → 0
View file @
a64e02a6
/*
* linux/drivers/ide/ide_modes.h
*
* Copyright (C) 1996 Linus Torvalds, Igor Abramov, and Mark Lord
*/
#ifndef _IDE_MODES_H
#define _IDE_MODES_H
#include <linux/config.h>
/*
* Shared data/functions for determining best PIO mode for an IDE drive.
* Most of this stuff originally lived in cmd640.c, and changes to the
* ide_pio_blacklist[] table should be made with EXTREME CAUTION to avoid
* breaking the fragile cmd640.c support.
*/
/*
* Standard (generic) timings for PIO modes, from ATA2 specification.
* These timings are for access to the IDE data port register *only*.
* Some drives may specify a mode, while also specifying a different
* value for cycle_time (from drive identification data).
*/
typedef
struct
ide_pio_timings_s
{
int
setup_time
;
/* Address setup (ns) minimum */
int
active_time
;
/* Active pulse (ns) minimum */
int
cycle_time
;
/* Cycle time (ns) minimum = (setup + active + recovery) */
}
ide_pio_timings_t
;
typedef
struct
ide_pio_data_s
{
u8
pio_mode
;
u8
use_iordy
;
u8
overridden
;
u8
blacklisted
;
unsigned
int
cycle_time
;
}
ide_pio_data_t
;
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
];
#endif
/* _IDE_MODES_H */
drivers/ide/legacy/ali14xx.c
View file @
278db3a7
...
@@ -54,8 +54,6 @@
...
@@ -54,8 +54,6 @@
#include <asm/io.h>
#include <asm/io.h>
#include "ide_modes.h"
/* port addresses for auto-detection */
/* port addresses for auto-detection */
#define ALI_NUM_PORTS 4
#define ALI_NUM_PORTS 4
static
int
ports
[
ALI_NUM_PORTS
]
__initdata
=
{
0x074
,
0x0f4
,
0x034
,
0x0e4
};
static
int
ports
[
ALI_NUM_PORTS
]
__initdata
=
{
0x074
,
0x0f4
,
0x034
,
0x0e4
};
...
...
drivers/ide/legacy/dtc2278.c
View file @
278db3a7
...
@@ -21,8 +21,6 @@
...
@@ -21,8 +21,6 @@
#include <asm/io.h>
#include <asm/io.h>
#include "ide_modes.h"
/*
/*
* Changing this #undef to #define may solve start up problems in some systems.
* Changing this #undef to #define may solve start up problems in some systems.
*/
*/
...
...
drivers/ide/legacy/ht6560b.c
View file @
278db3a7
...
@@ -53,8 +53,6 @@
...
@@ -53,8 +53,6 @@
#include <asm/io.h>
#include <asm/io.h>
#include "ide_modes.h"
/* #define DEBUG */
/* remove comments for DEBUG messages */
/* #define DEBUG */
/* remove comments for DEBUG messages */
/*
/*
...
...
drivers/ide/legacy/qd65xx.c
View file @
278db3a7
...
@@ -42,7 +42,6 @@
...
@@ -42,7 +42,6 @@
#include <asm/system.h>
#include <asm/system.h>
#include <asm/io.h>
#include <asm/io.h>
#include "ide_modes.h"
#include "qd65xx.h"
#include "qd65xx.h"
/*
/*
...
...
drivers/ide/legacy/umc8672.c
View file @
278db3a7
...
@@ -54,8 +54,6 @@
...
@@ -54,8 +54,6 @@
#include <asm/io.h>
#include <asm/io.h>
#include "ide_modes.h"
/*
/*
* Default speeds. These can be changed with "auto-tune" and/or hdparm.
* Default speeds. These can be changed with "auto-tune" and/or hdparm.
*/
*/
...
...
drivers/ide/pci/aec62xx.c
View file @
278db3a7
...
@@ -16,7 +16,6 @@
...
@@ -16,7 +16,6 @@
#include <asm/io.h>
#include <asm/io.h>
#include "ide_modes.h"
#include "aec62xx.h"
#include "aec62xx.h"
#if defined(DISPLAY_AEC62XX_TIMINGS) && defined(CONFIG_PROC_FS)
#if defined(DISPLAY_AEC62XX_TIMINGS) && defined(CONFIG_PROC_FS)
...
...
drivers/ide/pci/alim15x3.c
View file @
278db3a7
...
@@ -37,7 +37,6 @@
...
@@ -37,7 +37,6 @@
#include <asm/io.h>
#include <asm/io.h>
#include "ide_modes.h"
#include "alim15x3.h"
#include "alim15x3.h"
/*
/*
...
...
drivers/ide/pci/cmd640.c
View file @
278db3a7
...
@@ -115,8 +115,6 @@
...
@@ -115,8 +115,6 @@
#include <asm/io.h>
#include <asm/io.h>
#include "ide_modes.h"
/*
/*
* This flag is set in ide.c by the parameter: ide0=cmd640_vlb
* This flag is set in ide.c by the parameter: ide0=cmd640_vlb
*/
*/
...
...
drivers/ide/pci/cmd64x.c
View file @
278db3a7
...
@@ -25,7 +25,6 @@
...
@@ -25,7 +25,6 @@
#include <asm/io.h>
#include <asm/io.h>
#include "ide_modes.h"
#include "cmd64x.h"
#include "cmd64x.h"
#if defined(DISPLAY_CMD64X_TIMINGS) && defined(CONFIG_PROC_FS)
#if defined(DISPLAY_CMD64X_TIMINGS) && defined(CONFIG_PROC_FS)
...
...
drivers/ide/pci/cs5520.c
View file @
278db3a7
...
@@ -51,7 +51,6 @@
...
@@ -51,7 +51,6 @@
#include <asm/io.h>
#include <asm/io.h>
#include <asm/irq.h>
#include <asm/irq.h>
#include "ide_modes.h"
#include "cs5520.h"
#include "cs5520.h"
#if defined(DISPLAY_CS5520_TIMINGS) && defined(CONFIG_PROC_FS)
#if defined(DISPLAY_CS5520_TIMINGS) && defined(CONFIG_PROC_FS)
...
...
drivers/ide/pci/cs5530.c
View file @
278db3a7
...
@@ -31,7 +31,6 @@
...
@@ -31,7 +31,6 @@
#include <asm/io.h>
#include <asm/io.h>
#include <asm/irq.h>
#include <asm/irq.h>
#include "ide_modes.h"
#include "cs5530.h"
#include "cs5530.h"
#if defined(DISPLAY_CS5530_TIMINGS) && defined(CONFIG_PROC_FS)
#if defined(DISPLAY_CS5530_TIMINGS) && defined(CONFIG_PROC_FS)
...
...
drivers/ide/pci/cy82c693.c
View file @
278db3a7
...
@@ -54,7 +54,6 @@
...
@@ -54,7 +54,6 @@
#include <asm/io.h>
#include <asm/io.h>
#include "ide_modes.h"
#include "cy82c693.h"
#include "cy82c693.h"
/*
/*
...
@@ -113,7 +112,7 @@ static void compute_clocks (u8 pio, pio_clocks_t *p_pclk)
...
@@ -113,7 +112,7 @@ static void compute_clocks (u8 pio, pio_clocks_t *p_pclk)
/* note: we use the same values for 16bit IOR and IOW
/* note: we use the same values for 16bit IOR and IOW
* those are all the same, since I don't have other
* those are all the same, since I don't have other
* timings than those from ide
_modes.h
* timings than those from ide
-lib.c
*/
*/
p_pclk
->
time_16r
=
(
u8
)
clk1
;
p_pclk
->
time_16r
=
(
u8
)
clk1
;
...
...
drivers/ide/pci/hpt34x.c
View file @
278db3a7
...
@@ -42,7 +42,6 @@
...
@@ -42,7 +42,6 @@
#include <asm/io.h>
#include <asm/io.h>
#include <asm/irq.h>
#include <asm/irq.h>
#include "ide_modes.h"
#include "hpt34x.h"
#include "hpt34x.h"
#if defined(DISPLAY_HPT34X_TIMINGS) && defined(CONFIG_PROC_FS)
#if defined(DISPLAY_HPT34X_TIMINGS) && defined(CONFIG_PROC_FS)
...
...
drivers/ide/pci/hpt366.c
View file @
278db3a7
...
@@ -62,7 +62,6 @@
...
@@ -62,7 +62,6 @@
#include <asm/io.h>
#include <asm/io.h>
#include <asm/irq.h>
#include <asm/irq.h>
#include "ide_modes.h"
#include "hpt366.h"
#include "hpt366.h"
#if defined(DISPLAY_HPT366_TIMINGS) && defined(CONFIG_PROC_FS)
#if defined(DISPLAY_HPT366_TIMINGS) && defined(CONFIG_PROC_FS)
...
...
drivers/ide/pci/it8172.c
View file @
278db3a7
...
@@ -42,7 +42,6 @@
...
@@ -42,7 +42,6 @@
#include <asm/io.h>
#include <asm/io.h>
#include <asm/it8172/it8172_int.h>
#include <asm/it8172/it8172_int.h>
#include "ide_modes.h"
#include "it8172.h"
#include "it8172.h"
/*
/*
...
...
drivers/ide/pci/opti621.c
View file @
278db3a7
...
@@ -104,7 +104,6 @@
...
@@ -104,7 +104,6 @@
#include <asm/io.h>
#include <asm/io.h>
#include "ide_modes.h"
#include "opti621.h"
#include "opti621.h"
#define OPTI621_MAX_PIO 3
#define OPTI621_MAX_PIO 3
...
...
drivers/ide/pci/pdc202xx_new.c
View file @
278db3a7
...
@@ -32,7 +32,6 @@
...
@@ -32,7 +32,6 @@
#include <asm/io.h>
#include <asm/io.h>
#include <asm/irq.h>
#include <asm/irq.h>
#include "ide_modes.h"
#include "pdc202xx_new.h"
#include "pdc202xx_new.h"
#define PDC202_DEBUG_CABLE 0
#define PDC202_DEBUG_CABLE 0
...
...
drivers/ide/pci/pdc202xx_old.c
View file @
278db3a7
...
@@ -46,7 +46,6 @@
...
@@ -46,7 +46,6 @@
#include <asm/io.h>
#include <asm/io.h>
#include <asm/irq.h>
#include <asm/irq.h>
#include "ide_modes.h"
#include "pdc202xx_old.h"
#include "pdc202xx_old.h"
#define PDC202_DEBUG_CABLE 0
#define PDC202_DEBUG_CABLE 0
...
...
drivers/ide/pci/pdcadma.c
View file @
278db3a7
...
@@ -24,7 +24,6 @@
...
@@ -24,7 +24,6 @@
#include <asm/io.h>
#include <asm/io.h>
#include <asm/irq.h>
#include <asm/irq.h>
#include "ide_modes.h"
#include "pdcadma.h"
#include "pdcadma.h"
#if defined(DISPLAY_PDCADMA_TIMINGS) && defined(CONFIG_PROC_FS)
#if defined(DISPLAY_PDCADMA_TIMINGS) && defined(CONFIG_PROC_FS)
...
...
drivers/ide/pci/piix.c
View file @
278db3a7
...
@@ -103,7 +103,6 @@
...
@@ -103,7 +103,6 @@
#include <asm/io.h>
#include <asm/io.h>
#include "ide_modes.h"
#include "piix.h"
#include "piix.h"
static
int
no_piix_dma
;
static
int
no_piix_dma
;
...
...
drivers/ide/pci/sc1200.c
View file @
278db3a7
...
@@ -29,7 +29,6 @@
...
@@ -29,7 +29,6 @@
#include <asm/io.h>
#include <asm/io.h>
#include <asm/irq.h>
#include <asm/irq.h>
#include "ide_modes.h"
#include "sc1200.h"
#include "sc1200.h"
#define SC1200_REV_A 0x00
#define SC1200_REV_A 0x00
...
...
drivers/ide/pci/serverworks.c
View file @
278db3a7
...
@@ -39,7 +39,6 @@
...
@@ -39,7 +39,6 @@
#include <asm/io.h>
#include <asm/io.h>
#include "ide_modes.h"
#include "serverworks.h"
#include "serverworks.h"
static
u8
svwks_revision
=
0
;
static
u8
svwks_revision
=
0
;
...
...
drivers/ide/pci/siimage.c
View file @
278db3a7
...
@@ -15,7 +15,6 @@
...
@@ -15,7 +15,6 @@
#include <asm/io.h>
#include <asm/io.h>
#include "ide_modes.h"
#include "siimage.h"
#include "siimage.h"
#if defined(DISPLAY_SIIMAGE_TIMINGS) && defined(CONFIG_PROC_FS)
#if defined(DISPLAY_SIIMAGE_TIMINGS) && defined(CONFIG_PROC_FS)
...
...
drivers/ide/pci/sis5513.c
View file @
278db3a7
...
@@ -63,7 +63,6 @@
...
@@ -63,7 +63,6 @@
#include <asm/irq.h>
#include <asm/irq.h>
#include "ide-timing.h"
#include "ide-timing.h"
#include "ide_modes.h"
#include "sis5513.h"
#include "sis5513.h"
/* registers layout and init values are chipset family dependant */
/* registers layout and init values are chipset family dependant */
...
...
drivers/ide/pci/sl82c105.c
View file @
278db3a7
...
@@ -29,7 +29,6 @@
...
@@ -29,7 +29,6 @@
#include <asm/io.h>
#include <asm/io.h>
#include <asm/dma.h>
#include <asm/dma.h>
#include "ide_modes.h"
#include "sl82c105.h"
#include "sl82c105.h"
#undef DEBUG
#undef DEBUG
...
...
drivers/ide/pci/slc90e66.c
View file @
278db3a7
...
@@ -21,7 +21,6 @@
...
@@ -21,7 +21,6 @@
#include <asm/io.h>
#include <asm/io.h>
#include "ide_modes.h"
#include "slc90e66.h"
#include "slc90e66.h"
#if defined(DISPLAY_SLC90E66_TIMINGS) && defined(CONFIG_PROC_FS)
#if defined(DISPLAY_SLC90E66_TIMINGS) && defined(CONFIG_PROC_FS)
...
...
drivers/ide/pci/triflex.c
View file @
278db3a7
...
@@ -41,7 +41,6 @@
...
@@ -41,7 +41,6 @@
#include <linux/ide.h>
#include <linux/ide.h>
#include <linux/init.h>
#include <linux/init.h>
#include "ide_modes.h"
#include "triflex.h"
#include "triflex.h"
static
struct
pci_dev
*
triflex_dev
;
static
struct
pci_dev
*
triflex_dev
;
...
...
drivers/ide/ppc/mpc8xx.c
View file @
278db3a7
...
@@ -42,7 +42,6 @@
...
@@ -42,7 +42,6 @@
#include <asm/machdep.h>
#include <asm/machdep.h>
#include <asm/irq.h>
#include <asm/irq.h>
#include "ide_modes.h"
static
int
identify
(
volatile
u8
*
p
);
static
int
identify
(
volatile
u8
*
p
);
static
void
print_fixed
(
volatile
u8
*
p
);
static
void
print_fixed
(
volatile
u8
*
p
);
static
void
print_funcid
(
int
func
);
static
void
print_funcid
(
int
func
);
...
...
drivers/ide/ppc/pmac.c
View file @
278db3a7
...
@@ -42,7 +42,6 @@
...
@@ -42,7 +42,6 @@
#include <linux/adb.h>
#include <linux/adb.h>
#include <linux/pmu.h>
#include <linux/pmu.h>
#endif
#endif
#include "ide_modes.h"
extern
void
ide_do_request
(
ide_hwgroup_t
*
hwgroup
,
int
masked_irq
);
extern
void
ide_do_request
(
ide_hwgroup_t
*
hwgroup
,
int
masked_irq
);
...
...
include/linux/ide.h
View file @
278db3a7
...
@@ -1794,6 +1794,24 @@ extern char *ide_xfer_verbose(u8 xfer_rate);
...
@@ -1794,6 +1794,24 @@ extern char *ide_xfer_verbose(u8 xfer_rate);
extern
void
ide_toggle_bounce
(
ide_drive_t
*
drive
,
int
on
);
extern
void
ide_toggle_bounce
(
ide_drive_t
*
drive
,
int
on
);
extern
int
ide_set_xfer_rate
(
ide_drive_t
*
drive
,
u8
rate
);
extern
int
ide_set_xfer_rate
(
ide_drive_t
*
drive
,
u8
rate
);
typedef
struct
ide_pio_timings_s
{
int
setup_time
;
/* Address setup (ns) minimum */
int
active_time
;
/* Active pulse (ns) minimum */
int
cycle_time
;
/* Cycle time (ns) minimum = (setup + active + recovery) */
}
ide_pio_timings_t
;
typedef
struct
ide_pio_data_s
{
u8
pio_mode
;
u8
use_iordy
;
u8
overridden
;
u8
blacklisted
;
unsigned
int
cycle_time
;
}
ide_pio_data_t
;
extern
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
];
extern
spinlock_t
ide_lock
;
extern
spinlock_t
ide_lock
;
extern
struct
semaphore
ide_cfg_sem
;
extern
struct
semaphore
ide_cfg_sem
;
/*
/*
...
...
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