diff options
author | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2009-03-27 14:46:28 +0300 |
---|---|---|
committer | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2009-03-27 14:46:28 +0300 |
commit | 2787cb8ae5c68a6945eb82ccf96b5f2c4f238323 (patch) | |
tree | 9d2184231c2e36066a33df59303dd9980a6fc99f /drivers/ide/dtc2278.c | |
parent | 0a6e49e9bc1e9698b2a1a529776b928768561a5a (diff) | |
download | linux-2787cb8ae5c68a6945eb82ccf96b5f2c4f238323.tar.xz |
ide: add IDE_HFLAG_DTC2278 host flag
Add IDE_HFLAG_DTC2278 host flag and use it instead of ide_dtc2278
chipset type in ide_init_port().
There should be no functional changes caused by this patch.
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Diffstat (limited to 'drivers/ide/dtc2278.c')
-rw-r--r-- | drivers/ide/dtc2278.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/ide/dtc2278.c b/drivers/ide/dtc2278.c index 689b2e493413..c6b138122981 100644 --- a/drivers/ide/dtc2278.c +++ b/drivers/ide/dtc2278.c @@ -100,7 +100,8 @@ static const struct ide_port_info dtc2278_port_info __initdata = { IDE_HFLAG_IO_32BIT | /* disallow ->io_32bit changes */ IDE_HFLAG_NO_IO_32BIT | - IDE_HFLAG_NO_DMA, + IDE_HFLAG_NO_DMA | + IDE_HFLAG_DTC2278, .pio_mask = ATA_PIO4, }; |