USB serial: add dynamic id support to usb-serial core
commit93bacefc4cc0b53e1cb6a336d43847154fdf6886
authorGreg Kroah-Hartman <gregkh@suse.de>
Sun, 17 Dec 2006 20:50:23 +0000 (17 21:50 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 7 Feb 2007 23:44:33 +0000 (7 15:44 -0800)
tree4a82a9d2693d1165c58602a0bf4a8e5c76c541ef
parent495a678fc62e850d15f860d39faee07ba0a8910c
USB serial: add dynamic id support to usb-serial core

Thanks to Johannes Hölzl <johannes.hoelzl@gmx.de> for fixing a few
things and getting it all working properly.

This adds support for dynamic usb ids to the usb serial core.  The file
"new_id" will show up under the usb serial driver, not the usb driver
associated with the usb-serial driver (yeah, it can be a bit confusing
at first glance...)

This patch also modifies the USB core to allow the usb-serial core to
reuse much of the dynamic id logic.

Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Signed-off-by: Johannes Hölzl <johannes.hoelzl@gmx.de>
drivers/usb/core/driver.c
drivers/usb/serial/bus.c
drivers/usb/serial/usb-serial.c
include/linux/usb.h
include/linux/usb/serial.h