You've already forked linux-apfs
mirror of
https://github.com/linux-apfs/linux-apfs.git
synced 2026-05-01 15:00:59 -07:00
[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>
This commit is contained in:
committed by
Jeff Garzik
parent
22ddbd1e03
commit
14bdef982c
@@ -297,7 +297,7 @@ static int icside_dma_init(struct pata_icside_info *info)
|
||||
|
||||
if (ec->dma != NO_DMA && !request_dma(ec->dma, DRV_NAME)) {
|
||||
state->dma = ec->dma;
|
||||
info->mwdma_mask = 0x07; /* MW0..2 */
|
||||
info->mwdma_mask = ATA_MWDMA2;
|
||||
}
|
||||
|
||||
return 0;
|
||||
@@ -473,7 +473,7 @@ static int __devinit pata_icside_add_ports(struct pata_icside_info *info)
|
||||
for (i = 0; i < info->nr_ports; i++) {
|
||||
struct ata_port *ap = host->ports[i];
|
||||
|
||||
ap->pio_mask = 0x1f;
|
||||
ap->pio_mask = ATA_PIO4;
|
||||
ap->mwdma_mask = info->mwdma_mask;
|
||||
ap->flags |= ATA_FLAG_SLAVE_POSS;
|
||||
ap->ops = &pata_icside_port_ops;
|
||||
|
||||
Reference in New Issue
Block a user