提交 e95d9c6b 编写于 作者: D David Miller 提交者: Linus Torvalds

Expand hwif->host_flags so that it fits new flags.

Commit 238e4f14 ("ide: add
IDE_HFLAG_NO_LBA48 and IDE_HFLAG_NO_LBA48_DMA host flags") caused a
regression because the host_flags in struct hwif_s wasn't expanded to
cope with the fact that the host flags no longer fit in 16 bits.
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
[ I hate having to add good commit descriptions.  - Linus ]
Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
上级 81f8320f
...@@ -667,7 +667,7 @@ typedef struct hwif_s { ...@@ -667,7 +667,7 @@ typedef struct hwif_s {
u8 straight8; /* Alan's straight 8 check */ u8 straight8; /* Alan's straight 8 check */
u8 bus_state; /* power state of the IDE bus */ u8 bus_state; /* power state of the IDE bus */
u16 host_flags; u32 host_flags;
u8 pio_mask; u8 pio_mask;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册