Greg KH wrote:
> 
> On Wed, Dec 05, 2001 at 06:33:06PM +1100, Brad Hards wrote:
> > Most drivers return a pointer to the device structure from probe().
> 
> I thought that was a requirement to show that a driver has claimed an
> interface :)
Well, you can manually claim...

> > The two CDC drivers (CDCEther and acm) return NULL. NULL returns from probe()
> > normally indicate failure (and result in the "device not claimed by any
> > driver" syslog message).
> 
> Why was this changed?  They should return a pointer to their device,
> instead of relying on their internal table of devices.
No idea about the reason, but remember that the probe() return can't be a
pointer to the device itself, only to one of the two interfaces. I think that
the control interface is best, but I haven't done the changes yet.

Brad

_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to