USB: cxacru: add write-only sysfs attribute for modem configuration
authorSimon Arlott <simon@fire.lp0.eu>
Sat, 21 Nov 2009 15:14:01 +0000 (15:14 +0000)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 2 Mar 2010 22:53:01 +0000 (14:53 -0800)
commit4ac37208e9b30b36b615ed22a79b4ee787fdc9b5
tree792b78405d06b00a0d0a5fa3a342ef359f1f5383
parent885582c48e5fbf47ccc4273aaa5f2f56ad513253
USB: cxacru: add write-only sysfs attribute for modem configuration

The modem can be configured using CM_REQUEST_CARD_DATA_SET,
although CM_REQUEST_CARD_DATA_GET does not return any data.

Tested by setting the modulation (0x0a) option.

There is a list of parameters in the following archive,
but the meaning of many of them is not well documented:
  http://sourceforge.net/project/shownotes.php?release_id=301825

This source also indicates that the highest parameter set
is 0x4a but this varies by model so an arbitrary limit of
0x7f has been used (the index is a 32-bit integer).

Signed-off-by: Simon Arlott <simon@fire.lp0.eu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Documentation/networking/cxacru.txt
drivers/usb/atm/cxacru.c