summaryrefslogtreecommitdiff
path: root/drivers/usb/serial/visor.c
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@suse.de>2005-11-17 00:41:28 +0300
committerGreg Kroah-Hartman <gregkh@suse.de>2006-01-05 00:48:32 +0300
commit733260ff9c45bd4db60f45d17e8560a4a68dff4d (patch)
treee7f09a9a9e2d7a9f22288c9777f7b03906a89e20 /drivers/usb/serial/visor.c
parentddae41be6145f5f9cb4e6df35661a09121b90672 (diff)
downloadlinux-733260ff9c45bd4db60f45d17e8560a4a68dff4d.tar.xz
[PATCH] USB: add dynamic id functionality to USB core
Echo the usb vendor and product id to the "new_id" file in the driver's sysfs directory, and then that driver will be able to bind to a device with those ids if it is present. Example: echo 0557 2008 > /sys/bus/usb/drivers/foo_driver/new_id adds the hex values 0557 and 2008 to the device id table for the foo_driver. Note, usb-serial drivers do not currently work with this capability yet. usb-storage also might have some oddities. Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb/serial/visor.c')
0 files changed, 0 insertions, 0 deletions