Files
kernel_xiaomi_sm8250/include/linux
Alan Cox b15b3ebae1 libata: Fix a large collection of DMA mode mismatches
Dave Müller sent a diff for the pata_oldpiix that highlighted a problem
where a lot of the ATA drivers assume dma_mode == 0 means "no DMA" while
the core code uses 0xFF.

This turns out to have other consequences such as code doing >= XFER_UDMA_0
also catching 0xFF as UDMAlots. Fortunately it doesn't generally affect
set_dma_mode, although some drivers call back into their own set mode code
from other points.

Having been through the drivers I've added helpers for using_udma/using_mwdma
dma_enabled so that people don't open code ranges that may change (eg if UDMA8
appears somewhere)

Thanks to David for the initial bits
[and added fix for pata_oldpiix from and signed-off-by Dave Mueller
 <dave.mueller@gmx.ch>  -jg]

Signed-off-by: Alan Cox <alan@redhat.com>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
2008-08-22 02:27:49 -04:00
..
2008-08-10 23:32:07 +02:00
2008-08-05 14:33:46 -07:00
2008-08-12 10:13:38 +10:00
2008-08-18 21:40:05 +02:00
2008-08-04 21:56:09 -07:00
2008-08-20 13:19:51 -07:00
2008-08-12 16:07:31 -07:00
2008-08-08 15:13:27 +01:00
2008-08-05 18:17:01 +02:00
2008-08-02 18:36:10 +01:00
2008-07-30 09:41:43 -07:00
2008-07-30 09:41:45 -07:00
2008-08-08 16:17:16 -07:00
2008-08-11 15:25:07 +02:00
2008-08-02 16:28:50 +02:00
2008-08-16 16:45:56 -07:00
2008-08-16 16:45:56 -07:00
2008-07-28 16:30:21 -07:00
2008-08-04 23:04:08 -07:00
2008-08-04 21:31:34 -07:00
2008-08-04 21:31:34 -07:00
2008-08-07 15:33:36 -07:00
2008-08-05 14:33:50 -07:00
2008-08-07 17:18:47 -07:00
2008-08-11 09:30:24 +02:00
2008-08-20 15:40:32 -07:00
2008-08-17 22:47:30 +10:00
2008-08-15 19:52:30 -07:00
2008-08-05 09:28:47 +03:00
2008-08-11 09:30:24 +02:00
2008-08-07 17:18:47 -07:00
2008-08-15 10:34:07 -07:00
2008-08-16 16:45:56 -07:00