[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: usb-irda and etrax usb driver or how quicky we oops
> From: Simon Posnjak [mailto:firstname.lastname@example.org]
> Sent: Wednesday, July 14, 2004 4:35 PM
> I just saw in the errata that you do not advise using v2
> 100LX chip for USB
> host application. We only have v2 chips on our dev boards
> (that is according
> to cat /proc/cpuinfo) so I will wait a bit for us to get the
> v3 chips and
> then - if they still wont work - I will try to debug it.
The USB bug fixed in ETRAX 100LX rev. 3 shouldn't matter for
the IRDA device since the bug relates to ctrl traffic and
periodic traffic (isochronous or interrupt) and the device
use ctrl and bulk traffic.
> P.S. Just to be sure: Could somebody please confirm that we
> are using v2
> version of the chip. They are marked: Etrax 100LX MCM 2+8
> part number 18896.
ETRAX 100LX rev. 2 and rev. 3 differ only in the USB
controller, so /proc/cpuinfo for rev. 3 will give the same
output as rev. 2.
To see what your MCM is based on please apply the patch below
to usb-host.c. The USB version is 0x10 for rev. 3 and 0x11
for rev. 1 and rev. 2.
RCS file: /usr/local/cvs/linux/os/linux/arch/cris/drivers/usb-host.c,v
retrieving revision 1.20
diff -u -r1.20 usb-host.c
--- usb-host.c 11 May 2004 13:10:05 -0000 1.20
+++ usb-host.c 15 Jul 2004 12:37:37 -0000
@@ -4306,10 +4306,11 @@
struct usb_bus *bus;
struct usb_device *usb_rh;
- info("ETRAX 100LX USB-HCD %s (c) 2001-2003 Axis Communications AB\n", usb_hcd_version);
+ info("ETRAX 100LX USB-HCD %s (c) 2001-2003 Axis Communications AB", usb_hcd_version);
+ info("ETRAX 100LX USB on-chip controller version 0x%x", *R_USB_REVISION);
hc = kmalloc(sizeof(etrax_hc_t), GFP_KERNEL);
assert(hc != NULL);