]> git.baikalelectronics.ru Git - kernel.git/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)
commit1f560ac6014ef32235870e95fea984ee677e5655
tree471ab506eb21fadf05eaea7c47a33266b9e7a7d7
parent889fff8b0e57205bceb1281ba7d802c7012333e3
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