]> err.no Git - linux-2.6/commit
usbcore: Add flag for whether a host controller uses DMA
authorAlan Stern <stern@rowland.harvard.edu>
Wed, 30 Aug 2006 15:29:56 +0000 (11:29 -0400)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 27 Sep 2006 18:58:56 +0000 (11:58 -0700)
commitdd990f16a39d4e615c0b70a0ab50b79b32bfb16d
tree471ab506eb21fadf05eaea7c47a33266b9e7a7d7
parenta6d2bb9ff919b4685bd684620ec7a1ffa8bf2349
usbcore: Add flag for whether a host controller uses DMA

This patch (as770b) introduces a new field to usb_bus: a flag
indicating whether or not the host controller uses DMA.  This serves
to encapsulate the computation.  It also means we will have only one
spot to update if the DMA API changes.

Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/core/hcd.c
include/linux/usb.h