diff options
author | Johan Hovold <johan@kernel.org> | 2017-03-16 19:13:54 +0300 |
---|---|---|
committer | Johan Hovold <johan@kernel.org> | 2017-03-28 12:14:12 +0300 |
commit | bc4c2c15cbfc3747d0c14f547beb5d46cbe43641 (patch) | |
tree | 499def73704bbeb4953477c426d98d30a4805e72 /drivers/usb/serial/kobil_sct.h | |
parent | ea3c6ebdcb4e6f9e1b16d9ced983a8f9131abd01 (diff) | |
download | linux-bc4c2c15cbfc3747d0c14f547beb5d46cbe43641.tar.xz |
USB: serial: mxuport: register two ports for unknown devices
Print a message and register two ports for interfaces for which we do
not know how many ports there are instead of binding, allocating
resources, but not register any ports.
This provides a hint that anyone adding a dynamic device id must also
provide a reference id (driver info) from which the port count can be
retrieved, for example:
echo <vid> <pid> 0 0x110A 0x1410 > new_id
Signed-off-by: Johan Hovold <johan@kernel.org>
Diffstat (limited to 'drivers/usb/serial/kobil_sct.h')
0 files changed, 0 insertions, 0 deletions