diff options
Diffstat (limited to 'drivers/isdn/gigaset')
-rw-r--r-- | drivers/isdn/gigaset/Kconfig | 14 | ||||
-rw-r--r-- | drivers/isdn/gigaset/usb-gigaset.c | 8 |
2 files changed, 10 insertions, 12 deletions
diff --git a/drivers/isdn/gigaset/Kconfig b/drivers/isdn/gigaset/Kconfig index 0017e50c6948..9ca889adf120 100644 --- a/drivers/isdn/gigaset/Kconfig +++ b/drivers/isdn/gigaset/Kconfig | |||
@@ -1,5 +1,5 @@ | |||
1 | menuconfig ISDN_DRV_GIGASET | 1 | menuconfig ISDN_DRV_GIGASET |
2 | tristate "Siemens Gigaset support (isdn)" | 2 | tristate "Siemens Gigaset support" |
3 | select CRC_CCITT | 3 | select CRC_CCITT |
4 | select BITREVERSE | 4 | select BITREVERSE |
5 | help | 5 | help |
@@ -11,11 +11,11 @@ menuconfig ISDN_DRV_GIGASET | |||
11 | one of the connection specific parts that follow. | 11 | one of the connection specific parts that follow. |
12 | This will build a module called "gigaset". | 12 | This will build a module called "gigaset". |
13 | 13 | ||
14 | if ISDN_DRV_GIGASET!=n | 14 | if ISDN_DRV_GIGASET |
15 | 15 | ||
16 | config GIGASET_BASE | 16 | config GIGASET_BASE |
17 | tristate "Gigaset base station support" | 17 | tristate "Gigaset base station support" |
18 | depends on ISDN_DRV_GIGASET && USB | 18 | depends on USB |
19 | help | 19 | help |
20 | Say M here if you want to use the USB interface of the Gigaset | 20 | Say M here if you want to use the USB interface of the Gigaset |
21 | base for connection to your system. | 21 | base for connection to your system. |
@@ -23,7 +23,7 @@ config GIGASET_BASE | |||
23 | 23 | ||
24 | config GIGASET_M105 | 24 | config GIGASET_M105 |
25 | tristate "Gigaset M105 support" | 25 | tristate "Gigaset M105 support" |
26 | depends on ISDN_DRV_GIGASET && USB | 26 | depends on USB |
27 | help | 27 | help |
28 | Say M here if you want to connect to the Gigaset base via DECT | 28 | Say M here if you want to connect to the Gigaset base via DECT |
29 | using a Gigaset M105 (Sinus 45 Data 2) USB DECT device. | 29 | using a Gigaset M105 (Sinus 45 Data 2) USB DECT device. |
@@ -31,7 +31,6 @@ config GIGASET_M105 | |||
31 | 31 | ||
32 | config GIGASET_M101 | 32 | config GIGASET_M101 |
33 | tristate "Gigaset M101 support" | 33 | tristate "Gigaset M101 support" |
34 | depends on ISDN_DRV_GIGASET | ||
35 | help | 34 | help |
36 | Say M here if you want to connect to the Gigaset base via DECT | 35 | Say M here if you want to connect to the Gigaset base via DECT |
37 | using a Gigaset M101 (Sinus 45 Data 1) RS232 DECT device. | 36 | using a Gigaset M101 (Sinus 45 Data 1) RS232 DECT device. |
@@ -48,7 +47,6 @@ config GIGASET_UNDOCREQ | |||
48 | help | 47 | help |
49 | This enables support for USB requests we only know from | 48 | This enables support for USB requests we only know from |
50 | reverse engineering (currently M105 only). If you need | 49 | reverse engineering (currently M105 only). If you need |
51 | features like configuration mode of M105, say yes. If you | 50 | features like configuration mode of M105, say yes. |
52 | care about your device, say no. | ||
53 | 51 | ||
54 | endif # ISDN_DRV_GIGASET != n | 52 | endif # ISDN_DRV_GIGASET |
diff --git a/drivers/isdn/gigaset/usb-gigaset.c b/drivers/isdn/gigaset/usb-gigaset.c index fba61f670527..d78385166099 100644 --- a/drivers/isdn/gigaset/usb-gigaset.c +++ b/drivers/isdn/gigaset/usb-gigaset.c | |||
@@ -278,17 +278,17 @@ static int gigaset_set_line_ctrl(struct cardstate *cs, unsigned cflag) | |||
278 | static int gigaset_set_modem_ctrl(struct cardstate *cs, unsigned old_state, | 278 | static int gigaset_set_modem_ctrl(struct cardstate *cs, unsigned old_state, |
279 | unsigned new_state) | 279 | unsigned new_state) |
280 | { | 280 | { |
281 | return -EINVAL; | 281 | return -ENOTTY; |
282 | } | 282 | } |
283 | 283 | ||
284 | static int gigaset_set_line_ctrl(struct cardstate *cs, unsigned cflag) | 284 | static int gigaset_set_line_ctrl(struct cardstate *cs, unsigned cflag) |
285 | { | 285 | { |
286 | return -EINVAL; | 286 | return -ENOTTY; |
287 | } | 287 | } |
288 | 288 | ||
289 | static int gigaset_baud_rate(struct cardstate *cs, unsigned cflag) | 289 | static int gigaset_baud_rate(struct cardstate *cs, unsigned cflag) |
290 | { | 290 | { |
291 | return -EINVAL; | 291 | return -ENOTTY; |
292 | } | 292 | } |
293 | #endif | 293 | #endif |
294 | 294 | ||
@@ -577,7 +577,7 @@ static int gigaset_brkchars(struct cardstate *cs, const unsigned char buf[6]) | |||
577 | return usb_control_msg(udev, usb_sndctrlpipe(udev, 0), 0x19, 0x41, | 577 | return usb_control_msg(udev, usb_sndctrlpipe(udev, 0), 0x19, 0x41, |
578 | 0, 0, &buf, 6, 2000); | 578 | 0, 0, &buf, 6, 2000); |
579 | #else | 579 | #else |
580 | return -EINVAL; | 580 | return -ENOTTY; |
581 | #endif | 581 | #endif |
582 | } | 582 | } |
583 | 583 | ||