Re: Modifying MSD Driver

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

 



On Thu, Mar 05, 2009 at 11:56:18AM +0530, Madhukar G wrote:
> Hi All,
> 
> I'm modifying USB MSD driver for a custom device (UASP). USB Core
> would know the details of the device inserted if it is a normal Mass
> Storage Device or UASP based on certain descriptors. I would like to
> pass on this info to MSD driver. The MSD driver has two parameters as
> inputs of type struct usb_device_id and struct usb_interface.
> 
> My question is: Can i modify these data structures by adding
> additional fields.

No, do like all other drivers, and use the usb_interface pointer to
query for the additional descriptors.

Hope this helps,

greg k-h
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux