lkml.org 
[lkml]   [2007]   [May]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] usb-storage: Add support for unusual device by Sierra Wireless
Kevin Lloyd wrote:
> Not a bad idea. When using the US_FL_IGNORE_DEVICE flag, that causes the
> usb-storage driver to no load the device and allow another driver
> properly load it? The reason I ask is because I previously had a
> separate driver for the device, however there were priority issues
> regarding which loaded first usb-storage or the separate driver.

Yes, that's what it's designed for. If usb-storage does come first, the
US_FL_IGNORE_DEVICE flag causes it to return -ENODEV from probe, which
causes the driver core to look for other candidate drivers to claim the
device.

Daniel
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2007-05-15 01:31    [W:0.046 / U:3.020 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site