diff options
author | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2008-12-29 14:27:34 -0500 |
---|---|---|
committer | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2008-12-29 14:27:34 -0500 |
commit | 1f66019bdf902cb59adf959e462bcd3f4c01f683 (patch) | |
tree | 15c3f1b4a6479f8ff500801cff9076cc386d1cda /drivers/ide/trm290.c | |
parent | 6b4924962c49655494d2c8e9d3faab0e349a3062 (diff) |
trm290: add IDE_HFLAG_TRM290 host flag
* Add IDE_HFLAG_TRM290 host flag and use it in ide_build_dmatable().
* Remove no longer needed ide_trm290 chipset type.
Acked-by: Sergei Shtylyov <sshtylyov@ru.mvista.com>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Diffstat (limited to 'drivers/ide/trm290.c')
-rw-r--r-- | drivers/ide/trm290.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/ide/trm290.c b/drivers/ide/trm290.c index 75ea61526566..2a5ea90cf8b8 100644 --- a/drivers/ide/trm290.c +++ b/drivers/ide/trm290.c | |||
@@ -328,10 +328,10 @@ static struct ide_dma_ops trm290_dma_ops = { | |||
328 | static const struct ide_port_info trm290_chipset __devinitdata = { | 328 | static const struct ide_port_info trm290_chipset __devinitdata = { |
329 | .name = DRV_NAME, | 329 | .name = DRV_NAME, |
330 | .init_hwif = init_hwif_trm290, | 330 | .init_hwif = init_hwif_trm290, |
331 | .chipset = ide_trm290, | ||
332 | .port_ops = &trm290_port_ops, | 331 | .port_ops = &trm290_port_ops, |
333 | .dma_ops = &trm290_dma_ops, | 332 | .dma_ops = &trm290_dma_ops, |
334 | .host_flags = IDE_HFLAG_NO_ATAPI_DMA | | 333 | .host_flags = IDE_HFLAG_TRM290 | |
334 | IDE_HFLAG_NO_ATAPI_DMA | | ||
335 | #if 0 /* play it safe for now */ | 335 | #if 0 /* play it safe for now */ |
336 | IDE_HFLAG_TRUST_BIOS_FOR_DMA | | 336 | IDE_HFLAG_TRUST_BIOS_FOR_DMA | |
337 | #endif | 337 | #endif |