Re: Problems with get_driver() and driver_attach() (and new_id too)
From: Alan Stern
Date: Fri Jan 06 2012 - 10:42:56 EST
On Thu, 5 Jan 2012, Greg KH wrote:
> > Greg, do you know offhand whether this will break anything? It really
> > seems like the right thing to do, because the usb_serial driver uses
> > the usb driver but not vice versa.
>
> Hm, there was a reason I ordered the way I did, as I remember having to
> go fix up a number of drivers that did it in the reverse order. Give me
> a day or so to dig it up and figure out what is going on here, and to
> review this thread.
One more thing. I just noticed that, unlike all the others, the
qcserial and siemens_mpi modules don't set .no_dynamic_id in their
usb_driver structures. Is that just an oversight? I can't think of
any reason for it.
Alan Stern
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/