summaryrefslogtreecommitdiff
path: root/drivers/usb/host/ohci-at91.c
diff options
context:
space:
mode:
authorDavid Brownell <david-b@pacbell.net>2006-09-02 10:13:45 (GMT)
committerGreg Kroah-Hartman <gregkh@suse.de>2006-09-27 18:58:57 (GMT)
commit901b3d75e71535f29b64f352e94ff474d95df475 (patch)
treebc9dd49a1184bac831afb76943661e47f6366ad0 /drivers/usb/host/ohci-at91.c
parent80f8af0c59385b41564a3ae670f94a1b4caa43b2 (diff)
downloadlinux-fsl-qoriq-901b3d75e71535f29b64f352e94ff474d95df475.tar.xz
USB: net2280: update dma buffer allocation
This updates the code handling dma-coherent buffer allocations, basically reusing code from the musb_hdrc driver. Instead of trying to work around two significant limitations of the dma framework (memory wastage for buffers smaller than a page, and inconsistency between calling context requirements for allocation and free) this just works around one of them (the latter). So count this as two steps forward (bugfixes: the latter issue could cause errors on some platforms, and some MIPS changes broke code for the former), and one step back (increasing cross-platform memory wastage). Plus linelength and whitespace fixes; and minor data segment shrinkage. Signed-off-by: David Brownell <dbrownell@users.sourceforge.net> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb/host/ohci-at91.c')
0 files changed, 0 insertions, 0 deletions