diff options
author | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2008-01-25 16:17:12 -0500 |
---|---|---|
committer | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2008-01-25 16:17:12 -0500 |
commit | 790d1239898d4f893112280decd344d90f43ee96 (patch) | |
tree | a8ed2d8fedc4d62b28249d84db4c2904f738cbb3 /include/linux/ide.h | |
parent | e5f9f5a89a01abc2b9c09747452aeb9218d6bffd (diff) |
ide: remove ata_nsector_t, ata_data_t and atapi_bcount_t
Remove ata_nsector_t, ata_data_t (unused) and atapi_bcount_t.
While at it:
* replace 'HWIF(drive)' by 'hwif'
Acked-by: Sergei Shtylyov <sshtylyov@ru.mvista.com>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Diffstat (limited to 'include/linux/ide.h')
-rw-r--r-- | include/linux/ide.h | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/include/linux/ide.h b/include/linux/ide.h index a638dde17e77..cf1a5aaebd9e 100644 --- a/include/linux/ide.h +++ b/include/linux/ide.h | |||
@@ -316,26 +316,6 @@ typedef union { | |||
316 | } special_t; | 316 | } special_t; |
317 | 317 | ||
318 | /* | 318 | /* |
319 | * ATA DATA Register Special. | ||
320 | * ATA NSECTOR Count Register(). | ||
321 | * ATAPI Byte Count Register. | ||
322 | */ | ||
323 | typedef union { | ||
324 | unsigned all :16; | ||
325 | struct { | ||
326 | #if defined(__LITTLE_ENDIAN_BITFIELD) | ||
327 | unsigned low :8; /* LSB */ | ||
328 | unsigned high :8; /* MSB */ | ||
329 | #elif defined(__BIG_ENDIAN_BITFIELD) | ||
330 | unsigned high :8; /* MSB */ | ||
331 | unsigned low :8; /* LSB */ | ||
332 | #else | ||
333 | #error "Please fix <asm/byteorder.h>" | ||
334 | #endif | ||
335 | } b; | ||
336 | } ata_nsector_t, ata_data_t, atapi_bcount_t; | ||
337 | |||
338 | /* | ||
339 | * ATA-IDE Select Register, aka Device-Head | 319 | * ATA-IDE Select Register, aka Device-Head |
340 | * | 320 | * |
341 | * head : always zeros here | 321 | * head : always zeros here |