Forward porting of the USB Driver Controller from 26.34.10 to 3.2.11

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

 



Hello,

I would like to ask some questions about forward porting of the USB
Driver Controller (UDC) from 2.6.34.10 to 3.2.11 kernel.

I see that there are some changes in the gadget framework, and this
is what I have noticed so far:

[1] Functions usb_gadget_register_driver() and
	usb_gadget_unregister_driver() are moved up to gadget
	driver framework;
[2] usb_gadget_probe_driver() replaced
	usb_gadget_register_driver();
[3] There also two new functions added in UDC framework:
	xxxxx_start() and xxxx_stop(), example taken from
	net2280.c:
static int net2280_start(struct usb_gadget *_gadget,
	struct usb_gadget_driver *driver);
	static int net2280_stop(struct usb_gadget *_gadget,
	struct usb_gadget_driver *driver);

static const struct usb_gadget_ops net2280_ops = {
	.get_frame      = net2280_get_frame,
        .wakeup         = net2280_wakeup,
        .set_selfpowered = net2280_set_selfpowered,
        .pullup         = net2280_pullup,
        .udc_start      = net2280_start,
        .udc_stop       = net2280_stop,
}

Does anybody have set of guidelines/can point set of guidelines how
to adapt to the new interfaces, if there is forward porting effort to be
made?

Or maybe ad-hoc short description how to do forward porting?

Thank you,
Zoran

--------------------------------------------------------------------------------------
Intel GmbH
Dornacher Strasse 1
85622 Feldkirchen/Muenchen, Deutschland 
Sitz der Gesellschaft: Feldkirchen bei Muenchen
Geschaeftsfuehrer: Douglas Lusk, Peter Gleissner, Hannes Schwaderer
Registergericht: Muenchen HRB 47456 
Ust.-IdNr./VAT Registration No.: DE129385895
Citibank Frankfurt a.M. (BLZ 502 109 00) 600119052

--
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