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] Use ATA_UDMAx standard masks when filling driver's udma_mask info
The ATA_UDMAx masks are self-documenting, and far better than manually writing in the hex mask. Note that pata_it8213 mask differed from the comment. Added a FIXME there. Signed-off-by: Jeff Garzik <jeff@garzik.org>
This commit is contained in:
@@ -361,7 +361,7 @@ static const struct ata_port_info k2_port_info[] = {
|
||||
ATA_FLAG_MMIO | K2_FLAG_NO_ATAPI_DMA,
|
||||
.pio_mask = 0x1f,
|
||||
.mwdma_mask = 0x07,
|
||||
.udma_mask = 0x7f,
|
||||
.udma_mask = ATA_UDMA6,
|
||||
.port_ops = &k2_sata_ops,
|
||||
},
|
||||
/* board_svw8 */
|
||||
@@ -371,7 +371,7 @@ static const struct ata_port_info k2_port_info[] = {
|
||||
K2_FLAG_SATA_8_PORTS,
|
||||
.pio_mask = 0x1f,
|
||||
.mwdma_mask = 0x07,
|
||||
.udma_mask = 0x7f,
|
||||
.udma_mask = ATA_UDMA6,
|
||||
.port_ops = &k2_sata_ops,
|
||||
},
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user