Re: filter drivers in Linux

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Jan 07, 2009 at 12:22:07PM +0530, Ramya Desai wrote:
> On Wed, Jan 7, 2009 at 12:03 PM, Greg KH <greg@xxxxxxxxx> wrote:
> > On Wed, Jan 07, 2009 at 11:33:06AM +0530, Ramya Desai wrote:
> >> Can anyone suggest the possibility of writing a UASP driver in Linux
> >> as mentioned ? or any such implementation is available in any of Linux
> >> flavours? As for as I know, UASP looks very new technology, for any
> >> references any one can refer to
> >> http://www.t10.org/cgi-bin/ac.pl?t=d&f=08-094r0.pdf
> >>
> >> UASP gives one extra Interface Extension Descriptor, based on this
> >> descriptor we need to form the stack by adding the two additional
> >> drivers between mass storage class driver and host stack. Can we do
> >> this with out modifying the existing mass storage class driver and USB
> >> stack ?
> >
> > Why not just add the new code to the existing mass storage code in the
> > USB stack?  That way everyone benifits, right?
> 
> So I think there is no way to implement these two layers with out
> modifying the existing stack.

How can you insert any code within the existing kernel without modifying
it?

You might be able to fake out a scsi driver as sitting between the scsi
stack and the usb-storage driver (which is just a scsi driver,
usb-storage is a very simple protocol), but again, why?  (note, such an
implementation would by nature of what it is doing, complicate things
much greater than the original suggestion of just modifying the existing
code.)

What is the problem you are having with modifying the existing code?  Is
it technical or some other kind of problem?

thanks,

greg k-h

--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
Please read the FAQ at http://kernelnewbies.org/FAQ


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux