diff -Nru a/drivers/usb/host/ehci-sched.c b/drivers/usb/host/ehci-sched.c
--- a/drivers/usb/host/ehci-sched.c     Wed Feb 11 11:42:39 2004
+++ b/drivers/usb/host/ehci-sched.c     Wed Feb 11 11:42:39 2004
@@ -605,7 +605,7 @@
                        itd = list_entry (stream->free_itd_list.next,
                                struct ehci_itd, itd_list);
                        list_del (&itd->itd_list);
-                       pci_pool_free (ehci->itd_pool, itd, itd->itd_dma);
+                       dma_pool_free (ehci->itd_pool, itd, itd->itd_dma);
                }
 
                is_in = (stream->bEndpointAddress & USB_DIR_IN) ? 0x10 : 0;
@@ -786,7 +786,7 @@
                        list_del (&itd->itd_list);
                        itd_dma = itd->itd_dma;
                } else
-                       itd = pci_pool_alloc (ehci->itd_pool, mem_flags,
+                       itd = dma_pool_alloc (ehci->itd_pool, mem_flags,
                                        &itd_dma);
 
                if (unlikely (0 == itd)) {


-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to