Re: [linux-usb-devel] Semaphore usage in Lego Tower USB Driver Linux 2.6

2003-11-26 Thread Oliver Neukum
> Inspecting the legousbtower.c code reveals that it behaves the same way. > > The offending line is the down() call in the > tower_interrupt_in_callback. (named adu_interrupt_in_callback in my code) > > The down() function in ./include/asm/semaphore.h calls > might_sleep in ./kernel/sc

[linux-usb-devel] Semaphore usage in Lego Tower USB Driver Linux 2.6

2003-11-26 Thread John Homppi
Hi David (and others), The Lego tower USB interface is very similar to the ADU200 board from Ontrak Control Systems. I downloaded the 0.56 Lego Tower driver for Linux 2.6.0-test7 and modified it slightly to refer to ADU200 devices. (global replace of constants). I am running Redhat 8.0 with kern