diff options
author | David Brownell <david-b@pacbell.net> | 2006-09-02 03:13:45 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2006-09-27 11:58:57 -0700 |
commit | 901b3d75e71535f29b64f352e94ff474d95df475 (patch) | |
tree | bc9dd49a1184bac831afb76943661e47f6366ad0 /drivers/ata/sata_svw.c | |
parent | 80f8af0c59385b41564a3ae670f94a1b4caa43b2 (diff) | |
download | op-kernel-dev-901b3d75e71535f29b64f352e94ff474d95df475.zip op-kernel-dev-901b3d75e71535f29b64f352e94ff474d95df475.tar.gz |
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/ata/sata_svw.c')
0 files changed, 0 insertions, 0 deletions