mirror of
https://github.com/Fishwaldo/linux-bl808.git
synced 2025-06-17 20:25:19 +00:00
ide: add IDE_DFLAG_NIEN_QUIRK device flag
Add IDE_DFLAG_NIEN_QUIRK device flag and use it instead of drive->quirk_list. There should be no functional changes caused by this patch. Acked-by: Sergei Shtylyov <sshtylyov@ru.mvista.com> Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
This commit is contained in:
parent
8bc1e5aa06
commit
734affdcae
5 changed files with 13 additions and 10 deletions
|
@ -499,6 +499,7 @@ enum {
|
|||
/* write protect */
|
||||
IDE_DFLAG_WP = (1 << 29),
|
||||
IDE_DFLAG_FORMAT_IN_PROGRESS = (1 << 30),
|
||||
IDE_DFLAG_NIEN_QUIRK = (1 << 31),
|
||||
};
|
||||
|
||||
struct ide_drive_s {
|
||||
|
@ -530,7 +531,6 @@ struct ide_drive_s {
|
|||
u8 waiting_for_dma; /* dma currently in progress */
|
||||
u8 dma; /* atapi dma flag */
|
||||
|
||||
u8 quirk_list; /* considered quirky, set for a specific host */
|
||||
u8 init_speed; /* transfer rate set at boot */
|
||||
u8 current_speed; /* current transfer rate set */
|
||||
u8 desired_speed; /* desired transfer rate set */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue