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 /drivers/ide/pci/hpt34x.c | |
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 'drivers/ide/pci/hpt34x.c')
-rw-r--r-- | drivers/ide/pci/hpt34x.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/ide/pci/hpt34x.c b/drivers/ide/pci/hpt34x.c index dfba0d13fcd3..48a9ff2e8c33 100644 --- a/drivers/ide/pci/hpt34x.c +++ b/drivers/ide/pci/hpt34x.c | |||
@@ -131,6 +131,7 @@ static void __devinit init_hwif_hpt34x(ide_hwif_t *hwif) | |||
131 | 131 | ||
132 | #define IDE_HFLAGS_HPT34X \ | 132 | #define IDE_HFLAGS_HPT34X \ |
133 | (IDE_HFLAG_NO_ATAPI_DMA | \ | 133 | (IDE_HFLAG_NO_ATAPI_DMA | \ |
134 | IDE_HFLAG_NO_DSC | \ | ||
134 | IDE_HFLAG_ABUSE_SET_DMA_MODE | \ | 135 | IDE_HFLAG_ABUSE_SET_DMA_MODE | \ |
135 | IDE_HFLAG_NO_AUTODMA) | 136 | IDE_HFLAG_NO_AUTODMA) |
136 | 137 | ||