diff options
Diffstat (limited to 'include/linux/hdreg.h')
-rw-r--r-- | include/linux/hdreg.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/linux/hdreg.h b/include/linux/hdreg.h index 3bcb88560418..df17bf767d98 100644 --- a/include/linux/hdreg.h +++ b/include/linux/hdreg.h | |||
@@ -117,7 +117,7 @@ typedef union ide_reg_valid_s { | |||
117 | 117 | ||
118 | typedef struct ide_task_request_s { | 118 | typedef struct ide_task_request_s { |
119 | __u8 io_ports[8]; | 119 | __u8 io_ports[8]; |
120 | __u8 hob_ports[8]; | 120 | __u8 hob_ports[8]; /* bytes 6 and 7 are unused */ |
121 | ide_reg_valid_t out_flags; | 121 | ide_reg_valid_t out_flags; |
122 | ide_reg_valid_t in_flags; | 122 | ide_reg_valid_t in_flags; |
123 | int data_phase; | 123 | int data_phase; |
@@ -139,6 +139,7 @@ struct hd_drive_cmd_hdr { | |||
139 | __u8 sector_count; | 139 | __u8 sector_count; |
140 | }; | 140 | }; |
141 | 141 | ||
142 | #ifndef __KERNEL__ | ||
142 | typedef struct hd_drive_task_hdr { | 143 | typedef struct hd_drive_task_hdr { |
143 | __u8 data; | 144 | __u8 data; |
144 | __u8 feature; | 145 | __u8 feature; |
@@ -160,6 +161,7 @@ typedef struct hd_drive_hob_hdr { | |||
160 | __u8 device_head; | 161 | __u8 device_head; |
161 | __u8 control; | 162 | __u8 control; |
162 | } hob_struct_t; | 163 | } hob_struct_t; |
164 | #endif | ||
163 | 165 | ||
164 | #define TASKFILE_INVALID 0x7fff | 166 | #define TASKFILE_INVALID 0x7fff |
165 | #define TASKFILE_48 0x8000 | 167 | #define TASKFILE_48 0x8000 |