From: Bartlomiej Zolnierkiewicz Date: Sat, 2 Feb 2008 18:56:45 +0000 (+0100) Subject: ide: convert ->straight8 field in ide_hwif_t to bit flag X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=b034304a28d15f019ca914e954c3de20df28065e;p=linux-beck.git ide: convert ->straight8 field in ide_hwif_t to bit flag Acked-by: Sergei Shtylyov Signed-off-by: Bartlomiej Zolnierkiewicz --- diff --git a/include/linux/ide.h b/include/linux/ide.h index 7f53c6c6df7a..3b31da892002 100644 --- a/include/linux/ide.h +++ b/include/linux/ide.h @@ -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; @@ -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() */