From: Josua Dietze Date: Sun, 23 Oct 2011 12:22:29 +0000 (+0200) Subject: USB: Add optional match for interface class to dynamic ID facility X-Git-Tag: v3.3-rc1~153^2~103 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ff231db811803ef3292532d1d87eaf6882a26cc4;p=pandora-kernel.git USB: Add optional match for interface class to dynamic ID facility When adding the ID of a composite device dynamically to a driver, all hitherto unbound interfaces are bound to this driver regardless of their class, which may not be intended. The patch adds the option to tell the targeted interface class to a driver via the "new_id" attribute, in addition to the device ID. Also, it appends the ABI documentation accordingly. Example: $ echo "1234 2a2a ff" >/sys/bus/usb-serial/drivers/option1/new_id will bind only vendor-specific interfaces to the 3G driver. Signed-off-by: Josua Dietze Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed