Am Donnerstag, 28. Juli 2011, 20:41:18 schrieb David Herrmann:
On Thu, Jul 28, 2011 at 8:05 PM, Oliver Neukum [off-list ref] wrote:
quoted
Am Donnerstag, 28. Juli 2011, 18:08:23 schrieb David Herrmann:
quoted
+static void wiiproto_req_drm(struct wiimote_data *wdata, __u8 drm)
+{
+ __u8 cmd[3];
Are you sure these buffers nned not be safe for DMA?
wiimote_queue() allocates a buffer for every request. This should be
fine for DMA then. All wiimote_req_*() functions work the same way.
Yes, that's safe.
Regards
Oliver