linux/drivers/usb/serial
Roman Kagan ce0d9325b1 usb-serial: show port number in sysfs
Some usb-serial devices (e.g. certain Edgeport models) have more than
one serial port on the same USB device/interface.

Currently the only way to distinguish these ports in userspace is by
their minor device number: the driver makes them consecutive and in
stable order.

However, for the purpose of stable naming with udev this is
insufficient: when udev handles the ADD event for one of the ports it
doesn't know what minor number the other one has.

To make stable naming easier, export the port number via sysfs.

Signed-off-by: Roman Kagan <rkagan@sw.ru>
Signed-off-by: Dmitry Guryanov <dimak@dgap.mipt.ru>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2007-10-12 14:55:20 -07:00
..
aircable.c USB: serial: aircable: clean up urb->status usage 2007-07-12 16:34:31 -07:00
airprime.c USB: fix support for Dell Wireless Broadband (aka WWAN) 2007-08-22 14:27:44 -07:00
ark3116.c USB: ark3116.c: fix check-after-use 2007-10-12 14:55:16 -07:00
belkin_sa.c USB: belkin_sa: avoid divide by zero error 2007-08-22 14:27:46 -07:00
belkin_sa.h
bus.c usb-serial: show port number in sysfs 2007-10-12 14:55:20 -07:00
ChangeLog.history
console.c [PATCH] tty: switch to ktermios 2006-12-08 08:28:57 -08:00
cp2101.c USB: cp2101: Coding style police 2007-10-12 14:55:20 -07:00
cyberjack.c USB: serial: cyberjack: clean up urb->status usage 2007-07-12 16:34:32 -07:00
cypress_m8.c USB: serial: cypress_m8: clean up urb->status usage 2007-07-12 16:34:32 -07:00
cypress_m8.h [PATCH] USB: cypress_m8: add support for the Nokia ca42-version 2 cable 2006-03-20 14:50:00 -08:00
digi_acceleport.c digi_acceleport: Drag the driver kicking and screaming into coding style 2007-07-30 13:27:46 -07:00
empeg.c USB: serial: empeg: clean up urb->status usage 2007-07-12 16:34:32 -07:00
ezusb_convert.pl
ezusb.c USB: kmemdup() cleanup in drivers/usb/ 2006-12-01 14:23:27 -08:00
ftdi_sio.c USB: ftdi_sio: Handle FT232RL devices like FT232BM devices 2007-10-12 14:55:19 -07:00
ftdi_sio.h USB: ftdi_sio: add of a new product/manufacturer, TML 2007-09-11 07:48:14 -07:00
funsoft.c USB serial: add driver pointer to all usb-serial drivers 2007-02-07 15:44:34 -08:00
garmin_gps.c USB: serial: garmin_gps: fixes package loss if used from gpsbabel 2007-08-22 14:27:44 -07:00
generic.c USB: serial: generic: clean up urb->status usage 2007-07-12 16:34:33 -07:00
hp4x.c USB serial: add driver pointer to all usb-serial drivers 2007-02-07 15:44:34 -08:00
io_16654.h
io_edgeport.c usb-serial: Fix edgeport regression on non-EPiC devices 2007-07-30 13:27:47 -07:00
io_edgeport.h USB: io_edgeport: Convert to generic boolean 2007-04-27 13:28:36 -07:00
io_fw_boot2.h
io_fw_boot.h
io_fw_down2.h
io_fw_down3.h USB: io_ti: Digi EdgePort update for new devices 2007-07-12 16:29:48 -07:00
io_fw_down.h
io_ionsp.h
io_tables.h USB serial: add driver pointer to all usb-serial drivers 2007-02-07 15:44:34 -08:00
io_ti.c USB: Remove pointless conditional in drivers/usb/serial/io_ti.c::edge_shutdown() 2007-07-19 17:46:05 -07:00
io_ti.h
io_usbvend.h USB: io_ti: Digi EdgePort update for new devices 2007-07-12 16:29:48 -07:00
ipaq.c USB: Adding support for HTC Smartphones to ipaq 2007-08-22 14:27:54 -07:00
ipaq.h
ipw.c USB: serial: ipw: clean up urb->status usage 2007-07-12 16:34:33 -07:00
ir-usb.c USB: serial: ir_usb: Clean up the worst of it, remove exciting 'crash on open' feature 2007-07-12 16:34:37 -07:00
Kconfig USB: oti6858 usb-serial driver (in Nokia CA-42 cable) 2007-07-12 16:29:47 -07:00
keyspan_mpr_fw.h
keyspan_pda_fw.h
keyspan_pda.c USB: serial: keyspan_pda: clean up urb->status usage 2007-07-12 16:34:35 -07:00
keyspan_pda.S
keyspan_usa18x_fw.h
keyspan_usa19_fw.h
keyspan_usa19qi_fw.h
keyspan_usa19qw_fw.h
keyspan_usa19w_fw.h
keyspan_usa26msg.h
keyspan_usa28_fw.h
keyspan_usa28msg.h
keyspan_usa28x_fw.h
keyspan_usa28xa_fw.h
keyspan_usa28xb_fw.h
keyspan_usa49msg.h
keyspan_usa49w_fw.h
keyspan_usa49wlc_fw.h
keyspan_usa67msg.h USB Serial Keyspan: add support for USA-49WG & USA-28XG 2007-07-12 16:29:45 -07:00
keyspan_usa90msg.h
keyspan.c USB: serial: keyspan: clean up urb->status usage 2007-07-12 16:34:35 -07:00
keyspan.h USB Serial Keyspan: add support for USA-49WG & USA-28XG 2007-07-12 16:29:45 -07:00
kl5kusb105.c USB: kl5kusb105: witch to new speed API 2007-10-12 14:55:15 -07:00
kl5kusb105.h
kobil_sct.c USB: kobil_sct: Rework driver 2007-10-12 14:55:20 -07:00
kobil_sct.h
Makefile USB: oti6858 usb-serial driver (in Nokia CA-42 cable) 2007-07-12 16:29:47 -07:00
Makefile-keyspan_pda_fw
mct_u232.c USB: mct_u232-convert-to-proper-speed-handling-api-fix 2007-10-12 14:55:15 -07:00
mct_u232.h USB: mct_u232: Convert to proper speed handling API 2007-07-30 13:27:46 -07:00
mos7720.c USB: mos7720, mos7840: remove redundant urb check 2007-07-19 17:46:04 -07:00
mos7840.c USB: mos7720, mos7840: remove redundant urb check 2007-07-19 17:46:04 -07:00
navman.c USB: serial: navman: clean up urb->status usage 2007-07-12 16:34:35 -07:00
omninet.c USB: serial: omninet: clean up urb->status usage 2007-07-12 16:34:35 -07:00
option.c USB: option: Add Dell HSDPA 5520 to driver 2007-09-11 07:48:15 -07:00
oti6858.c USB: oti6858: Remove broken ioctl code in -mm tree and also the broken fixes 2007-09-11 07:48:13 -07:00
oti6858.h USB: oti6858 usb-serial driver (in Nokia CA-42 cable) 2007-07-12 16:29:47 -07:00
pl2303.c USB: pl2303: remove bogus checks and fix speed support to use tty_get_baud_rate() 2007-07-12 16:34:41 -07:00
pl2303.h USB: PL2303: Willcom WS002IN Support. 2007-02-16 15:32:17 -08:00
safe_serial.c USB: Remove dead references to "SAFE_SERIAL" CONFIG variables. 2007-10-12 14:54:59 -07:00
sierra.c USB: drivers/usb/serial/sierra.c: make 3 functions static 2007-07-30 13:27:46 -07:00
ti_fw_3410.h
ti_fw_5052.h
ti_usb_3410_5052.c USB: serial: ti_usb_3410_5052: clean up urb->status usage 2007-07-12 16:34:36 -07:00
ti_usb_3410_5052.h usb-serial: ti_usb, TI ez430 development tool ID 2006-12-01 14:23:30 -08:00
usb_debug.c USB: add driver for the USB debug devices 2006-12-01 14:25:52 -08:00
usb-serial.c USB: fix BUG: sleeping function called from invalid context at /home/jeremy/hg/xen/paravirt/linux/drivers/usb/core/urb.c:524, in_atomic():1, irqs_disabled():0 2007-07-30 13:27:46 -07:00
visor.c USB: visor add ACER S10 palm device id 2007-08-22 14:27:43 -07:00
visor.h USB: visor add ACER S10 palm device id 2007-08-22 14:27:43 -07:00
whiteheat_fw.h
whiteheat.c USB: visor and whiteheat: remove bogus termios change checks 2007-07-12 16:34:41 -07:00
whiteheat.h USB: whiteheat: Convert to generic boolean 2007-04-27 13:28:39 -07:00
xircom_pgs_fw.h
xircom_pgs.S