diff options
author | Sergei Shtylyov <sshtylyov@ru.mvista.com> | 2011-02-04 14:05:48 -0500 |
---|---|---|
committer | Jeff Garzik <jgarzik@redhat.com> | 2011-03-02 02:36:46 -0500 |
commit | 9cbe056f6c467e7395d5aec39aceec47812eb98e (patch) | |
tree | 3ca13e73718fc14fc39f3d875dc3a1f724a255c4 /drivers/ata/pata_octeon_cf.c | |
parent | 3696df309971b3427cb9cb039138a1732a865a0b (diff) |
libata: remove ATA_FLAG_NO_LEGACY
All checks of ATA_FLAG_NO_LEGACY have been removed by the commits
c791c30670ea61f19eec390124128bf278e854fe ([libata] minor PCI IDE probe
fixes and cleanups) and f0d36efdc624beb3d9e29b9ab9e9537bf0f25d5b (libata:
update libata core layer to use devres), so I think it's time to finally
get rid of this flag...
Signed-off-by: Sergei Shtylyov <sshtylyov@ru.mvista.com>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
Diffstat (limited to 'drivers/ata/pata_octeon_cf.c')
-rw-r--r-- | drivers/ata/pata_octeon_cf.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/ata/pata_octeon_cf.c b/drivers/ata/pata_octeon_cf.c index 18703e2e51c6..220ddc90608f 100644 --- a/drivers/ata/pata_octeon_cf.c +++ b/drivers/ata/pata_octeon_cf.c | |||
@@ -848,8 +848,7 @@ static int __devinit octeon_cf_probe(struct platform_device *pdev) | |||
848 | cf_port->ap = ap; | 848 | cf_port->ap = ap; |
849 | ap->ops = &octeon_cf_ops; | 849 | ap->ops = &octeon_cf_ops; |
850 | ap->pio_mask = ATA_PIO6; | 850 | ap->pio_mask = ATA_PIO6; |
851 | ap->flags |= ATA_FLAG_NO_LEGACY | ATA_FLAG_NO_ATAPI | 851 | ap->flags |= ATA_FLAG_NO_ATAPI | ATA_FLAG_PIO_POLLING; |
852 | | ATA_FLAG_PIO_POLLING; | ||
853 | 852 | ||
854 | base = cs0 + ocd->base_region_bias; | 853 | base = cs0 + ocd->base_region_bias; |
855 | if (!ocd->is16bit) { | 854 | if (!ocd->is16bit) { |