diff options
author | matthieu castet <castet.matthieu@free.fr> | 2005-11-07 17:27:13 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2006-01-04 16:48:29 -0500 |
commit | b72458a80c75cab832248f536412f386e20a93a0 (patch) | |
tree | aae8bd4f4ca209cd5ddb22ab51c8f02012ed6593 /drivers/usb/atm/Kconfig | |
parent | 6912354a895fcd234155273fe8838a0d83259a9b (diff) |
[PATCH] USB: Eagle and ADI 930 usb adsl modem driver
A driver for USB ADSL modems based on the ADI eagle chipset using the
usb_atm infrastructure.
The managing part was taken from bsd ueagle driver, other parts were
written from scratch.
The driver uses the in-kernel firmware loader :
- to load a first usb firmware when the modem is in pre-firmware state
- to load the dsp firmware that are swapped in host memory.
- to load CMV (configuration and management variables) when the modem
boot. (We can't use options or sysfs for this as there many possible
values. See
https://mail.gna.org/public/eagleusb-dev/2005-04/msg00031.html for a
description of some)
- to load fpga code for 930 chipset.
The device had 4 endpoints :
* 2 for data (use by usbatm). The incoming
endpoint could be iso or bulk. The modem seems buggy and produce lot's
of atm errors when using it in bulk mode for speed > 3Mbps, so iso
endpoint is need for speed > 3Mbps. At the moment iso endpoint need a
patched usbatm library and for this reason is not included in this patch.
* One bulk endpoint for uploading dsp firmware
* One irq endpoint that notices the driver
- if we need to upload a page of the dsp firmware
- an ack for read or write CMV and the value (for the read case).
If order to make the driver cleaner, we design synchronous
(read|write)_cmv :
-send a synchronous control message to the modem
-wait for an ack or a timeout
-return the value if needed.
In order to run these synchronous usb messages we need a kernel thread.
The driver has been tested with sagem fast 800 modems with different
eagle chipset revision and with ADI 930 since April 2005.
Signed-off-by: Matthieu CASTET <castet.matthieu@free.fr>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb/atm/Kconfig')
-rw-r--r-- | drivers/usb/atm/Kconfig | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/drivers/usb/atm/Kconfig b/drivers/usb/atm/Kconfig index f429862e0974..550ddfa71a43 100644 --- a/drivers/usb/atm/Kconfig +++ b/drivers/usb/atm/Kconfig | |||
@@ -44,6 +44,19 @@ config USB_CXACRU | |||
44 | To compile this driver as a module, choose M here: the | 44 | To compile this driver as a module, choose M here: the |
45 | module will be called cxacru. | 45 | module will be called cxacru. |
46 | 46 | ||
47 | config USB_UEAGLEATM | ||
48 | tristate "ADI 930 and eagle USB DSL modem" | ||
49 | depends on USB_ATM | ||
50 | select FW_LOADER | ||
51 | help | ||
52 | Say Y here if you have an ADSL USB modem based on the ADI 930 | ||
53 | or eagle chipset. In order to use your modem you will need to | ||
54 | install firmwares and CMV (Command Management Variables); see | ||
55 | <https://gna.org/projects/ueagleatm/> for details. | ||
56 | |||
57 | To compile this driver as a module, choose M here: the | ||
58 | module will be called ueagle-atm. | ||
59 | |||
47 | config USB_XUSBATM | 60 | config USB_XUSBATM |
48 | tristate "Other USB DSL modem support" | 61 | tristate "Other USB DSL modem support" |
49 | depends on USB_ATM | 62 | depends on USB_ATM |