diff options
-rw-r--r-- | drivers/char/pcmcia/synclink_cs.c | 4 | ||||
-rw-r--r-- | drivers/char/synclink.c | 4 | ||||
-rw-r--r-- | drivers/char/synclink_gt.c | 5 | ||||
-rw-r--r-- | drivers/char/synclinkmp.c | 4 |
4 files changed, 0 insertions, 17 deletions
diff --git a/drivers/char/pcmcia/synclink_cs.c b/drivers/char/pcmcia/synclink_cs.c index b694d430f10e..36a0afa89aaf 100644 --- a/drivers/char/pcmcia/synclink_cs.c +++ b/drivers/char/pcmcia/synclink_cs.c | |||
@@ -232,7 +232,6 @@ typedef struct _mgslpc_info { | |||
232 | 232 | ||
233 | /* SPPP/Cisco HDLC device parts */ | 233 | /* SPPP/Cisco HDLC device parts */ |
234 | int netcount; | 234 | int netcount; |
235 | int dosyncppp; | ||
236 | spinlock_t netlock; | 235 | spinlock_t netlock; |
237 | 236 | ||
238 | #if SYNCLINK_GENERIC_HDLC | 237 | #if SYNCLINK_GENERIC_HDLC |
@@ -459,13 +458,11 @@ static int ttymajor=0; | |||
459 | 458 | ||
460 | static int debug_level = 0; | 459 | static int debug_level = 0; |
461 | static int maxframe[MAX_DEVICE_COUNT] = {0,}; | 460 | static int maxframe[MAX_DEVICE_COUNT] = {0,}; |
462 | static int dosyncppp[MAX_DEVICE_COUNT] = {1,1,1,1}; | ||
463 | 461 | ||
464 | module_param(break_on_load, bool, 0); | 462 | module_param(break_on_load, bool, 0); |
465 | module_param(ttymajor, int, 0); | 463 | module_param(ttymajor, int, 0); |
466 | module_param(debug_level, int, 0); | 464 | module_param(debug_level, int, 0); |
467 | module_param_array(maxframe, int, NULL, 0); | 465 | module_param_array(maxframe, int, NULL, 0); |
468 | module_param_array(dosyncppp, int, NULL, 0); | ||
469 | 466 | ||
470 | MODULE_LICENSE("GPL"); | 467 | MODULE_LICENSE("GPL"); |
471 | 468 | ||
@@ -2914,7 +2911,6 @@ static void mgslpc_add_device(MGSLPC_INFO *info) | |||
2914 | if (info->line < MAX_DEVICE_COUNT) { | 2911 | if (info->line < MAX_DEVICE_COUNT) { |
2915 | if (maxframe[info->line]) | 2912 | if (maxframe[info->line]) |
2916 | info->max_frame_size = maxframe[info->line]; | 2913 | info->max_frame_size = maxframe[info->line]; |
2917 | info->dosyncppp = dosyncppp[info->line]; | ||
2918 | } | 2914 | } |
2919 | 2915 | ||
2920 | mgslpc_device_count++; | 2916 | mgslpc_device_count++; |
diff --git a/drivers/char/synclink.c b/drivers/char/synclink.c index 527d220aa4aa..2b9e930097e4 100644 --- a/drivers/char/synclink.c +++ b/drivers/char/synclink.c | |||
@@ -304,7 +304,6 @@ struct mgsl_struct { | |||
304 | 304 | ||
305 | /* generic HDLC device parts */ | 305 | /* generic HDLC device parts */ |
306 | int netcount; | 306 | int netcount; |
307 | int dosyncppp; | ||
308 | spinlock_t netlock; | 307 | spinlock_t netlock; |
309 | 308 | ||
310 | #if SYNCLINK_GENERIC_HDLC | 309 | #if SYNCLINK_GENERIC_HDLC |
@@ -868,7 +867,6 @@ static int irq[MAX_ISA_DEVICES]; | |||
868 | static int dma[MAX_ISA_DEVICES]; | 867 | static int dma[MAX_ISA_DEVICES]; |
869 | static int debug_level; | 868 | static int debug_level; |
870 | static int maxframe[MAX_TOTAL_DEVICES]; | 869 | static int maxframe[MAX_TOTAL_DEVICES]; |
871 | static int dosyncppp[MAX_TOTAL_DEVICES]; | ||
872 | static int txdmabufs[MAX_TOTAL_DEVICES]; | 870 | static int txdmabufs[MAX_TOTAL_DEVICES]; |
873 | static int txholdbufs[MAX_TOTAL_DEVICES]; | 871 | static int txholdbufs[MAX_TOTAL_DEVICES]; |
874 | 872 | ||
@@ -879,7 +877,6 @@ module_param_array(irq, int, NULL, 0); | |||
879 | module_param_array(dma, int, NULL, 0); | 877 | module_param_array(dma, int, NULL, 0); |
880 | module_param(debug_level, int, 0); | 878 | module_param(debug_level, int, 0); |
881 | module_param_array(maxframe, int, NULL, 0); | 879 | module_param_array(maxframe, int, NULL, 0); |
882 | module_param_array(dosyncppp, int, NULL, 0); | ||
883 | module_param_array(txdmabufs, int, NULL, 0); | 880 | module_param_array(txdmabufs, int, NULL, 0); |
884 | module_param_array(txholdbufs, int, NULL, 0); | 881 | module_param_array(txholdbufs, int, NULL, 0); |
885 | 882 | ||
@@ -4257,7 +4254,6 @@ static void mgsl_add_device( struct mgsl_struct *info ) | |||
4257 | if (info->line < MAX_TOTAL_DEVICES) { | 4254 | if (info->line < MAX_TOTAL_DEVICES) { |
4258 | if (maxframe[info->line]) | 4255 | if (maxframe[info->line]) |
4259 | info->max_frame_size = maxframe[info->line]; | 4256 | info->max_frame_size = maxframe[info->line]; |
4260 | info->dosyncppp = dosyncppp[info->line]; | ||
4261 | 4257 | ||
4262 | if (txdmabufs[info->line]) { | 4258 | if (txdmabufs[info->line]) { |
4263 | info->num_tx_dma_buffers = txdmabufs[info->line]; | 4259 | info->num_tx_dma_buffers = txdmabufs[info->line]; |
diff --git a/drivers/char/synclink_gt.c b/drivers/char/synclink_gt.c index 2c3e43bb2cc9..88083b066261 100644 --- a/drivers/char/synclink_gt.c +++ b/drivers/char/synclink_gt.c | |||
@@ -128,17 +128,14 @@ static int slgt_device_count; | |||
128 | static int ttymajor; | 128 | static int ttymajor; |
129 | static int debug_level; | 129 | static int debug_level; |
130 | static int maxframe[MAX_DEVICES]; | 130 | static int maxframe[MAX_DEVICES]; |
131 | static int dosyncppp[MAX_DEVICES]; | ||
132 | 131 | ||
133 | module_param(ttymajor, int, 0); | 132 | module_param(ttymajor, int, 0); |
134 | module_param(debug_level, int, 0); | 133 | module_param(debug_level, int, 0); |
135 | module_param_array(maxframe, int, NULL, 0); | 134 | module_param_array(maxframe, int, NULL, 0); |
136 | module_param_array(dosyncppp, int, NULL, 0); | ||
137 | 135 | ||
138 | MODULE_PARM_DESC(ttymajor, "TTY major device number override: 0=auto assigned"); | 136 | MODULE_PARM_DESC(ttymajor, "TTY major device number override: 0=auto assigned"); |
139 | MODULE_PARM_DESC(debug_level, "Debug syslog output: 0=disabled, 1 to 5=increasing detail"); | 137 | MODULE_PARM_DESC(debug_level, "Debug syslog output: 0=disabled, 1 to 5=increasing detail"); |
140 | MODULE_PARM_DESC(maxframe, "Maximum frame size used by device (4096 to 65535)"); | 138 | MODULE_PARM_DESC(maxframe, "Maximum frame size used by device (4096 to 65535)"); |
141 | MODULE_PARM_DESC(dosyncppp, "Enable synchronous net device, 0=disable 1=enable"); | ||
142 | 139 | ||
143 | /* | 140 | /* |
144 | * tty support and callbacks | 141 | * tty support and callbacks |
@@ -348,7 +345,6 @@ struct slgt_info { | |||
348 | /* SPPP/Cisco HDLC device parts */ | 345 | /* SPPP/Cisco HDLC device parts */ |
349 | 346 | ||
350 | int netcount; | 347 | int netcount; |
351 | int dosyncppp; | ||
352 | spinlock_t netlock; | 348 | spinlock_t netlock; |
353 | #if SYNCLINK_GENERIC_HDLC | 349 | #if SYNCLINK_GENERIC_HDLC |
354 | struct net_device *netdev; | 350 | struct net_device *netdev; |
@@ -3385,7 +3381,6 @@ static void add_device(struct slgt_info *info) | |||
3385 | if (info->line < MAX_DEVICES) { | 3381 | if (info->line < MAX_DEVICES) { |
3386 | if (maxframe[info->line]) | 3382 | if (maxframe[info->line]) |
3387 | info->max_frame_size = maxframe[info->line]; | 3383 | info->max_frame_size = maxframe[info->line]; |
3388 | info->dosyncppp = dosyncppp[info->line]; | ||
3389 | } | 3384 | } |
3390 | 3385 | ||
3391 | slgt_device_count++; | 3386 | slgt_device_count++; |
diff --git a/drivers/char/synclinkmp.c b/drivers/char/synclinkmp.c index 5768c4136342..f2edfad360d3 100644 --- a/drivers/char/synclinkmp.c +++ b/drivers/char/synclinkmp.c | |||
@@ -270,7 +270,6 @@ typedef struct _synclinkmp_info { | |||
270 | 270 | ||
271 | /* SPPP/Cisco HDLC device parts */ | 271 | /* SPPP/Cisco HDLC device parts */ |
272 | int netcount; | 272 | int netcount; |
273 | int dosyncppp; | ||
274 | spinlock_t netlock; | 273 | spinlock_t netlock; |
275 | 274 | ||
276 | #if SYNCLINK_GENERIC_HDLC | 275 | #if SYNCLINK_GENERIC_HDLC |
@@ -469,13 +468,11 @@ static int ttymajor = 0; | |||
469 | */ | 468 | */ |
470 | static int debug_level = 0; | 469 | static int debug_level = 0; |
471 | static int maxframe[MAX_DEVICES] = {0,}; | 470 | static int maxframe[MAX_DEVICES] = {0,}; |
472 | static int dosyncppp[MAX_DEVICES] = {0,}; | ||
473 | 471 | ||
474 | module_param(break_on_load, bool, 0); | 472 | module_param(break_on_load, bool, 0); |
475 | module_param(ttymajor, int, 0); | 473 | module_param(ttymajor, int, 0); |
476 | module_param(debug_level, int, 0); | 474 | module_param(debug_level, int, 0); |
477 | module_param_array(maxframe, int, NULL, 0); | 475 | module_param_array(maxframe, int, NULL, 0); |
478 | module_param_array(dosyncppp, int, NULL, 0); | ||
479 | 476 | ||
480 | static char *driver_name = "SyncLink MultiPort driver"; | 477 | static char *driver_name = "SyncLink MultiPort driver"; |
481 | static char *driver_version = "$Revision: 4.38 $"; | 478 | static char *driver_version = "$Revision: 4.38 $"; |
@@ -3751,7 +3748,6 @@ static void add_device(SLMP_INFO *info) | |||
3751 | if (info->line < MAX_DEVICES) { | 3748 | if (info->line < MAX_DEVICES) { |
3752 | if (maxframe[info->line]) | 3749 | if (maxframe[info->line]) |
3753 | info->max_frame_size = maxframe[info->line]; | 3750 | info->max_frame_size = maxframe[info->line]; |
3754 | info->dosyncppp = dosyncppp[info->line]; | ||
3755 | } | 3751 | } |
3756 | 3752 | ||
3757 | synclinkmp_device_count++; | 3753 | synclinkmp_device_count++; |