RE: [linux-usb-devel] Non-PCI host controllers and Linux 2.6.x

2004-01-22 Thread Mikael Starvik
>the relationship to PCI is just that only PCI has dma-coherent >memory allocators which work with less than one page: >pci_pool ~= kmem_cache_t, while dma_alloc_coherent ~= >__get_free_page. Ok, good. >On systems where DMA is cache-coherent, HCDs can implement >those functions using kmalloc

Re: [linux-usb-devel] Non-PCI host controllers and Linux 2.6.x

2004-01-22 Thread David Brownell
Mikael Starvik wrote: Hi, I'm porting the host controller driver for the CRIS based SoCs from 2.4. The host controller in the SoCs is not connected to a PCI bus. Most of it is straightforward but usb/core/buffer.c makes extensive use ot pci related functions. The "buffer.c" functions can be cha

[linux-usb-devel] Non-PCI host controllers and Linux 2.6.x

2004-01-22 Thread Mikael Starvik
Hi, I'm porting the host controller driver for the CRIS based SoCs from 2.4. The host controller in the SoCs is not connected to a PCI bus. Most of it is straightforward but usb/core/buffer.c makes extensive use ot pci related functions. Is my best choice to provide my own versions of the pci