diff options
Diffstat (limited to 'drivers/isdn/hisax/hfc_usb.h')
-rw-r--r-- | drivers/isdn/hisax/hfc_usb.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/drivers/isdn/hisax/hfc_usb.h b/drivers/isdn/hisax/hfc_usb.h index 280dd29b30d6..ec52c1a7c22a 100644 --- a/drivers/isdn/hisax/hfc_usb.h +++ b/drivers/isdn/hisax/hfc_usb.h | |||
@@ -1,7 +1,7 @@ | |||
1 | /* | 1 | /* |
2 | * hfc_usb.h | 2 | * hfc_usb.h |
3 | * | 3 | * |
4 | * $Id: hfc_usb.h,v 4.1 2005/01/26 17:25:53 martinb1 Exp $ | 4 | * $Id: hfc_usb.h,v 4.2 2005/04/07 15:27:17 martinb1 Exp $ |
5 | */ | 5 | */ |
6 | 6 | ||
7 | #ifndef __HFC_USB_H__ | 7 | #ifndef __HFC_USB_H__ |
@@ -91,7 +91,7 @@ | |||
91 | /**********/ | 91 | /**********/ |
92 | /* macros */ | 92 | /* macros */ |
93 | /**********/ | 93 | /**********/ |
94 | #define write_usb(a,b,c)usb_control_msg((a)->dev,(a)->ctrl_out_pipe,0,0x40,(c),(b),0,0,HFC_CTRL_TIMEOUT) | 94 | #define write_usb(a,b,c)usb_control_msg((a)->dev,(a)->ctrl_out_pipe,0,0x40,(c),(b),NULL,0,HFC_CTRL_TIMEOUT) |
95 | #define read_usb(a,b,c) usb_control_msg((a)->dev,(a)->ctrl_in_pipe,1,0xC0,0,(b),(c),1,HFC_CTRL_TIMEOUT) | 95 | #define read_usb(a,b,c) usb_control_msg((a)->dev,(a)->ctrl_in_pipe,1,0xC0,0,(b),(c),1,HFC_CTRL_TIMEOUT) |
96 | 96 | ||
97 | 97 | ||
@@ -186,6 +186,7 @@ static int validconf[][19] = { | |||
186 | {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0} // EOL element | 186 | {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0} // EOL element |
187 | }; | 187 | }; |
188 | 188 | ||
189 | #ifdef CONFIG_HISAX_DEBUG | ||
189 | // string description of chosen config | 190 | // string description of chosen config |
190 | static char *conf_str[] = { | 191 | static char *conf_str[] = { |
191 | "4 Interrupt IN + 3 Isochron OUT", | 192 | "4 Interrupt IN + 3 Isochron OUT", |
@@ -193,6 +194,7 @@ static char *conf_str[] = { | |||
193 | "4 Isochron IN + 3 Isochron OUT", | 194 | "4 Isochron IN + 3 Isochron OUT", |
194 | "3 Isochron IN + 3 Isochron OUT" | 195 | "3 Isochron IN + 3 Isochron OUT" |
195 | }; | 196 | }; |
197 | #endif | ||
196 | 198 | ||
197 | 199 | ||
198 | typedef struct { | 200 | typedef struct { |