summaryrefslogtreecommitdiffstats
path: root/include/linux/ide.h
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2000-02-05 06:47:02 +0000
committerRalf Baechle <ralf@linux-mips.org>2000-02-05 06:47:02 +0000
commit99a7e12f34b3661a0d1354eef83a0eef4df5e34c (patch)
tree3560aca9ca86792f9ab7bd87861ea143a1b3c7a3 /include/linux/ide.h
parente73a04659c0b8cdee4dd40e58630e2cf63afb316 (diff)
Merge with Linux 2.3.38.
Diffstat (limited to 'include/linux/ide.h')
-rw-r--r--include/linux/ide.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/include/linux/ide.h b/include/linux/ide.h
index cd813e9c6..af5519d34 100644
--- a/include/linux/ide.h
+++ b/include/linux/ide.h
@@ -262,6 +262,7 @@ typedef struct ide_drive_s {
unsigned autotune : 2; /* 1=autotune, 2=noautotune, 0=default */
unsigned remap_0_to_1 : 2; /* 0=remap if ezdrive, 1=remap, 2=noremap */
unsigned ata_flash : 1; /* 1=present, 0=default */
+ byte scsi; /* 0=default, 1=skip current ide-subdriver for ide-scsi emulation */
byte media; /* disk, cdrom, tape, floppy, ... */
select_t select; /* basic drive/head select reg value */
byte ctl; /* "normal" value for IDE_CONTROL_REG */
@@ -399,7 +400,7 @@ typedef struct hwif_s {
#endif
} ide_hwif_t;
- /*
+/*
* Status returned from various ide_ functions
*/
typedef enum {
@@ -428,7 +429,7 @@ typedef struct hwgroup_s {
struct timer_list timer; /* failsafe timer */
struct request wrq; /* local copy of current write rq */
unsigned long poll_timeout; /* timeout value during long polls */
- ide_expiry_t *expiry; /* queried upon timeouts */
+ ide_expiry_t *expiry; /* queried upon timeouts */
} ide_hwgroup_t;
/*
@@ -788,7 +789,7 @@ void do_ide9_request (request_queue_t * q);
void ide_init_subdrivers (void);
#ifndef _IDE_C
-extern struct file_operations ide_fops[];
+extern struct block_device_operations ide_fops[];
extern ide_proc_entry_t generic_subdriver_entries[];
#endif