Am 2005-01-04 18:04 +0200 schrieb Olav Kongas:

> Hey, you have an existing working driver and this new one.

Is the interrupt triggered forever by the isp1161a1 even after
outplugging the storage-device?

irqstat: 0x7                        
isp116x->irqenb: 0x12 ret value: 0x1

    irqstat = isp116x_read_reg16(isp116x, HCuPINT);
    printk("irqstat: 0x%x\n", irqstat);
    isp116x_write_reg16(isp116x, HCuPINT, ~0);

and:

    spin_unlock(&isp116x->lock);
    printk("isp116x->irqenb: 0x%x ret value: 0x%x\n", isp116x->irqenb, ret);
    return ret;

> You could compare the register dumps from the two drivers as
> well as the irq pin settings on the processor.

The "old" isp1362/isp116x driver acts in a similair way, but the
interrupt seems to be triggered with mask 0x33 and int status 0x10
and 0x11 alternating. Seems to be all ok then, since SOFInt comes every
1ms... 

Konsti

-- 
GPG KeyID EF62FCEF
Fingerprint: 13C9 B16B 9844 EC15 CC2E  A080 1E69 3FDA EF62 FCEF


-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
_______________________________________________
linux-usb-devel@lists.sourceforge.net
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to