usb: ohci-sm501 driver
authorMagnus Damm <magnus.damm@gmail.com>
Wed, 23 Jan 2008 06:58:46 +0000 (15:58 +0900)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 1 Feb 2008 22:35:05 +0000 (14:35 -0800)
commitf54aab6ebcecd93e86cea34ddba5f3d454382041
tree82c3543c0ce8ba7b0648fc9be6926e739e40ed5f
parentb3476675320eda83cf061a686cdc80b76f2bfdc4
usb: ohci-sm501 driver

usb: ohci-sm501 driver V2

This patch adds sm501 ohci support. It's all very straightforward with the
exception of dma_declare_coherent_memory() and HCD_LOCAL_MEM. Together they
are used to ensure that usb data is allocated using dma_alloc_coherent(),
and that only valid dma memory is used to allocate from. This driver is
a platform device, and the mfd driver sm501.c is already creating one
usb host controller instance per sm501.

Signed-off-by: Magnus Damm <damm@igel.co.jp>
Cc: David Brownell <david-b@pacbell.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/host/ohci-hcd.c
drivers/usb/host/ohci-sm501.c [new file with mode: 0644]