On Sun, 19 Mar 2006 15:51:57 -0800, Greg KH <[EMAIL PROTECTED]> wrote: > On Sun, Mar 19, 2006 at 09:51:04AM +0100, patrick wrote:
> > i am a kernel newbie. To improve my skill, i have > > decided to develop a linux driver for my USB Mass > > Storage device. My kernel version is 2.4.20-8. > > My question is: how can i emulate SCSI for my USB Mass > > Storage without generate a virtuel SCSI-Controler. > What's wrong with the two existing drivers in the kernel tree that > already do this? Maybe he can backport ub to 2.4 kernel, who knows. There's no "virtuel SCSI-Controller" in ub :-) > And this is not a "newbie" exercise at all, you have to deal with USB, > SCSI, block layer stuff, and lots of other things. It's one of the most > complex USB drivers in the whole kernel. I would not call usb-storage "complex". It's large and serves a large set of quirky devices, but compared to usb-serial it's nothing. The interface to the SCSI subsystem is reasonably well defined and it is easier to conform to its locking regime than to what we have in tty subsystem. That thing, frankly, scares me. As for sheer design complexity, HID takes the first place. IMHO. -- Pete ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ [email protected] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel
