hi, everybody

USB device DT3500's source code can't be compiled under kernel 2.6 but
it works in kernel 2.4. I dig into the source code of Linux kernel and
find that the structures defined in Linux have been significantly
changed in kernel 2.6. For example, the definition of usb_driver and
usb_interface_descriptor.

Is there a summary about what the changes are? I can't find it in the
Documentation directory in Linux Source Code. And is there a solution
to handle these questions? How to modify?

Another question is that the header files in kernel 2.6 seems to have
some error. For example, in the 6th line of
/usr/src/linux/include/asm/mpspec.h, there is :
#include <mach_mpspec.h>

But in fact, mach_mpspec.h are located in the following positions:
./asm-i386/mach-bigsmp/mach_mpspec.h
./asm-i386/mach-default/mach_mpspec.h
./asm-i386/mach-es7000/mach_mpspec.h
./asm-i386/mach-generic/mach_mpspec.h
./asm-i386/mach-numaq/mach_mpspec.h
./asm-i386/mach-summit/mach_mpspec.h

BTW: asm is a soft link to asm-i386. How to solve this question? My
distribution is Mandrake 10 powerpack.  Now I simply change line 6
from
#include <mach_mpspec.h>  
to
#include <mach-default/mach_mpspec.h>

Is that right? or other solution?

Thank you with best regards,
TowerGee

_______________________________________________
Muscle mailing list
[email protected]
http://lists.drizzle.com/mailman/listinfo/muscle

Reply via email to