> From: Greg KH > Newsgroups: gmane.linux.usb.devel > Subject: [PATCH 22/70] USB serial: add driver pointer to all usb-serial > drivers > Date: Wed, 7 Feb 2007 16:35:22 -0800
> Every usb serial driver should have a pointer to the corresponding usb driver. > So the usb serial core can add a new id not only to the usb serial driver, but > also to the usb driver. > > Also the usb drivers of ark3116, mos7720 and mos7840 missed the flag > no_dynamic_id=1. This is added now. So, something has moved in usb-serial setup code. Maybe it will be easy to add configuration changes now? [] > +static struct usb_driver aircable_driver = { > + .name = "aircable", > + .probe = usb_serial_probe, > + .disconnect = usb_serial_disconnect, > + .id_table = id_table, > + .no_dynamic_id = 1, > +}; > + > static struct usb_serial_driver aircable_device = { > .description = "aircable", > + .usb_driver = &aircable_driver, > .id_table = id_table, > .num_ports = 1, > .attach = aircable_attach, > @@ -587,13 +596,6 @@ static struct usb_serial_driver aircable_device = { > .unthrottle = aircable_unthrottle, > }; ____ ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ linux-usb-devel@lists.sourceforge.net To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel