aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBorislav Petkov <bbpetkov@yahoo.de>2008-02-02 13:56:34 -0500
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>2008-02-02 13:56:34 -0500
commit4d37d32e4ab5241554ab4a60ff8ee159ba48851c (patch)
tree170a15f45dadf67a9572cdd375f7c0116b081592
parent948391d17c34b87811e1ddbe1fa96b670510e5e1 (diff)
ide-floppy: remove struct idefloppy_inquiry_result
Signed-off-by: Borislav Petkov <bbpetkov@yahoo.de> Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
-rw-r--r--drivers/ide/ide-floppy.c41
1 files changed, 0 insertions, 41 deletions
diff --git a/drivers/ide/ide-floppy.c b/drivers/ide/ide-floppy.c
index 13cb08f5eb92..c346c2174d0b 100644
--- a/drivers/ide/ide-floppy.c
+++ b/drivers/ide/ide-floppy.c
@@ -285,47 +285,6 @@ struct idefloppy_id_gcw {
285}; 285};
286 286
287/* 287/*
288 * INQUIRY packet command - Data Format
289 */
290typedef struct {
291#if defined(__LITTLE_ENDIAN_BITFIELD)
292 unsigned device_type :5; /* Peripheral Device Type */
293 unsigned reserved0_765 :3; /* Peripheral Qualifier - Reserved */
294 unsigned reserved1_6t0 :7; /* Reserved */
295 unsigned rmb :1; /* Removable Medium Bit */
296 unsigned ansi_version :3; /* ANSI Version */
297 unsigned ecma_version :3; /* ECMA Version */
298 unsigned iso_version :2; /* ISO Version */
299 unsigned response_format :4; /* Response Data Format */
300 unsigned reserved3_45 :2; /* Reserved */
301 unsigned reserved3_6 :1; /* TrmIOP - Reserved */
302 unsigned reserved3_7 :1; /* AENC - Reserved */
303#elif defined(__BIG_ENDIAN_BITFIELD)
304 unsigned reserved0_765 :3; /* Peripheral Qualifier - Reserved */
305 unsigned device_type :5; /* Peripheral Device Type */
306 unsigned rmb :1; /* Removable Medium Bit */
307 unsigned reserved1_6t0 :7; /* Reserved */
308 unsigned iso_version :2; /* ISO Version */
309 unsigned ecma_version :3; /* ECMA Version */
310 unsigned ansi_version :3; /* ANSI Version */
311 unsigned reserved3_7 :1; /* AENC - Reserved */
312 unsigned reserved3_6 :1; /* TrmIOP - Reserved */
313 unsigned reserved3_45 :2; /* Reserved */
314 unsigned response_format :4; /* Response Data Format */
315#else
316#error "Bitfield endianness not defined! Check your byteorder.h"
317#endif
318 u8 additional_length; /* Additional Length (total_length-4) */
319 u8 rsv5, rsv6, rsv7; /* Reserved */
320 u8 vendor_id[8]; /* Vendor Identification */
321 u8 product_id[16]; /* Product Identification */
322 u8 revision_level[4]; /* Revision Level */
323 u8 vendor_specific[20]; /* Vendor Specific - Optional */
324 u8 reserved56t95[40]; /* Reserved - Optional */
325 /* Additional information may be returned */
326} idefloppy_inquiry_result_t;
327
328/*
329 * REQUEST SENSE packet command result - Data Format. 288 * REQUEST SENSE packet command result - Data Format.
330 */ 289 */
331typedef struct { 290typedef struct {