aboutsummaryrefslogtreecommitdiff
path: root/drivers/usb/serial/airprime.c
diff options
context:
space:
mode:
authorRainer Weikusat <rainer.weikusat@sncag.com>2007-01-03 15:36:25 +0100
committerGreg Kroah-Hartman <gregkh@suse.de>2007-02-07 15:44:38 -0800
commitfdcba53e2d58272bcdb5f1fad694602ccf02ad46 (patch)
tree425383841722e8bcf20a7926c4b54180fc8667b7 /drivers/usb/serial/airprime.c
parent3ede760f0e46317c6716ead8facff88f6a924a49 (diff)
fix for bugzilla #7544 (keyspan USB-to-serial converter)
At least the Keyspan USA-19HS USB-to-serial converter supports two different configurations, one where the input endpoints have interrupt transfer type and one where they are bulk endpoints. The default UHCI configuration uses the interrupt input endpoints. The keyspan driver, OTOH, assumes that the device has only bulk endpoints (all URBs are initialized by calling usb_fill_bulk_urb in keyspan.c/ keyspan_setup_urb). This causes the interval field of the input URBs to have a value of zero instead of one, which 'accidentally' worked with Linux at least up to 2.6.17.11 but stopped to with 2.6.18, which changed the UHCI support code handling URBs for interrupt endpoints. The patch below modifies to driver to initialize its input URBs either as interrupt or as bulk URBs, depending on the transfertype contained in the associated endpoint descriptor (only tested with the default configuration) enabling the driver to again receive data from the serial converter. Greg K-H reworked the patch. Signed-off-by: Rainer Weikusat <rweikusat@sncag.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb/serial/airprime.c')
0 files changed, 0 insertions, 0 deletions