firewire: ohci: use common buffer for self IDs and AR descriptors
authorClemens Ladisch <clemens@ladisch.de>
Tue, 30 Nov 2010 07:25:17 +0000 (08:25 +0100)
committerStefan Richter <stefanr@s5r6.in-berlin.de>
Mon, 13 Dec 2010 19:39:15 +0000 (20:39 +0100)
commitec766a7970126f99665992c0b0b10bd60a4d6208
treedc049e0bcb3e1fb33a68efea8760391af62f6681
parent2dd5bed59356e03610bebe1a37c397788df50b9b
firewire: ohci: use common buffer for self IDs and AR descriptors

The buffers used for the selfIDs packets and the AR request and response
descriptors end up using three pages because dma_alloc_coherent()
allocates at least one page per call.  However, these data structures
would all fit into 4 KB, so we can save space by using a common buffer
for them.

Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
drivers/firewire/ohci.c