From: Alek Du Date: Mon, 13 Jul 2009 23:23:29 +0000 (+0800) Subject: USB: EHCI: split ehci_qh into hw and sw parts X-Git-Tag: v2.6.32-rc1~174^2~89 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3807e26d69b9ad3864fe03224ebebc9610d5802e;p=pandora-kernel.git USB: EHCI: split ehci_qh into hw and sw parts The ehci_qh structure merged hw and sw together which is not good: 1. More and more items are being added into ehci_qh, the ehci_qh software part are unnecessary to be allocated in DMA qh_pool. 2. If HCD has local SRAM, the sw part will consume it too, and it won't bring any benefit. 3. For non-cache-coherence system, the entire ehci_qh is uncachable, actually we only need the hw part to be uncacheable. Spliting them will let the sw part to be cacheable. Signed-off-by: Alek Du Cc: David Brownell CC: Alan Stern Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed