diff options
author | Tejun Heo <htejun@gmail.com> | 2007-10-25 15:51:57 +0900 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2007-11-16 09:30:25 -0800 |
commit | 28254520f46eeadda8834de0ccf31613caee998f (patch) | |
tree | 96cc5c4d508744b9d0fe4c4c7146e86d0ea2b637 /include | |
parent | 653ffa9b066dfb423baf6c14b2a2061a8c7b96c8 (diff) |
libata: backport ATA_FLAG_NO_SRST and ATA_FLAG_ASSUME_ATA
Differs from mainline, but the functionality is already there.
Backport ATA_FLAG_NO_SRST and ATA_FLAG_ASSUME_ATA. These are
originally link flags (ATA_LFLAG_*) but link abstraction doesn't exist
on 2.6.23, so make it port flags.
This is for the following workaround for ASUS P5W DH Deluxe.
These new flags don't introduce any behavior change unless set and
nobody sets them yet.
Signed-off-by: Tejun Heo <htejun@gmail.com>
Cc: Jeff Garzik <jeff@garzik.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/libata.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/libata.h b/include/linux/libata.h index a67bb9075e9b..9ccca8f0a47a 100644 --- a/include/linux/libata.h +++ b/include/linux/libata.h @@ -177,6 +177,8 @@ enum { ATA_FLAG_IGN_SIMPLEX = (1 << 15), /* ignore SIMPLEX */ ATA_FLAG_NO_IORDY = (1 << 16), /* controller lacks iordy */ ATA_FLAG_ACPI_SATA = (1 << 17), /* need native SATA ACPI layout */ + ATA_FLAG_NO_SRST = (1 << 18), + ATA_FLAG_ASSUME_ATA = (1 << 19), /* The following flag belongs to ap->pflags but is kept in * ap->flags because it's referenced in many LLDs and will be |