Hi,

Steve Underwood wrote:
To make it easier for people to get the driver for the USB FET tools
up and running I have added another file to the ones I posted
yesterday. So, you can now download an extra file:

http://www.soft-switch.org/downloads/mspgcc/test/ti_usb_3410_5052_FC4_FC5.tgz

And in there, there's a local usb-serial.h, that differs seriously from the 2.6.17 version:

% diff usb-serial.h 
/usr/src/redhat/BUILD/kernel-2.6.17/linux-2.6.17.i686/drivers/usb/serial/usb-serial.h
19c19
< #include <asm/semaphore.h>
---
#include <linux/mutex.h>
34c34
<  * @sem: semaphore used to synchronize serial_open() and serial_close()
---
 * @mutex: mutex used to synchronize serial_open() and serial_close()
66c66
<       struct semaphore        sem;
---
      struct mutex            mutex;

This diff changes struct usb_serial_port, where bulk_out_endpointAddress appears after the change ... gotcha!

=> always use kernel headers from the kernel you are compiling for!!!

Enrik

--
Institut für Technik der Informationsverarbeitung (ITIV)
Universität Karlsruhe
http://www.itiv.uni-karlsruhe.de/

Reply via email to