On Sunday 22 May 2005 11:58 am, David Brownell wrote:

> > The second issue is some irq problem that the new changes in sl811-hcd.c
> > introduced.
> > When plugging in a usb device, it is recognized only after a few seconds
> > of delay and unplugging goes unnoticed frequently, resulting in various
> > errors. See the attached log snippet.
> 
> That's pretty wierd.  Maybe one of the relevant boards is wiring the
> IRQ line up through an inverter or FPGA or something, and others aren't.
> (I saw that recently with smc91x ...)  How does IRQT_FALLING act?

Looks like CF cards are effectively defined as using IRQT_LOW, so
the CF adapter logic in the CFU1U must have the inverter since the
SL811HS chip itself uses IRQT_HIGH.  I've tested this on boards
where the chip is directly connected, or to an IRQT_BOTHEDGE line.
Your Zaurus is different.

Leaving a minor puzzle about where the triggering should be set,
but for now I'll assume it's neither sl811-hcd.c nor sl811_cs.c;
in both cases the IRQ triggering should be set up earlier.  All
the 2.4 versions of this driver that I found arranged this in the
HCD, but I think it's more in the 2.6 spirit to push that into
lower level setup code.

- Dave



-------------------------------------------------------
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_id=7412&alloc_id=16344&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