]> git.baikalelectronics.ru Git - kernel.git/commit
USB: add USB_DEVICE_AND_INTERFACE_INFO for device matching
authorDaniel Drake <dsd@gentoo.org>
Wed, 9 May 2007 23:32:24 +0000 (00:32 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 12 Jul 2007 23:29:48 +0000 (16:29 -0700)
commit415702f254d21746b6da64e7737dd18a00798823
tree53545dc889b838ad9807acff4d2b4409f0661b72
parent385ef86762d6d48e2544cbb88fef41d6fe4ab8ed
USB: add USB_DEVICE_AND_INTERFACE_INFO for device matching

Recently, the USB device matching code stopped matching generic interface
matches against devices with vendor-specific device class values.

Some drivers now need to explicitly match USB device ID's (in addition to
generic interface info) to retain the same behaviour as before. This new macro,
suggested by Alan Stern, makes the explicit device/interface matching a little
simpler for those users.

Signed-off-by: Daniel Drake <dsd@gentoo.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
include/linux/usb.h