[libata] convert drivers to use ata.h mode mask defines

No functional changes in this patch.

Signed-off-by: Erik Inge Bolsø <knan-lkml@anduin.net>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
Este commit está contenido en:
Erik Inge Bolsø
2009-03-14 21:38:24 +01:00
cometido por Jeff Garzik
padre 22ddbd1e03
commit 14bdef982c
Se han modificado 71 ficheros con 339 adiciones y 331 borrados

Ver fichero

@@ -251,9 +251,9 @@ static int efar_init_one (struct pci_dev *pdev, const struct pci_device_id *ent)
static int printed_version;
static const struct ata_port_info info = {
.flags = ATA_FLAG_SLAVE_POSS,
.pio_mask = 0x1f, /* pio0-4 */
.mwdma_mask = 0x07, /* mwdma1-2 */
.udma_mask = 0x0f, /* UDMA 66 */
.pio_mask = ATA_PIO4,
.mwdma_mask = ATA_MWDMA2, /* mwdma1-2 */
.udma_mask = ATA_UDMA3, /* UDMA 66 */
.port_ops = &efar_ops,
};
const struct ata_port_info *ppi[] = { &info, NULL };