diff options
| author | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2008-02-01 17:09:30 -0500 |
|---|---|---|
| committer | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2008-02-01 17:09:30 -0500 |
| commit | 4166c1993b9e7f87c4d08e2e27f83ada890c2599 (patch) | |
| tree | b5abb7e9ee55edf183804c17df5473681a264481 /include/linux/ide.h | |
| parent | 8ac2b42a45896641ed292deaf038a1d2703d85a6 (diff) | |
ide: add IDE_HFLAG_NO_DSC host flag
* Add IDE_HFLAG_NO_DSC host flag for hosts that doesn't support DSC overlap.
* Set it in aec62xx (for ATP850UF only) and hpt34x host drivers.
* Convert ide-tape device driver to check for IDE_HFLAG_NO_DSC flag.
Acked-by: Sergei Shtylyov <sshtylyov@ru.mvista.com>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Diffstat (limited to 'include/linux/ide.h')
| -rw-r--r-- | include/linux/ide.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/ide.h b/include/linux/ide.h index 1b31597e74..af352cc41d 100644 --- a/include/linux/ide.h +++ b/include/linux/ide.h | |||
| @@ -1095,6 +1095,8 @@ enum { | |||
| 1095 | IDE_HFLAG_CY82C693 = (1 << 27), | 1095 | IDE_HFLAG_CY82C693 = (1 << 27), |
| 1096 | /* force host out of "simplex" mode */ | 1096 | /* force host out of "simplex" mode */ |
| 1097 | IDE_HFLAG_CLEAR_SIMPLEX = (1 << 28), | 1097 | IDE_HFLAG_CLEAR_SIMPLEX = (1 << 28), |
| 1098 | /* DSC overlap is unsupported */ | ||
| 1099 | IDE_HFLAG_NO_DSC = (1 << 29), | ||
| 1098 | }; | 1100 | }; |
| 1099 | 1101 | ||
| 1100 | #ifdef CONFIG_BLK_DEV_OFFBOARD | 1102 | #ifdef CONFIG_BLK_DEV_OFFBOARD |
