• Magnus Damm's avatar
    usb: ohci-sm501 driver · f54aab6e
    Magnus Damm authored
    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: default avatarMagnus Damm <damm@igel.co.jp>
    Cc: David Brownell <david-b@pacbell.net>
    Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
    f54aab6e
ohci-sm501.c 6.74 KB