Skip to content

Commit

Permalink
ide: convert ->straight8 field in ide_hwif_t to bit flag
Browse files Browse the repository at this point in the history
Acked-by: Sergei Shtylyov <[email protected]>
Signed-off-by: Bartlomiej Zolnierkiewicz <[email protected]>
  • Loading branch information
bzolnier committed Feb 2, 2008
1 parent b60acab commit b034304
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/linux/ide.h
Original file line number Diff line number Diff line change
Expand Up @@ -488,7 +488,6 @@ typedef struct hwif_s {
u8 major; /* our major number */
u8 index; /* 0 for ide0; 1 for ide1; ... */
u8 channel; /* for dual-port chips: 0=primary, 1=secondary */
u8 straight8; /* Alan's straight 8 check */
u8 bus_state; /* power state of the IDE bus */

u32 host_flags;
Expand Down Expand Up @@ -609,6 +608,7 @@ typedef struct hwif_s {
unsigned reset : 1; /* reset after probe */
unsigned sg_mapped : 1; /* sg_table and sg_nents are ready */
unsigned mmio : 1; /* host uses MMIO */
unsigned straight8 : 1; /* Alan's straight 8 check */

struct device gendev;
struct completion gendev_rel_comp; /* To deal with device release() */
Expand Down

0 comments on commit b034304

Please sign in to comment.