Tejun Heo
f92a26365a
libata: change ATA_QCFLAG_DMAMAP semantics
...
ATA_QCFLAG_DMAMAP was a bit peculiar in that it got set during qc
initialization and cleared if DMA mapping wasn't necessary. Make it
more straight forward by making the following changes.
* Don't set it during initialization. Set it after DMA is actually
mapped.
* Add BUG_ON() to guarantee that there is data to transfer if DMAMAP
is set. This always holds for the current code. The BUG_ON() is
for docummentation and sanity check.
Signed-off-by: Tejun Heo <htejun@gmail.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
2008-01-23 05:24:14 -05:00
..
2008-01-23 05:24:10 -05:00
2008-01-23 05:24:11 -05:00
2008-01-23 05:24:12 -05:00
2008-01-23 05:24:10 -05:00
2008-01-23 05:24:12 -05:00
2008-01-23 05:24:14 -05:00
2008-01-23 05:24:14 -05:00
2008-01-10 16:53:12 -05:00
2008-01-23 05:24:14 -05:00
2008-01-23 05:24:14 -05:00
2008-01-23 05:24:10 -05:00
2008-01-23 05:24:10 -05:00
2008-01-23 05:24:12 -05:00
2008-01-23 05:24:10 -05:00
2008-01-23 05:24:12 -05:00
2007-10-12 14:55:36 -04:00
2007-12-01 17:35:58 -05:00
2007-10-12 14:55:42 -04:00
2008-01-23 05:24:14 -05:00
2007-10-20 01:02:48 +02:00
2007-10-12 14:55:36 -04:00
2007-10-12 14:55:47 -04:00
2007-10-19 23:10:43 +02:00
2007-10-19 23:10:43 +02:00
2007-10-19 22:55:03 -04:00
2007-10-12 14:55:36 -04:00
2007-10-12 14:55:36 -04:00
2007-10-12 14:55:36 -04:00
2007-10-12 14:55:37 -04:00
2008-01-23 05:24:13 -05:00
2007-10-12 14:55:36 -04:00
2007-10-25 02:05:26 -04:00
2007-11-23 19:33:27 -05:00
2007-10-19 23:10:43 +02:00
2007-10-12 14:55:36 -04:00
2008-01-23 05:24:14 -05:00
2007-11-23 19:23:55 -05:00
2008-01-23 05:24:14 -05:00
2007-10-12 14:55:36 -04:00
2007-10-14 08:57:30 -07:00
2007-10-19 23:10:43 +02:00
2007-10-12 14:55:36 -04:00
2008-01-23 05:24:10 -05:00
2007-10-19 23:10:43 +02:00
2007-10-29 06:21:33 -04:00
2007-10-19 23:10:43 +02:00
2007-10-12 14:55:36 -04:00
2007-10-29 06:15:27 -04:00
2007-10-29 06:15:27 -04:00
2008-01-23 05:24:14 -05:00
2007-10-29 06:15:27 -04:00
2007-11-08 13:08:41 -05:00
2008-01-23 05:24:14 -05:00
2007-10-19 23:10:43 +02:00
2007-10-12 14:55:36 -04:00
2007-10-19 23:10:43 +02:00
2008-01-23 05:24:14 -05:00
2007-11-05 18:08:46 -05:00
2007-11-23 19:23:55 -05:00
2007-11-19 12:28:11 +09:00
2007-10-12 14:55:36 -04:00
2007-10-12 14:55:36 -04:00
2008-01-23 05:24:12 -05:00
2008-01-23 05:24:14 -05:00
2008-01-23 05:24:14 -05:00
2008-01-23 05:24:10 -05:00
2008-01-23 05:24:14 -05:00
2007-12-17 20:33:12 -05:00
2007-12-04 14:01:18 -05:00
2008-01-23 05:24:14 -05:00
2006-08-10 07:31:37 -04:00
2008-01-23 05:24:14 -05:00
2008-01-23 05:24:10 -05:00
2008-01-23 05:24:10 -05:00
2007-10-29 06:15:27 -04:00
2007-10-29 06:15:27 -04:00
2008-01-23 05:24:14 -05:00
2007-10-29 06:15:27 -04:00
2007-10-29 06:15:27 -04:00
2007-10-29 06:15:27 -04:00
2007-07-02 10:17:42 -04:00