Hi,
struct usb_serial_device has probe and attach callbacks. After attach
is invoked, device minor numbers are allocated and then registered with
driver core. So attach callback doesn't know minor number.
Can a usb-serial driver know about device minor number as soon as it is
registered with
On Thu, Aug 10, 2017 at 10:27:31AM +0200, Samuel Thibault wrote:
> Oliver Neukum, on jeu. 10 ao??t 2017 10:03:51 +0200, wrote:
> > You cannot make assumptions about driver load. Your driver was loaded.
> > End of story. Register it with the proper subsystem.
>
> The subsystem in question is a
On Fri, Aug 11, 2017 at 11:47:35PM +0200, Samuel Thibault wrote:
> Okash Khawaja, on ven. 11 ao??t 2017 22:38:14 +0100, wrote:
> > On Thu, Aug 10, 2017 at 10:27:31AM +0200, Samuel Thibault wrote:
> > > Oliver Neukum, on jeu. 10 ao??t 2017 10:03:51 +0200, wrote:
> > > &g