Hi
I try to upgrade my x2s_usb 2.4 kernel driver
(https://sourceforge.net/projects/x2susbsfwkit) to 2.6.
The system is a prototyping board with ezusb and Xilinx FPGA.
On 2.4 the driver had 6 /dev entries (via devfs)
/dev/x2s/firmware - for FPGA desing update
/dev/x2s/io0 - for first memory mapped I/O interface
/dev/x2s/io1 - for second memory mapped I/O interface
/dev/x2s/io2 - for third memory mapped I/O interface
/dev/x2s/io3 - for fourth memory mapped I/O interface
/dev/x2s/isostream - for iso transfers
Now I have to say, that I cannot figure out the proper way to generate
these /dev entries for the USB-driver. None of the kernel provided
drivers seem to have that kind of multiple interface.
/sys is not adequate, as /ioX are memory mapped, so they need binary
interface and seek file interface.
What is the future proof(tm) way to generate the interfaces for the
USB-driver?
regards
Jouni
--
Jouni Rynö mailto://[EMAIL PROTECTED]/
http://www.geo.fmi.fi/~ryno/
Finnish Meteorological Institute http://www.fmi.fi/
Space Research http://www.geo.fmi.fi/
P.O.BOX 503 Tel (+358)-9-19294656
FIN-00101 Helsinki FAX (+358)-9-19294603
Finland priv-GSM (+358)-50-5302903
"It's just zeros and ones, it cannot be hard"
-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
[email protected]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel