Re: [linux-usb-devel] [PATCH 1/2] Fixed compiled issue tu to new of_platform.h header

2006-12-03 Thread Nicolas DET
On Sun, 3 Dec 2006 09:23:03 +0100 S0ven Luther <[EMAIL PROTECTED]> wrote: > > Not that I know. But we could have a cleaner approach. The #include one > > dates a bit... we could have for example an ohci-core.ko with the core > > bits, and ochi-pci.ko, ohci-patform.ko etc... be separate modules li

Re: [linux-usb-devel] [Patch] for UHCI driver (from kernel 2.6.6).

2004-06-18 Thread Nicolas DET
Alan Stern wrote: No, I don't want to use it. It's too complicated for the relatively small advantage it offers. Ok. This all sounds very strange. Here's an idea. Add unsigned char unused[32]; struct list_head remove_list_copy; to the end of the uhci_qh structure. The remove

Re: [linux-usb-devel] [Patch] for UHCI driver (from kernel 2.6.6).

2004-06-17 Thread Nicolas DET
Sven Luther wrote: This requires a lot of care to do right. Remember that on PC systems interrupts can be substantially posted. A "stop_interrupt" may prevent IRQ issue but if an IRQ is already on the PC APIC bus it will kill you later on because the IRQ delivery and PCI bus access on the PC class

Re: [linux-usb-devel] Patch for UHCI driver (from kernel 2.6.6).

2004-06-15 Thread Nicolas DET
David Brownell wrote: Except that the UHCI spec is clear that in a given QH (or TD), only one word is modified and the others are read-only. So I see no way that "real UHCI" would ever write more than one 32-bit word at a time. Whose UHCI silicon is this, and do you know for a fact that something

Re: [linux-usb-devel] Patch for UHCI driver (from kernel 2.6.6).

2004-06-15 Thread Nicolas DET
David Brownell wrote: I think most of the PowerPC machine works just like the x86. About this one (Pegasos II), it does support cache coherency/bus snooping. So, IMO, dma_alloc_coherent is correct (otherwise, nothing would work, and we would need to rewrote each Linux driver ...) But you DID nee

Re: [linux-usb-devel] Patch for UHCI driver (from kernel 2.6.6).

2004-06-15 Thread Nicolas DET
Alan Cox wrote: It makes me nervous. The first thing I see is the question about ordering between posted writes to the IntEnable reg in PCI space and the software register. The second thing is returning IRQ_NONE causing the "screaming interrupt" warning. outw() takes care of the ordering. by the wa

Re: [linux-usb-devel] Patch for UHCI driver (from kernel 2.6.6).

2004-06-15 Thread Nicolas DET
David Brownell wrote: > > I'm reading it as: on the PPC boxes in question, > dma_alloc_coherent() -- used indirectly to allocate > the memory in question -- is returning memory that > doesn't work as required by the text I quoted. > > Specifically, caching effects DO exist, ones where > the CPU's

Re: [linux-usb-devel] Patch for UHCI driver (from kernel 2.6.6).

2004-06-15 Thread Nicolas DET
Alan Cox wrote: > This requires a lot of care to do right. Remember that on PC systems > interrupts can be substantially posted. A "stop_interrupt" may prevent > IRQ issue but if an IRQ is already on the PC APIC bus it will kill you > later on because the IRQ delivery and PCI bus access on the PC c

[linux-usb-devel] [Patch] for UHCI driver (from kernel 2.6.6).

2004-06-14 Thread Nicolas DET
Hello ! I'm Nicolas DET. And I've a patch for the Linux 2.6.6 UHCI driver. Some users complain that our computers (Pegasos II http://www.pegasosppc.com/) are instable (systems hangs) when stressing the USB (we use a VIA-8231 SouthBridge) on Linux 2.6.x (2.4.x is fine). Then we st

[linux-usb-devel] Patch for UHCI driver (from kernel 2.6.6).

2004-06-14 Thread Nicolas DET
Hello ! I'm Nicolas DET. And I've a patch for the Linux 2.6.6 UHCI driver. Some users complain that our computers (Pegasos II http://www.pegasosppc.com/) are instable (systems hangs) when stressing the USB (we use a VIA-8231 SouthBridge) on Linux 2.6.x (2.4.x is fine). Then we st