All,

In reply to this message I will post a set of patches that cleanup
the USB driver layer to use the generic DMA-mapping API and dma_pools
vs pci_pools. This patch is against 2.6.2-mm1 b/c it requires the
dma_pool patch [1]. In addition to the changes against the generic
OHCI, ECHI, and UHCI drivers, it also cleans up the SA1111 and OMAP
OHCI drivers to use a struct device instead of the FAKE_PCIDEV mess
we have at the moment. I've CC'd rmk (sa1111) and Tony Lindgren (omap)
so they can ack if they approve those changes.  Once this patch is into 
the USB core, I'll post a separate patch to linux-arm-kernel to cleanup 
the ARM PCI layer and get rid of FAKE_PCIDEV. The patch should work as 
is on SA1111 w/o having that cleanup though, so it should not break 
anyone.  (I have no sa1111 HW, so cannot test atm).

Greg, note that we still need to get rid of that CONFIG_PCI around
dmapool.c in akpm's tree for this to work properly on non-PCI OHCI.

Diffstat:
 drivers/usb/core/buffer.c      |   23 +++++++++++++--------
 drivers/usb/core/hcd-pci.c     |    2 -
 drivers/usb/core/hcd.h         |    5 +---
 drivers/usb/host/ehci-dbg.c    |    2 -
 drivers/usb/host/ehci-hcd.c    |   16 ++++++++-------
 drivers/usb/host/ehci-mem.c    |   36 +++++++++++++++++-----------------
 drivers/usb/host/ehci-q.c      |    2 -
 drivers/usb/host/ehci-sched.c  |    4 +--
 drivers/usb/host/ehci.h        |   10 ++++-----
 drivers/usb/host/ohci-hcd.c    |    5 +++-
 drivers/usb/host/ohci-mem.c    |   20 +++++++++----------
 drivers/usb/host/ohci-omap.c   |    6 ++---
 drivers/usb/host/ohci-pci.c    |   43 ++++++++++++++++++++---------------------
 drivers/usb/host/ohci-q.c      |    4 +--
 drivers/usb/host/ohci-sa1111.c |    8 +++----
 drivers/usb/host/ohci.h        |    4 +--
 drivers/usb/host/uhci-hcd.c    |   42 ++++++++++++++++++++--------------------
 drivers/usb/host/uhci-hcd.h    |    4 +--
 18 files changed, 124 insertions(+), 112 deletions(-)

~Deepak

[1] http://www.ussg.iu.edu/hypermail/linux/kernel/0401.3/1648.html

-- 
Deepak Saxena - dsaxena at plexity dot net - http://www.plexity.net/


-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to