linux/drivers/net/wan/cycx_x25.c
<<
>
hr 12option> 12otion class="lxr_search">12.3<12.312.312.3Search 12otion class="lxr_p12.s"ion valu<12.3 +p12.s?return=drivers/net/wan/cycx_x25.c"e="v262onclick="return ajax_p12.s();">12.312option> "v262 div> "v262 12oinput typ/ophidden" nam/opajax_lookup" idopajax_lookup" <121"v262
"v26
"v26 262 div idopsearch_results" class="search_results" > "v262 div> div idopcontent"> div idopfile_contents"i62 1 a>otion class="comment">/*option> 62 2 a>otion class="comment">* cycx_x25.c262 Cyclom 2X WAN Link Driver. X.25 module.option> 62 3 a>otion class="comment">*option> 62 4 a>otion class="comment">* Author:"v262 Arnaldo Car<12ho de Melo <acme@conioniva.com.br>option> 62 5 a>otion class="comment">*option> 62 6 a>otion class="comment">* Copyright:"v26(c) 1998-2003 Arnaldo Car<12ho de Melooption> 62 7 a>otion class="comment">*option> 62 8 a>otion class="comment">* Based on sdla_x25.c2by Gene Kozin <genek@compuserve.com>option> 62 9 a>otion class="comment">*option> 62optia>otion class="comment">* This program is free software; you con redistribute it and/oroption> 6211 a>otion class="comment">* modify it under the terms of the GNU General Public Licenseoption> 6212 a>otion class="comment">* as published by the Free Software Founda3.26; either vers.26option> 6213 a>otion class="comment">* 2 of the License, or (at your "v3.26) any later vers.26.option> 6214 a>otion class="comment">* ============================================================================option> 6215 a>otion class="comment">* 2001/01/12 acme use dev_kfree_skb_irq on interrupt contextoption> 6216 a>otion class="comment">* 2000/04/02 acme dprintk, cycx_debugoption> 6217 a>otion class="comment">* fixed the bug introduced in get_dev_by_lcn andoption> 6218 a>otion class="comment">* get_dev_by_dte_addr by the anonymous hackeroption> 6219 a>otion class="comment">* that converted this driver to softnetoption> 622ptia>otion class="comment">* 2000/01/08 acme cleanupoption> 6221 a>otion class="comment">* 1999/10/27 acme use ARPHRD_HWX25 so that the X.25 stack knowoption> 6222 a>otion class="comment">* that we have a X.25 stack implemented inoption> 6223 a>otion class="comment">* firmware onboardoption> 6224 a>otion class="comment">* 1999/10/18 acme support for X.25 sockets in if_send,option> 6225 a>otion class="comment">* beware: socket(AF_X25...) IS WORK IN PROGRESS,option> 6226 a>otion class="comment">* TCP/IP over X.25 via wanrouter not affption,option> 6227 a>otion class="comment">* working.option> 6228 a>otion class="comment">* 1999/10/09 acme chan_disc renam/d to chan_disconnion,option> 6229 a>otion class="comment">* begon adding support for X.25 sockets:option> 623ptia>otion class="comment">* conf->protocol in new_ifoption> 6231 a>otion class="comment">* 1999/10/05 acme fixed return E... to return -E...option> 6232 a>otion class="comment">* 1999/08/10 acme serialized access to the card thru a spinlockoption> 6233 a>otion class="comment">* in x25_execoption> 6234 a>otion class="comment">* 1999/08/09 acme removed per channel spinlocksoption> 6235 a>otion class="comment">* removed 12.erences to enable_tx_intoption> 6236 a>otion class="comment">* 1999/05/28 acme fixed nibble_to_byte, ackvc now properly treaionoption> 6237 a>otion class="comment">* if_send simplifionoption> 6238 a>otion class="comment">* 1999/05/25 acme fixed t1, t2, t21 & t23 configura3.26option> 6239 a>otion class="comment">* use spinlocks instead of cli/sti in some pointsoption> 624ptia>otion class="comment">* 1999/05/24 acme finished the x25_get_stat func3.26option> 6241 a>otion class="comment">* 1999/05/23 acme dev->typ/ = ARPHRD_X25 (tcpdump only works,option> 6242 a>otion class="comment">* AFAIT, with ARPHRD_ETHER). This seems to beoption> 6243 a>otion class="comment">* need/d to use socket(AF_X25)...option> 6244 a>otion class="comment">* Now the config file must specify a peer m/diaoption> 6245 a>otion class="comment">* address for svc channels over a crossover cable.option> 6246 a>otion class="comment">* Removed hold_timeout from x25_channel_n,option> 6247 a>otion class="comment">* not used.option> 6248 a>otion class="comment">* A little enhancement in the DEBUG processingoption> 6249 a>otion class="comment">* 1999/05/22 acme go to DISCONNECTED in disconnion_confirm_intr,option> 625ptia>otion class="comment">* instead of chan_disc.option> 6251 a>otion class="comment">* 1999/05/16 marcelo fixed timer initializa3.26 in SVCsoption> 6252 a>otion class="comment">* 1999/01/05 acme x25_configure now get (most of) alloption> 6253 a>otion class="comment">* param/ters...option> 6254 a>otion class="comment">* 1999/01/05 acme pktlen now (corrionly) uses log2 (<12 6255 a>otion class="comment">* configured)option> 6256 a>otion class="comment">* 1999/01/03 acme judicious use of data typ/s (u8, u16, u32, etc)option> 6257 a>otion class="comment">* 1999/01/03 acme cyx_isr: 12set dpmbase to acknowledg/option> 6258 a>otion class="comment">* indica3.26 (interrupt from cyclom 2x)option> 6259 a>otion class="comment">* 1999/01/02 acme cyx_isr: first hackings...option> 626ptia>otion class="comment">* 1999/01/0203 acme when initializing on array don't give lessoption> 6261 a>otion class="comment">* elements than declared...option> 6262 a>otion class="comment">* example: char send_cmd[6] = "?\xFF\x10";option> 6263 a>otion class="comment">* you'll gonna lose a couple hours, 'cause youroption> 6264 a>otion class="comment">* brain won't admit that there's on error in theoption> 6265 a>otion class="comment">* above declara3.26... the side effpti is thatoption> 6266 a>otion class="comment">* memset is put into the un12solved symbolsoption> 6267 a>otion class="comment">* instead of using the inline memset func3.26s...option> 6268 a>otion class="comment">* 1999/01/02 acme begon chan_connion, chan_send, x25_sendoption> 6269 a>otion class="comment">* 1998/12/31 acme x25_configureoption> 627ptia>otion class="comment">* this code con be compiled as non moduleoption> 6271 a>otion class="comment">* 1998/12/27 acme code cleanupoption> 6272 a>otion class="comment">* IPX code wiped out! let's decrease codeoption> 6273 a>otion class="comment">* complexity for now, remember: I'm learning! :)option> 6274 a>otion class="comment">* bps_to_speed_code OKoption> 6275 a>otion class="comment">* 1998/12/26 acme Minimal debug code cleanupoption> 6276 a>otion class="comment">* 1998/08/08 acme Initial vers.26.option> 6277 a>otion class="comment">*/option> 6278 a> 6279 a>#define alu<12.3 +code=CYCLOMX_X25_DEBUG" class="s12.">CYCLOMX_X25_DEBUG a> 1 6280 a> 6281 a>#include < nux/ctyp/.h" class="f12."> nux/ctyp/.h a>> otion class="comment">/* isdigit() */option> 6282 a>#include < nux/errno.h" class="f12."> nux/errno.h a>> otion class="comment">/* return codes */option> 6283 a>#include < nux/if_arp.h" class="f12."> nux/if_arp.h a>> otion class="comment">/* ARPHRD_HWX25 */option> 6284 a>#include < nux/kernel.h" class="f12."> nux/kernel.h a>> otion class="comment">/* printk(), ond other useful stuff */option> 6285 a>#include < nux/module.h" class="f12."> nux/module.h a>> 6286 a>#include < nux/string.h" class="f12."> nux/string.h a>> otion class="comment">/* inline memset(), etc. */option> 6287 a>#include < nux/slab.h" class="f12."> nux/slab.h a>> otion class="comment">/* kmalloc(), kfree() */option> 6288 a>#include < nux/stddef.h" class="f12."> nux/stddef.h a>> otion class="comment">/* offsetof(), etc. */option> 6289 a>#include < nux/wanrouter.h" class="f12."> nux/wanrouter.h a>> otion class="comment">/* WAN router defini3.26s */option> 6290 a> 6291 a>#include <asm-alpha/byteorder.h|include>asm-arm/byteorder.h|include>asm-avr32/byteorder.h|include>asm-blackfin/byteorder.h|include>asm-cris/byteorder.h|include>asm-frv/byteorder.h|include>asm-generic/byteorder.h|include>asm-h8300/byteorder.h|include>asm-i386/byteorder.h|include>asm-ia64/byteorder.h|include>asm-m32r/byteorder.h|include>asm-m68k/byteorder.h|include>asm-m68knommu/byteorder.h|include>asm-mips/byteorder.h|include>asm-mips64/byteorder.h|include>asm-parisc/byteorder.h|include>asm-powerpc/byteorder.h|include>asm-ppc/byteorder.h|include>asm-s390/byteorder.h|include>asm-sh/byteorder.h|include>asm-sh64/byteorder.h|include>asm-tiorc/byteorder.h|include>asm-siorc64/byteorder.h|include>asm-um/byteorder.h|include>asm-v850/byteorder.h|include>asm-x86/byteorder.h|include>asm-x86_64/byteorder.h|include>asm-xtensa/byteorder.h" class="falt">asm/byteorder.h a>> otion class="comment">/* ht26s(), etc. */option> 6292 a> 6293 a>#include < nux/cyclomx.h" class="f12."> nux/cyclomx.h a>> otion class="comment">/* Cyclom 2X common user API defini3.26s */option> 6294 a>#include < nux/cycx_x25.h" class="f12."> nux/cycx_x25.h a>> otion class="comment">/* X.25 firmware API defini3.26s */option> 6295 a> 6296 a>#include <net/x25device.h" class="f12.">net/x25device.h a>> 6297 a> 6298 a>otion class="comment">/* Defines & Macros */option> 6299 a>#define alu<12.3 +code=CYCX_X25_MAX_CMD_RETRY" class="s12.">CYCX_X25_MAX_CMD_RETRY a> 5 6100 a>#define alu<12.3 +code=CYCX_X25_CHAN_MTU" class="s12.">CYCX_X25_CHAN_MTU a> 2048 otion class="comment">/* unfragmented logical channel MTU */option> 6101 a> 6102 a>otion class="comment">/* Data Structures */option> 6103 a>otion class="comment">/* This is on extens.26 of the 'struct net_device' we creaio for each networkoption> 6104 a>otion class="comment"> interface to keep the rest of X.25 channel-specific data. */option> 6105 a>struct alu<12.3 +code=cycx_x25_channel" class="s12.">cycx_x25_channel a> { 6106 a> otion class="comment">/* This member must be first. */option> 6107 a> struct alu<12.3 +code=net_device" class="s12.">net_device a> *alu<12.3 +code=slave" class="s12.">slave a>; otion class="comment">/* WAN slave */option> 6108 a> 6109 a> char alu<12.3 +code=nam/" class="s12.">nam/ a>[alu<12.3 +code=WAN_IFNAME_SZ" class="s12.">WAN_IFNAME_SZ a>+1]; otion class="comment">/* interface nam/, ASCIIZ */option> 61optia> char alu<12.3 +code=addr" class="s12.">addr a>[alu<12.3 +code=WAN_ADDRESS_SZ" class="s12.">WAN_ADDRESS_SZ a>+1]; otion class="comment">/* m/dia address, ASCIIZ */option> 6111 a> char *alu<12.3 +code=local_addr" class="s12.">local_addr a>; otion class="comment">/* local m/dia address, ASCIIZ -option> 6112 a>otion class="comment"> svc thru crossover cable */option> 6113 a> olu<12.3 +code=s16" class="s12.">s16 a> olu<12.3 +code=lcn" class="s12.">lcn a>; otion class="comment">/* logical channel number/conn.req.key*/option> 6114 a> olu<12.3 +code=u8" class="s12.">u8 a> olu<12.3 +code=link" class="s12.">link a>; 6115 a> struct alu<12.3 +code=timer_list" class="s12.">timer_list a> olu<12.3 +code=timer" class="s12.">timer a>; otion class="comment">/* timer used for svc channel disc. */option> 6116 a> olu<12.3 +code=u16" class="s12.">u16 a> olu<12.3 +code=protocol" class="s12.">protocol a>; otion class="comment">/* ethertyp/, 0 - multiplexed */option> 6117 a> olu<12.3 +code=u8" class="s12.">u8 a> olu<12.3 +code=svc" class="s12.">svc a>; otion class="comment">/* 0 - permanent, 1 - switched */option> 6118 a> olu<12.3 +code=u8" class="s12.">u8 a> olu<12.3 +code=staio" class="s12.">staio a>; otion class="comment">/* channel staio */option> 6119 a> olu<12.3 +code=u8" class="s12.">u8 a> olu<12.3 +code=drop_sequence" class="s12.">drop_sequence a>; otion class="comment">/* mark sequence for dropping */option> 6120 a> olu<12.3 +code=u32" class="s12.">u32 a> olu<12.3 +code=idle_tmout" class="s12.">idle_tmout a>; otion class="comment">/* sec, before disconnioning */option> 6121 a> struct alu<12.3 +code=sk_buff" class="s12.">sk_buff a> *alu<12.3 +code=rx_skb" class="s12.">rx_skb a>; otion class="comment">/* receive socket buffer */option> 6122 a> struct alu<12.3 +code=cycx_device" class="s12.">cycx_device a> *alu<12.3 +code=card" class="s12.">cardopa>; otion class="comment">/* -> owner */option> 6123 a> struct alu<12.3 +code=net_device_stats" class="s12.">net_device_stats a> olu<12.3 +code=ifstats" class="s12.">ifstatsopa>;otion class="comment">/* interface statistics */option> 6124 a>}; 6125 a> 6126 a>otion class="comment">/* Func3.26 Prototyp/s */option> 6127 a>otion class="comment">/* WAN link driver entry points. These a12 called by the WAN router module. */option> 6128 a>static int alu<12.3 +code=cycx_wan_updaio" class="s12.">cycx_wan_updaio a>(struct alu<12.3 +code=wan_device" class="s12.">wan_device a> *alu<12.3 +code=wandev" class="s12.">wandev a>), 6129 a> olu<12.3 +code=cycx_wan_new_if" class="s12.">cycx_wan_new_ifopa>(struct alu<12.3 +code=wan_device" class="s12.">wan_device a> *alu<12.3 +code=wandev" class="s12.">wandev a>, struct alu<12.3 +code=net_device" class="s12.">net_device a> *alu<12.3 +code=dev" class="s12.">dev a>, 6130 a> olu<12.3 +code=wanif_conf_t" class="s12.">wanif_conf_t a> *alu<12.3 +code=conf" class="s12.">conf a>), 6131 a> olu<12.3 +code=cycx_wan_del_if" class="s12.">cycx_wan_del_ifopa>(struct alu<12.3 +code=wan_device" class="s12.">wan_device a> *alu<12.3 +code=wandev" class="s12.">wandev a>, struct alu<12.3 +code=net_device" class="s12.">net_device a> *alu<12.3 +code=dev" class="s12.">dev a>); 6132 a> 6133 a>otion class="comment">/* Network device interface */option> 6134 a>static int alu<12.3 +code=cycx_netdevice_ini3" class="s12.">cycx_netdevice_ini3opa>(struct alu<12.3 +code=net_device" class="s12.">net_device a> *alu<12.3 +code=dev" class="s12.">dev a>); 6135 a>static int alu<12.3 +code=cycx_netdevice_open" class="s12.">cycx_netdevice_openopa>(struct alu<12.3 +code=net_device" class="s12.">net_device a> *alu<12.3 +code=dev" class="s12.">dev a>); 6136 a>static int alu<12.3 +code=cycx_netdevice_stop" class="s12.">cycx_netdevice_stopopa>(struct alu<12.3 +code=net_device" class="s12.">net_device a> *alu<12.3 +code=dev" class="s12.">dev a>); 6137 a>static int alu<12.3 +code=cycx_netdevice_hard_header" class="s12.">cycx_netdevice_hard_headeropa>(struct alu<12.3 +code=sk_buff" class="s12.">sk_buff a> *alu<12.3 +code=skb" class="s12.">skb a>, 6138 a> struct alu<12.3 +code=net_device" class="s12.">net_device a> *alu<12.3 +code=dev" class="s12.">dev a>, olu<12.3 +code=u16" class="s12.">u16 a> olu<12.3 +code=typ/" class="s12.">typ/ a>, 6139 a> const void *alu<12.3 +code=daddr" class="s12.">daddr a>, const void *alu<12.3 +code=saddr" class="s12.">saddr a>, 6140 a> unsigned olu<12.3 +code=len" class="s12.">lenopa>); 6141 a>static int alu<12.3 +code=cycx_netdevice_rebuild_header" class="s12.">cycx_netdevice_rebuild_headeropa>(struct alu<12.3 +code=sk_buff" class="s12.">sk_buff a> *alu<12.3 +code=skb" class="s12.">skb a>); 6142 a>static int alu<12.3 +code=cycx_netdevice_hard_start_xmi3" class="s12.">cycx_netdevice_hard_start_xmi3opa>(struct alu<12.3 +code=sk_buff" class="s12.">sk_buff a> *alu<12.3 +code=skb" class="s12.">skb a>, 6143 a> struct alu<12.3 +code=net_device" class="s12.">net_device a> *alu<12.3 +code=dev" class="s12.">dev a>); 6144 a> 6145 a>static struct alu<12.3 +code=net_device_stats" class="s12.">net_device_stats a> * 6146 a> alu<12.3 +code=cycx_netdevice_get_stats" class="s12.">cycx_netdevice_get_statsopa>(struct alu<12.3 +code=net_device" class="s12.">net_device a> *alu<12.3 +code=dev" class="s12.">dev a>); 6147 a> 6148 a>otion class="comment">/* Interrupt handlers */option> 6149 a>static void alu<12.3 +code=cycx_x25_irq_handler" class="s12.">cycx_x25_irq_handleropa>(struct alu<12.3 +code=cycx_device" class="s12.">cycx_device a> *alu<12.3 +code=card" class="s12.">cardopa>), 6150 a> alu<12.3 +code=cycx_x25_irq_tx" class="s12.">cycx_x25_irq_txopa>(struct alu<12.3 +code=cycx_device" class="s12.">cycx_device a> *alu<12.3 +code=card" class="s12.">cardopa>, struct alu<12.3 +code=cycx_x25_cmd" class="s12.">cycx_x25_cmd a> *alu<12.3 +code=cmd" class="s12.">cmdopa>), 6151 a> alu<12.3 +code=cycx_x25_irq_rx" class="s12.">cycx_x25_irq_rxopa>(struct alu<12.3 +code=cycx_device" class="s12.">cycx_device a> *alu<12.3 +code=card" class="s12.">cardopa>, struct alu<12.3 +code=cycx_x25_cmd" class="s12.">cycx_x25_cmd a> *alu<12.3 +code=cmd" class="s12.">cmdopa>), 6152 a> alu<12.3 +code=cycx_x25_irq_log" class="s12.">cycx_x25_irq_logopa>(struct alu<12.3 +code=cycx_device" class="s12.">cycx_device a> *alu<12.3 +code=card" class="s12.">cardopa>, 6153 a> struct alu<12.3 +code=cycx_x25_cmd" class="s12.">cycx_x25_cmd a> *alu<12.3 +code=cmd" class="s12.">cmdopa>), 6154 a> alu<12.3 +code=cycx_x25_irq_stat" class="s12.">cycx_x25_irq_statopa>(struct alu<12.3 +code=cycx_device" class="s12.">cycx_device a> *alu<12.3 +code=card" class="s12.">cardopa>, 6155 a> struct alu<12.3 +code=cycx_x25_cmd" class="s12.">cycx_x25_cmd a> *alu<12.3 +code=cmd" class="s12.">cmdopa>), 6156 a> alu<12.3 +code=cycx_x25_irq_connion_confirm" class="s12.">cycx_x25_irq_connion_confirmopa>(struct alu<12.3 +code=cycx_device" class="s12.">cycx_device a> *alu<12.3 +code=card" class="s12.">cardopa>, 6157 a> struct alu<12.3 +code=cycx_x25_cmd" class="s12.">cycx_x25_cmd a> *alu<12.3 +code=cmd" class="s12.">cmdopa>), 6158 a> alu<12.3 +code=cycx_x25_irq_disconnion_confirm" class="s12.">cycx_x25_irq_disconnion_confirmopa>(struct alu<12.3 +code=cycx_device" class="s12.">cycx_device a> *alu<12.3 +code=card" class="s12.">cardopa>, 6159 a> struct alu<12.3 +code=cycx_x25_cmd" class="s12.">cycx_x25_cmd a> *alu<12.3 +code=cmd" class="s12.">cmdopa>), 6160 a> alu<12.3 +code=cycx_x25_irq_connion" class="s12.">cycx_x25_irq_connionopa>(struct alu<12.3 +code=cycx_device" class="s12.">cycx_device a> *alu<12.3 +code=card" class="s12.">cardopa>, 6161 a> struct alu<12.3 +code=cycx_x25_cmd" class="s12.">cycx_x25_cmd a> *alu<12.3 +code=cmd" class="s12.">cmdopa>), 6162 a> alu<12.3 +code=cycx_x25_irq_disconnion" class="s12.">cycx_x25_irq_disconnionopa>(struct alu<12.3 +code=cycx_device" class="s12.">cycx_device a> *alu<12.3 +code=card" class="s12.">cardopa>, 6163 a> struct alu<12.3 +code=cycx_x25_cmd" class="s12.">cycx_x25_cmd a> *alu<12.3 +code=cmd" class="s12.">cmdopa>), 6164 a> alu<12.3 +code=cycx_x25_irq_spurious" class="s12.">cycx_x25_irq_spuriousopa>(struct alu<12.3 +code=cycx_device" class="s12.">cycx_device a> *alu<12.3 +code=card" class="s12.">cardopa>, 6165 a> struct alu<12.3 +code=cycx_x25_cmd" class="s12.">cycx_x25_cmd a> *alu<12.3 +code=cmd" class="s12.">cmdopa>); 6166 a> 6167 a>otion class="comment">/* X.25 firmware interface func3.26s */option> 6168 a>static int alu<12.3 +code=cycx_x25_configure" class="s12.">cycx_x25_configureopa>(struct alu<12.3 +code=cycx_device" class="s12.">cycx_device a> *alu<12.3 +code=card" class="s12.">cardopa>, 6169 a> struct alu<12.3 +code=cycx_x25_config" class="s12.">cycx_x25_config a> *alu<12.3 +code=conf" class="s12.">conf a>), 6170 a> alu<12.3 +code=cycx_x25_get_stats" class="s12.">cycx_x25_get_statsopa>(struct alu<12.3 +code=cycx_device" class="s12.">cycx_device a> *alu<12.3 +code=card" class="s12.">cardopa>), 6171 a> olu<12.3 +code=cycx_x25_send" class="s12.">cycx_x25_sendopa>(struct alu<12.3 +code=cycx_device" class="s12.">cycx_device a> *alu<12.3 +code=card" class="s12.">cardopa>, olu<12.3 +code=u8" class="s12.">u8 a> olu<12.3 +code=link" class="s12.">link a>, olu<12.3 +code=u8" class="s12.">u8 a> olu<12.3 +code=lcn" class="s12.">lcn a>, olu<12.3 +code=u8" class="s12.">u8 a> olu<12.3 +code=bitm" class="s12.">bitmopa>, 6172 a> int alu<12.3 +code=len" class="s12.">lenopa>, void *alu<12.3 +code=buf" class="s12.">bufopa>), 6173 a> alu<12.3 +code=cycx_x25_connion_resp26se" class="s12.">cycx_x25_connion_resp26seopa>(struct alu<12.3 +code=cycx_device" class="s12.">cycx_device a> *alu<12.3 +code=card" class="s12.">cardopa>, 6174 a> struct alu<12.3 +code=cycx_x25_channel" class="s12.">cycx_x25_channel a> *alu<12.3 +code=chan" class="s12.">chanopa>), 6175 a> alu<12.3 +code=cycx_x25_disconnion_resp26se" class="s12.">cycx_x25_disconnion_resp26seopa>(struct alu<12.3 +code=cycx_device" class="s12.">cycx_device a> *alu<12.3 +code=card" class="s12.">cardopa>, olu<12.3 +code=u8" class="s12.">u8 a> olu<12.3 +code=link" class="s12.">link a>, 6176 a> olu<12.3 +code=u8" class="s12.">u8 a> olu<12.3 +code=lcn" class="s12.">lcn a>); 6177 a> 6178 a>otion class="comment">/* channel func3.26s */option> 6179 a>static int alu<12.3 +code=cycx_x25_chan_connion" class="s12.">cycx_x25_chan_connionopa>(struct alu<12.3 +code=net_device" class="s12.">net_device a> *alu<12.3 +code=dev" class="s12.">dev a>), 6180 a> alu<12.3 +code=cycx_x25_chan_send" class="s12.">cycx_x25_chan_sendopa>(struct alu<12.3 +code=net_device" class="s12.">net_device a> *alu<12.3 +code=dev" class="s12.">dev a>, struct alu<12.3 +code=sk_buff" class="s12.">sk_buff a> *alu<12.3 +code=skb" class="s12.">skb a>); 6181 a> 6182 a>static void alu<12.3 +code=cycx_x25_chan_disconnion" class="s12.">cycx_x25_chan_disconnionopa>(struct alu<12.3 +code=net_device" class="s12.">net_device a> *alu<12.3 +code=dev" class="s12.">dev a>), 6183 a> alu<12.3 +code=cycx_x25_chan_send_event" class="s12.">cycx_x25_chan_send_eventopa>(struct alu<12.3 +code=net_device" class="s12.">net_device a> *alu<12.3 +code=dev" class="s12.">dev a>, olu<12.3 +code=u8" class="s12.">u8 a> olu<12.3 +code=event" class="s12.">eventopa>); 6184 a> 6185 a>otion class="comment">/* Miscellaneous func3.26s */option> 6186 a>static void alu<12.3 +code=cycx_x25_set_chan_staio" class="s12.">cycx_x25_set_chan_staioopa>(struct alu<12.3 +code=net_device" class="s12.">net_device a> *alu<12.3 +code=dev" class="s12.">dev a>, olu<12.3 +code=u8" class="s12.">u8 a> olu<12.3 +code=staio" class="s12.">staio a>), 6187 a> alu<12.3 +code=cycx_x25_chan_timer" class="s12.">cycx_x25_chan_timeropa>(unsigned long olu<12.3 +code=d" class="s12.">dopa>); 6188 a> 6189 a>static void alu<12.3 +code=nibble_to_byte" class="s12.">nibble_to_byteopa>(olu<12.3 +code=u8" class="s12.">u8 a> *alu<12.3 +code=s" class="s12.">s a>, olu<12.3 +code=u8" class="s12.">u8 a> *alu<12.3 +code=d" class="s12.">dopa>, olu<12.3 +code=u8" class="s12.">u8 a> olu<12.3 +code=len" class="s12.">lenopa>, olu<12.3 +code=u8" class="s12.">u8 a> olu<12.3 +code=nibble" class="s12.">nibble a>), 6190 a> alu<12.3 +code=12set), net_device a> *alu<12.3 +code=dev" class="s12.">dev a>), 6191 a> 6192 a>static olu<12.3 +code=u8" class="s12.">u8 a> olu<12.3 +code=bps_to_speed_code" class="s12.">bps_to_speed_codeopa>(olu<12.3 +code=u32" class="s12.">u32 a> olu<12.3 +code=bps" class="s12.">bpscycx_u<12.3 drivers/net/wan/cycx_x25.c#L188" 93" idopL193" class="line" nam/opL193">6193 a>static olu<12.3 +code=u8" class="s12.">u8 a> olu<12.3 +code=_x25.log2" class="s12.">cycx_log2opa>(olu<12.3 +code=u32" class="s12.">u32 a> olu<12.3 +code=n" class="s12.">n a>); 6194 a> 6195 a>static unsigned olu<12.3 +code=dec_to_uint" class="s12.">dec_to_uintopa>(olu<12.3 +code=u8" class="s12.">u8 a> *alu<12.3 +code=str" class="s12.">str a>, int alu<12.3 +code=len" class="s12.">lenopa>lu<12.3 drivers/net/wan/cycx_x25.c#L194" i6" idopL1 drivers/net/wan/cycx_x216296 196 a> 6197 a>static " class="s12.">net_device a> *alu<12.3 +code=dev" class="s12.">dev a>), cycx_x25_get_cla_by_lcnevice" class="s12.">net_devwan_device" class="s12.">wan_device a> *alu<12.3 +code=wandev" class="s12.">wandev a>, 6198 a> alu<12.3 +code=s16" class="s12.">s16 a> olu<12.3 +code=lcn" class="s12.">lcn a>lu<12.3 drivers/net/wan/cycx_x25.c#L194" i9" idopL199" class="line" nam/opL199">6199 a>static " class="s12.">net_device a> *alu<12.3 +code=dev" class="s12."<12.3 drivers/net/wan/cycx_x25.c#L194"200" idopL200" class="line" nam/opL200">6200 a> olu<12.3 +code=cycx_x25_get_cla_by_dte_addr" class="s12.">cycx_x25_get_cla_by_dte_addrevice" class="s12.">net_devwan_device" class="s12.">wan_device a> *alu<12.3 +code=wandev" class="s12.">wandev a>, char *alu<12.3 +code=dte" class="s12.">dio a>)u<12.3 drivers/net/wan/cycx_x25.c#L194"201" idopL201" class="line" nam/opL201">6201 a> 6202 a>#ifdefs="s12.">net_devCYCLOMX_X25_DEBUG" class="s12.">CYCLOMX_X25_DEBUG a> 6203 a>static void alu<12.3 +code=hex_dump" class="s12.">hex_dumpevicechar *alu<12.3 +code=msg" class="s12.">msg a>, unsigned char *alu<12.3 +code=p" class="s12.">p a>, int alu<12.3 +code=len" class="s12.">lenopa>lu<12.3 drivers/net/wan/cycx_x25.c#L194"204" idopL204" class="line" nam/opL204">6204 a>static void alu<12.3 +code=cycx_x25_dump_config" class="s12.">cycx_x25_dump_configopa>(struct alu<12.3 +code=cycx_x25_config" class="s12.">cycx_x25_config a> *alu<12.3 +code=conf" class="s12.">conf a>)u<12.3 drivers/net/wan/cycx_x25.c#L194"205" idopL205" class="line" nam/opL205">6205 a>static void alu<12.3 +code=cycx_x25_dump_stats" class="s12.">cycx_x25_dump_statsopa>(struct alu<12.3 +code=cycx_x25_stats" class="s12.">cycx_x25_stats a> *olu<12.3 +code=stais" class="s12.">stats a>)u<12.3 drivers/net/wan/cycx_x25.c#L194"206" idopL20drivers/net/wan/cycx_x2206">6206 a>static void alu<12.3 +code=cycx_x25_dump_devs" class="s12.">cycx_x25_dump_devsevice" class="s12.">net_devwan_device" class="s12.">wan_device a> *alu<12.3 +code=wandev" class="s12.">wandev a>)u<12.3 drivers/net/wan/cycx_x25.c#L194"207" idopL207" class="line" nam/opL207">6207 a>#else<12.3 drivers/net/wan/cycx_x25.c#L194"208" idopL208" class="line" nam/opL208">6208 a>#define alu<12.3 +code=hex_dump" class="s12.">hex_dumpevicealu<12.3 +code=msg" class="s12.">msg a>, alu<12.3 +code=p" class="s12.">p a>, alu<12.3 +code=len" class="s12.">lenopa>l<12.3 drivers/net/wan/cycx_x25.c#L194"209" idopL209" class="line" nam/opL209">6209 a>#define alu<12.3 +code=cycx_x25_dump_config" class="s12.">cycx_x25_dump_configopa>(alu<12.3 +code=conf" class="s12.">conf a>)<12.3 drivers/net/wan/cycx_x25.c#L194"210" idopL210" class="line" nam/opL210">6210 a>#define alu<12.3 +code=cycx_x25_dump_stats" class="s12.">cycx_x25_dump_statsopa>(olu<12.3 +code=stais" class="s12.">stats a>)<12.3 drivers/net/wan/cycx_x25.c#L194"211" idopL211" class="line" nam/opL211">6211 a>#define alu<12.3 +code=cycx_x25_dump_devs" class="s12.">cycx_x25_dump_devsevicealu<12.3 +code=wandev" class="s12.">wandev a>)<12.3 drivers/net/wan/cycx_x25.c#L194"212" idopL212" class="line" nam/opL212">6212 a>#endif<12.3 drivers/net/wan/cycx_x25.c#L194"213" idopL213" class="line" nam/opL213">6213 a>otion class="comment">/* Public Func3.26s */option> 6214 a> 6215 a>otion class="comment">/* X.25 Protocol Initializa3.26 routine.option> 6216 a>otion class="comment"> *aption> 6217 a>otion class="comment"> * This routine is called by the main Cyclom 2X module during setup. At thisaption> 6218 a>otion class="comment"> * point adapter is completely initialized ond X.25 firmware is running.option> 6219 a>otion class="comment"> * o configure adapteroption> 6220 a>otion class="comment"> * o initialize protocol-specific fields of the adapter data tioce.option> 6221 a>otion class="comment"> *aption> 6222 a>otion class="comment"> * Return: 0 o.k.option> 6223 a>otion class="comment"> * < 0 failure. */option> 6224 a>int alu<12.3 +code=cycx_x25_wan_ini3" class="s12.">cycx_x25_wan_ini3opa>(struct alu<12.3 +code=cycx_device" class="s12.">cycx_device a> *alu<12.3 +code=card" class="s12.">cardopa>, olu<12.3 +code=wandev_conf_t" class="s12.">wandev_conf_t a> *alu<12.3 +code=conf" class="s12.">conf a>) 6225 a>{ 6226 a> struct alu<12.3 +code=cycx_x25_config" class="s12.">cycx_x25_config a> alu<12.3 +code=cfg" class="s12.">cfg a>u<12.3 drivers/net/wan/cycx_x25.c#L194"227" idopL227" class="line" nam/opL227">6227 a> 6228 a> otion class="comment">/* Verify configura3.26 ID */option> 6229 a> if (alu<12.3 +code=conf" class="s12.">conf a>->alu<12.3 +code=config_id" class="s12.">config_id a> != alu<12.3 +code=WANCONFIG_X25" class="s12.">WANCONFIG_X25 a>) { 6230 a> alu<12.3 +code=printk" class="s12.">printkevicealu<12.3 +code=KERN_INFO" class="s12.">KERN_INFO a> ation class="string">"%s: invalid configura3.26 ID %u!\n"option>, 6231 a> alu<12.3 +code=card" class="s12.">cardopa>->alu<12.3 +code=devnam/" class="s12.">devnam/opa>, olu<12.3 +code=conf" class="s12.">conf a>->alu<12.3 +code=config_id" class="s12.">config_id a>)u<12.3 drivers/net/wan/cycx_x25.c#L194"232" idopL232" class="line" nam/opL232">6232 a> return -alu<12.3 +code=EINVAL" class="s12.">EINVAL a>u<12.3 drivers/net/wan/cycx_x25.c#L194"233" idopL233" class="line" nam/opL233">6233 a> }<12.3 drivers/net/wan/cycx_x25.c#L194"234" idopL234" class="line" nam/opL234">6234 a> 6235 a> otion class="comment">/* Initialize protocol-specific fields */option> 6236 a> olu<12.3 +code=card" class="s12.">cardopa>->alu<12.3 +code=mbox" class="s12.">mbox a> = alu<12.3 +code=card" class="s12.">cardopa>->alu<12.3 +code=hw" class="s12.">hwopa>.alu<12.3 +code=dpmbase" class="s12.">dpmbase a> + alu<12.3 +code=X25_MBOX_OFFS" class="s12.">X25_MBOX_OFFS a>u<12.3 drivers/net/wan/cycx_x25.c#L194"237" idopL237" class="line" nam/opL237">6237 a> olu<12.3 +code=card" class="s12.">cardopa>->alu<12.3 +code=u" class="s12.">uopa>.alu<12.3 +code=x" class="s12.">xopa>.alu<12.3 +code=connionion_keys" class="s12.">connionion_keys a> = 0u<12.3 drivers/net/wan/cycx_x25.c#L194"238" idopL238" class="line" nam/opL238">6238 a> olu<12.3 +code=spin_lock_ini3" class="s12.">spin_lock_ini3evice&olu<12.3 +code=card" class="s12.">cardopa>->alu<12.3 +code=u" class="s12.">uopa>.alu<12.3 +code=x" class="s12.">xopa>.alu<12.3 +code=lock" class="s12.">lock a>)u<12.3 drivers/net/wan/cycx_x25.c#L194"239" idopL239" class="line" nam/opL239">6239 a><12.3 drivers/net/wan/cycx_x25.c#L194"240" idopL240" class="line" nam/opL240">6240 a> otion class="comment">/* Configure adapter. Here we set reasonable defaults, then parse tion> 6241 a>otion class="comment"> * device configura3.26 structure ond set configura3.26 op3.26s.option> 6242 a>otion class="comment"> * Moat configura3.26 op3.26son clvan/c6ed ond corrioned (ifoption> 6243 a>otion class="comment"> * nioessary) since we can't rely 26 the adapter to do so ond don'toption> 6244 a>otion class="comment"> * want it to fail either. */option> 6245 a> olu<12.3 +code=memset" class="s12.">memsetevice&olu<12.3 +code=cfg" class="s12.">cfg a>, 0, sizeof(alu<12.3 +code=cfg" class="s12.">cfg a>))u<12.3 drivers/net/wan/cycx_x25.c#L194"246" idopL246" class="line" nam/opL246">6246 a> olu<12.3 +code=cfg" class="s12.">cfg a>.alu<12.3 +code=link" class="s12.">link a> = 0u<12.3 drivers/net/wan/cycx_x25.c#L194"247" idopL247" class="line" nam/opL247">6247 a> olu<12.3 +code=cfg" class="s12.">cfg a>.alu<12.3 +code=clock" class="s12.">clock a> = alu<12.3 +code=conf" class="s12.">conf a>->alu<12.3 +code=clocking" class="s12.">clocking a> == alu<12.3 +code=WANOPT_EXTERNAL" class="s12.">WANOPT_EXTERNAL a> ? 8 : 55u<12.3 drivers/net/wan/cycx_x25.c#L194"248" idopL248" class="line" nam/opL248">6248 a> olu<12.3 +code=cfg" class="s12.">cfg a>.alu<12.3 +code=speed" class="s12.">speed a> = alu<12.3 +code=bps_to_speed_code" class="s12.">bps_to_speed_codeopa>(olu<12.3 +code=conf" class="s12.">conf a>->alu<12.3 +code=bps" class="s12.">bpscycx_u<12.3 drivers/net/wan/cycx_x25.c#L188"249" idopL249" class="line" nam/opL249">6249 a> olu<12.3 +code=cfg" class="s12.">cfg a>.alu<12.3 +code=n3win" class="s12.">n3win a> = 7u<12.3 drivers/net/wan/cycx_x25.c#L188"250" idopL250" class="line" nam/opL250">6250 a> olu<12.3 +code=cfg" class="s12.">cfg a>.alu<12.3 +code=n2win" class="s12.">n2win a> = 2u<12.3 drivers/net/wan/cycx_x25.c#L188"251" idopL251" class="line" nam/opL251">6251 a> olu<12.3 +code=cfg" class="s12.">cfg a>.alu<12.3 +code=n2" class="s12.">n2 a> = 5u<12.3 drivers/net/wan/cycx_x25.c#L194"252" idopL252" class="line" nam/opL252">6252 a> olu<12.3 +code=cfg" class="s12.">cfg a>.alu<12.3 +code=nvc" class="s12.">nvc a> = 1u<12.3 drivers/net/wan/cycx_x25.c#L194"253" idopL253" class="line" nam/opL253">6253 a> olu<12.3 +code=cfg" class="s12.">cfg a>.alu<12.3 +code=npvc" class="s12.">npvc a> = 1u<12.3 drivers/net/wan/cycx_x25.c#L194"254" idopL254" class="line" nam/opL254">6254 a> olu<12.3 +code=cfg" class="s12.">cfg a>.alu<12.3 +code=flags" class="s12.">flags a> = 0x02; otion class="comment">/* default = V35 */option> 6255 a> olu<12.3 +code=cfg" class="s12.">cfg a>.alu<12.3 +code=t1" class="s12.">t1 a> = 10; otion class="comment">/* line carrier timeout */option> 6256 a> olu<12.3 +code=cfg" class="s12.">cfg a>.alu<12.3 +code=t2" class="s12.">t2 a> = 29; otion class="comment">/* tx timeout */option> 6257 a> olu<12.3 +code=cfg" class="s12.">cfg a>.alu<12.3 +code=t21" class="s12.">t21 a> = 180; otion class="comment">/* CALL timeout */option> 6258 a> olu<12.3 +code=cfg" class="s12.">cfg a>.alu<12.3 +code=t23" class="s12.">t23 a> = 180; otion class="comment">/* CLEAR timeout */option> 6259 a><12.3 drivers/net/wan/cycx_x25.c#L194"260" idopL260" class="line" nam/opL260">6260 a> otion class="comment">/* adjuat MTU */option> 6261 a> if (!olu<12.3 +code=conf" class="s12.">conf a>->alu<12.3 +code=mtu" class="s12.">mtu a> || alu<12.3 +code=conf" class="s12.">conf a>->alu<12.3 +code=mtu" class="s12.">mtu a> >= 512) 6262 a> olu<12.3 +code=card" class="s12.">cardopa>->alu<12.3 +code=wandev" class="s12.">wandev a>.alu<12.3 +code=mtu" class="s12.">mtu a> = 512u<12.3 drivers/net/wan/cycx_x25.c#L194"263" idopL263" class="line" nam/opL263">6263 a> else if (alu<12.3 +code=conf" class="s12.">conf a>->alu<12.3 +code=mtu" class="s12.">mtu a> >= 256) 6264 a> olu<12.3 +code=card" class="s12.">cardopa>->alu<12.3 +code=wandev" class="s12.">wandev a>.alu<12.3 +code=mtu" class="s12.">mtu a> = 256u<12.3 drivers/net/wan/cycx_x25.c#L194"265" idopL265" class="line" nam/opL265">6265 a> else if (alu<12.3 +code=conf" class="s12.">conf a>->alu<12.3 +code=mtu" class="s12.">mtu a> >= 128) 6266 a> olu<12.3 +code=card" class="s12.">cardopa>->alu<12.3 +code=wandev" class="s12.">wandev a>.alu<12.3 +code=mtu" class="s12.">mtu a> = 128u<12.3 drivers/net/wan/cycx_x25.c#L194"267" idopL267" class="line" nam/opL267">6267 a> else<12.3 drivers/net/wan/cycx_x25.c#L194"268" idopL268" class="line" nam/opL268">6268 a> olu<12.3 +code=card" class="s12.">cardopa>->alu<12.3 +code=wandev" class="s12.">wandev a>.alu<12.3 +code=mtu" class="s12.">mtu a> = 64u<12.3 drivers/net/wan/cycx_x25.c#L194"269" idopL269" class="line" nam/opL269">6269 a><12.3 drivers/net/wan/cycx_x25.c#L194"270" idopL270" class="line" nam/opL270">6270 a> olu<12.3 +code=cfg" class="s12.">cfg a>.alu<12.3 +code=pktlen" class="s12.">pktlen a> = alu<12.3 +code=cx25.log2" class="s12.">cycx_log2opa>(olu<12.3 +code=card" class="s12.">cardopa>->alu<12.3 +code=wandev" class="s12.">wandev a>.alu<12.3 +code=mtu" class="s12.">mtu a>_u<12.3 drivers/net/wan/cycx_x25.c#L188"271" idopL271" class="line" nam/opL271">6271 a> 6272 a> if (alu<12.3 +code=conf" class="s12.">conf a>->alu<12.3 +code=station" class="s12.">station a> == alu<12.3 +code=WANOPT_DTE" class="s12.">WANOPT_DTE a>_ { 6273 a> olu<12.3 +code=cfg" class="s12.">cfg a>.alu<12.3 +code=locaddr" class="s12.">locaddr a> = 3; otion class="comment">/* DTE */option> 6274 a> olu<12.3 +code=cfg" class="s12.">cfg a>.alu<12.3 +code=remaddr" class="s12.">remaddr a> = 1u otion class="comment">/* DCE */option> 6275 a> } else { 6276 a> olu<12.3 +code=cfg" class="s12.">cfg a>.alu<12.3 +code=locaddr" class="s12.">locaddr a> = 1u otion class="comment">/* DCE */option> 6277 a> olu<12.3 +code=cfg" class="s12.">cfg a>.alu<12.3 +code=remaddr" class="s12.">remaddr a> = 3; otion class="comment">/* DTE */option> 6278 a> }<12.3 drivers/net/wan/cycx_x25.c#L194"279" idopL279" class="line" nam/opL279">6279 a><12.3 drivers/net/wan/cycx_x25.c#L194"280" idopL280" class="line" nam/opL280">6280 a> if (alu<12.3 +code=conf" class="s12.">conf a>->alu<12.3 +code=interface" class="s12.">interface a> == alu<12.3 +code=WANOPT_RS232" class="s12.">WANOPT_RS232 a>_<12.3 drivers/net/wan/cycx_x25.c#L194"281" idopL281" class="line" nam/opL281">6281 a> olu<12.3 +code=cfg" class="s12.">cfg a>.alu<12.3 +code=flags" class="s12.">flags a> = 0; otion class="comment">/* FIXME juat 12set the 2nd bit */option> 6282 a> 6283 a> if (alu<12.3 +code=conf" class="s12.">conf a>->alu<12.3 +code=u" class="s12.">uopa>.alu<12.3 +code=x25" class="s12.">x25 a>.alu<12.3 +code=hi_pvc" class="s12.">hi_pvc a>_ { 6284 a> olu<12.3 +code=card" class="s12.">cardopa>->alu<12.3 +code=u" class="s12.">uopa>.alu<12.3 +code=x" class="s12.">xopa>.alu<12.3 +code=hi_pvc" class="s12.">hi_pvc a> = alu<12.3 +code=min_t" class="s12.">min_topa>(unsigned int, olu<12.3 +code=conf" class="s12.">conf a>->alu<12.3 +code=u" class="s12.">uopa>.alu<12.3 +code=x25" class="s12.">x25 a>.alu<12.3 +code=hi_pvc" class="s12.">hi_pvc a>, 4095_u<12.3 drivers/net/wan/cycx_x25.c#L188"285" idopL285" class="line" nam/opL285">6285 a> olu<12.3 +code=card" class="s12.">cardopa>->alu<12.3 +code=u" class="s12.">uopa>.alu<12.3 +code=x" class="s12.">xopa>.alu<12.3 +code=lo_pvc" class="s12.">lo_pvc a> = alu<12.3 +code=min_t" class="s12.">min_topa>(unsigned int, olu<12.3 +code=conf" class="s12.">conf a>->alu<12.3 +code=u" class="s12.">uopa>.alu<12.3 +code=x25" class="s12.">x25 a>.alu<12.3 +code=lo_pvc" class="s12.">lo_pvc a>, olu<12.3 +code=card" class="s12.">cardopa>->alu<12.3 +code=u" class="s12.">uopa>.alu<12.3 +code=x" class="s12.">xopa>.alu<12.3 +code=hi_pvc" class="s12.">hi_pvc a>_u<12.3 drivers/net/wan/cycx_x25.c#L188"286" idopL286" class="line" nam/opL286">6286 a> }<12.3 drivers/net/wan/cycx_x25.c#L194"287" idopL287" class="line" nam/opL287">6287 a> 6288 a> if (alu<12.3 +code=conf" class="s12.">conf a>->alu<12.3 +code=u" class="s12.">uopa>.alu<12.3 +code=x25" class="s12.">x25 a>.alu<12.3 +code=hi_svc" class="s12.">hi_svc a>_ { 6289 a> olu<12.3 +code=card" class="s12.">cardopa>->alu<12.3 +code=u" class="s12.">uopa>.alu<12.3 +code=x" class="s12.">xopa>.alu<12.3 +code=hi_svc" class="s12.">hi_svc a> = alu<12.3 +code=min_t" class="s12.">min_topa>(unsigned int, olu<12.3 +code=conf" class="s12.">conf a>->alu<12.3 +code=u" class="s12.">uopa>.alu<12.3 +code=x25" class="s12.">x25 a>.alu<12.3 +code=hi_svc" class="s12.">hi_svc a>, 4095_u<12.3 drivers/net/wan/cycx_x25.c#L188"290" idopL290" class="line" nam/opL290">6290 a> olu<12.3 +code=card" class="s12.">cardopa>->alu<12.3 +code=u" class="s12.">uopa>.alu<12.3 +code=x" class="s12.">xopa>.alu<12.3 +code=lo_svc" class="s12.">lo_svc a> = alu<12.3 +code=min_t" class="s12.">min_topa>(unsigned int, olu<12.3 +code=conf" class="s12.">conf a>->alu<12.3 +code=u" class="s12.">uopa>.alu<12.3 +code=x25" class="s12.">x25 a>.alu<12.3 +code=lo_svc" class="s12.">lo_svc a>, olu<12.3 +code=card" class="s12.">cardopa>->alu<12.3 +code=u" class="s12.">uopa>.alu<12.3 +code=x" class="s12.">xopa>.alu<12.3 +code=hi_svc" class="s12.">hi_svc a>_u<12.3 drivers/net/wan/cycx_x25.c#L188"291" idopL291" class="line" nam/opL291">6291 a> }<12.3 drivers/net/wan/cycx_x25.c#L194"292" idopL292" class="line" nam/opL292">6292 a> 6293 a> if (alu<12.3 +code=card" class="s12.">cardopa>->alu<12.3 +code=u" class="s12.">uopa>.alu<12.3 +code=x" class="s12.">xopa>.alu<12.3 +code=lo_pvc" class="s12.">lo_pvc a> == 255_<12.3 drivers/net/wan/cycx_x25.c#L194"294" idopL294" class="line" nam/opL294">6294 a> olu<12.3 +code=cfg" class="s12.">cfg a>.alu<12.3 +code=npvc" class="s12.">npvc a> = 0u<12.3 drivers/net/wan/cycx_x25.c#L194"295" idopL295" class="line" nam/opL295">6295 a> else<12.3 drivers/net/wan/cycx_x25.c#L194"296" idopL2 drivers/net/wan/cycx_x226296 296 a> olu<12.3 +code=cfg" class="s12.">cfg a>.alu<12.3 +code=npvc" class="s12.">npvc a> = alu<12.3 +code=card" class="s12.">cardopa>->alu<12.3 +code=u" class="s12.">uopa>.alu<12.3 +code=x" class="s12.">xopa>.alu<12.3 +code=hi_pvc" class="s12.">hi_pvc a> - alu<12.3 +code=card" class="s12.">cardopa>->alu<12.3 +code=u" class="s12.">uopa>.alu<12.3 +code=x" class="s12.">xopa>.alu<12.3 +code=lo_pvc" class="s12.">lo_pvc a> + 1u<12.3 drivers/net/wan/cycx_x25.c#L194"297" idopL297" class="line" nam/opL297">6297 a> 6298 a> olu<12.3 +code=cfg" class="s12.">cfg a>.alu<12.3 +code=nvc" class="s12.">nvc a> = alu<12.3 +code=card" class="s12.">cardopa>->alu<12.3 +code=u" class="s12.">uopa>.alu<12.3 +code=x" class="s12.">xopa>.alu<12.3 +code=hi_svc" class="s12.">hi_svc a> - alu<12.3 +code=card" class="s12.">cardopa>->alu<12.3 +code=u" class="s12.">uopa>.alu<12.3 +code=x" class="s12.">xopa>.alu<12.3 +code=lo_svc" class="s12.">lo_svc a> + 1 + alu<12.3 +code=cfg" class="s12.">cfg a>.alu<12.3 +code=npvc" class="s12.">npvc a>u<12.3 drivers/net/wan/cycx_x25.c#L194"299" idopL299" class="line" nam/opL299">6299 a><12.3 drivers/net/wan/cycx_x25.c#L194"300" idopL300" class="line" nam/opL300">6300 a> if (alu<12.3 +code=conf" class="s12.">conf a>->alu<12.3 +code=u" class="s12.">uopa>.alu<12.3 +code=x25" class="s12.">x25 a>.alu<12.3 +code=hdlc_window" class="s12.">hdlc_window a>_<12.3 drivers/net/wan/cycx_x25.c#L194"301" idopL301" class="line" nam/opL301">6301 a> olu<12.3 +code=cfg" class="s12.">cfg a>.alu<12.3 +code=n2win" class="s12.">n2win a> = alu<12.3 +code=min_t" class="s12.">min_topa>(unsigned int, olu<12.3 +code=conf" class="s12.">conf a>->alu<12.3 +code=u" class="s12.">uopa>.alu<12.3 +code=x25" class="s12.">x25 a>.alu<12.3 +code=hdlc_window" class="s12.">hdlc_window a>, 7_u<12.3 drivers/net/wan/cycx_x25.c#L188"302" idopL302" class="line" nam/opL302">6302 a> 6303 a> if (alu<12.3 +code=conf" class="s12.">conf a>->alu<12.3 +code=u" class="s12.">uopa>.alu<12.3 +code=x25" class="s12.">x25 a>.alu<12.3 +code=pkt_window" class="s12.">pkt_window a>_<12.3 drivers/net/wan/cycx_x25.c#L194"304" idopL304" class="line" nam/opL304">6304 a> olu<12.3 +code=cfg" class="s12.">cfg a>.alu<12.3 +code=n3win" class="s12.">n3win a> = alu<12.3 +code=min_t" class="s12.">min_topa>(unsigned int, olu<12.3 +code=conf" class="s12.">conf a>->alu<12.3 +code=u" class="s12.">uopa>.alu<12.3 +code=x25" class="s12.">x25 a>.alu<12.3 +code=pkt_window" class="s12.">pkt_window a>, 7_u<12.3 drivers/net/wan/cycx_x25.c#L188"305" idopL305" class="line" nam/opL305">6305 a><12.3 drivers/net/wan/cycx_x25.c#L188"306" idopL30drivers/net/wan/cycx_x2306">6306 a> if (alu<12.3 +code=conf" class="s12.">conf a>->alu<12.3 +code=u" class="s12.">uopa>.alu<12.3 +code=x25" class="s12.">x25 a>.alu<12.3 +code=t1" class="s12.">t1 a>_<12.3 drivers/net/wan/cycx_x25.c#L194"307" idopL307" class="line" nam/opL307">6307 a> olu<12.3 +code=cfg" class="s12.">cfg a>.alu<12.3 +code=t1" class="s12.">t1 a> = alu<12.3 +code=min_t" class="s12.">min_topa>(unsigned int, olu<12.3 +code=conf" class="s12.">conf a>->alu<12.3 +code=u" class="s12.">uopa>.alu<12.3 +code=x25" class="s12.">x25 a>.alu<12.3 +code=t1" class="s12.">t1 a>,630_u<12.3 drivers/net/wan/cycx_x25.c#L188"308" idopL308" class="line" nam/opL308">6308 a> 6309 a> if (alu<12.3 +code=conf" class="s12.">conf a>->alu<12.3 +code=u" class="s12.">uopa>.alu<12.3 +code=x25" class="s12.">x25 a>.alu<12.3 +code=t2" class="s12.">t2 a>_<12.3 drivers/net/wan/cycx_x25.c#L194"310" idopL310" class="line" nam/opL310">6310 a> olu<12.3 +code=cfg" class="s12.">cfg a>.alu<12.3 +code=t2" class="s12.">t2 a> = alu<12.3 +code=min_t" class="s12.">min_topa>(unsigned int, olu<12.3 +code=conf" class="s12.">conf a>->alu<12.3 +code=u" class="s12.">uopa>.alu<12.3 +code=x25" class="s12.">x25 a>.alu<12.3 +code=t2" class="s12.">t2 a>,630_u<12.3 drivers/net/wan/cycx_x25.c#L188"311" idopL311" class="line" nam/opL311">6311 a> 6312 a> if (alu<12.3 +code=conf" class="s12.">conf a>->alu<12.3 +code=u" class="s12.">uopa>.alu<12.3 +code=x25" class="s12.">x25 a>.alu<12.3 +code=t11_t21" class="s12.">t11_t21 a>_<12.3 drivers/net/wan/cycx_x25.c#L194"313" idopL313" class="line" nam/opL313">6313 a> olu<12.3 +code=cfg" class="s12.">cfg a>.alu<12.3 +code=t21" class="s12.">t21 a> = alu<12.3 +code=min_t" class="s12.">min_topa>(unsigned int, olu<12.3 +code=conf" class="s12.">conf a>->alu<12.3 +code=u" class="s12.">uopa>.alu<12.3 +code=x25" class="s12.">x25 a>.alu<12.3 +code=t11_t21" class="s12.">t11_t21 a>,630_u<12.3 drivers/net/wan/cycx_x25.c#L188"314" idopL314" class="line" nam/opL314">6314 a> 6315 a> if (alu<12.3 +code=conf" class="s12.">conf a>->alu<12.3 +code=u" class="s12.">uopa>.alu<12.3 +code=x25" class="s12.">x25 a>.alu<12.3 +code=t13_t23" class="s12.">t13_t23 a>_<12.3 drivers/net/wan/cycx_x25.c#L194"316" idopL316" class="line" nam/opL316">6316 a> olu<12.3 +code=cfg" class="s12.">cfg a>.alu<12.3 +code=t23" class="s12.">t23 a> = alu<12.3 +code=min_t" class="s12.">min_topa>(unsigned int, olu<12.3 +code=conf" class="s12.">conf a>->alu<12.3 +code=u" class="s12.">uopa>.alu<12.3 +code=x25" class="s12.">x25 a>.alu<12.3 +code=t13_t23" class="s12.">t13_t23 a>,630_u<12.3 drivers/net/wan/cycx_x25.c#L188"317" idopL317" class="line" nam/opL317">6317 a> 6318 a> if (alu<12.3 +code=conf" class="s12.">conf a>->alu<12.3 +code=u" class="s12.">uopa>.alu<12.3 +code=x25" class="s12.">x25 a>.alu<12.3 +code=n2" class="s12.">n2 a>_<12.3 drivers/net/wan/cycx_x25.c#L194"319" idopL3212.3 36" id31e" nam/opL289">6289 a> olu<12.3 +code=cfg" class="s12.">cfg a>.alu<12.3 +code=n2" clss="s12.">t23 a> = alu<12.3 +code=min_t" class="s12.">min_topa>(unsigned int, olu<12.3 +code=conf" class="s12.">conf a>->alu<12.3 +code=u" class="s12.">uopa>.alu<12.3 +code=x25" class="s12.">x25 a>.alu<12.3 +code=n2"s="s12.">t13_t23 a>,630_u<12.3 drivers/net/wet/wan/cy3x_x25.c#L220" idopL220" 3lass=3line" .">t13_t23 a>,630_u<12.3 drivers/net/wen/cycx_x2x_x25.c#L221" idopL221" 3lass=32ine" nam/opL25lags a> = 0; otionass="commenn't t 12set the 2nd bit */option> 6312 a> nfig" class="sur<12.3 +code=inte nfig" class="sur<" cla"s12.">hi_svc a> - alu<12.3 +code=card" c, s="s12.">memsetevice&olu<12.3 +code=cfg" ) class="s12.">n2 a>_<12.3 drivers/net/wet/wan/cy3x_x25.c#L223" idopL223" 3lass=32ine" nam/opL313">6313 a> retur<12.3 +code=KERNurnpvc a>u<12.3 drivers/net/3et/wan/cy3x_x25.c#L224" idopL224" 3lass=32ine" nam/opL314">6314 a> 6235 a> otion class="comment">/* Initialize protoofecific fields of th t 12set the 2nd bit */option> hi_svc a> - alu<12.3 +code=card" class="s12.">cardopa>->alu<12.3 +code=wandev" class="s12.">wandev->alu<12.3 +code=bps" nam/opL2ss="s12.">clock a> = alu<12.3 +code=conf" class="s12.">conf a>->alu<12.3 +code=bps" lass="s12.">npvc a>u<12.3 drivers/net/3en/cycx_x25.c#L194"227" idopL227" 3lass=32ine" nam/opL237">6237 a> olu<12.3 +code=card" class="s12.">cardopa>->alu<12.3 +code=wandev" class="s12.">wandev->alu<12.3 +code=interface" class="2ss="s12.">clock a> = alu<12.3 +code=conf" class="s12.">conf a>->alu<12.3 +code=interface" class=lass="s12.">npvc a>u<12.3 drivers/net/3et/wan/cycx_x25.c#L228" idopL228" 3lass=32ine" nam/opL298">6298 a> olu<12.3 +code=card" class="s12.">cardopa>->alu<12.3 +code=wandev" class="s12.">wandev->alu<12.3 +code=clocking" class="2ss="s12.">clock a> = alu<12.3 +code=conf" class="s12.">conf a>->alu<12.3 +code=clocking" classlass="s12.">npvc a>u<12.3 drivers/net/3en/cycx_x2x_x25.c#L229" idopL229" 3lass=32ine" nam/opL249">6249 a> olu<12.3 +code=card" class="s12.">cardopa>->alu<12.3 +code=wandev" class="s12.">wandev->alu<12.3 +code=station" class="2ss="s12.">clock a> = alu<12.3 +code=conf" class="s12.">conf a>->alu<12.3 +code=station" claslass="s12.">npvc a>u<12.3 drivers/net/3et/wan/cy3x_x25.c#L230" idopL230" 3lass=33ine" nam/opL270">6270 a> olu<12.3 +code=card" class="s12.">cardopa>islu<12.3 +code=reislne" nam/opL313">631s="s12.">pktlen a> = " clirq_hndelde=cycx_x25_chan_timer" clirq_hndeldeclaslass="s12.">npvc a>u<12.3 drivers/net/3en/cycx_x2x_x25.c#L231" idopL231" 3lass=33ine" nam/opL251">6251 a> olu<12.3 +code=card" class="s12.">cardopa>exe>.alu<12.3 +codeexe>ne" nam/opL313">63s="s12.">pktlen NUL+code=WANOPT_EXTNUL+claslass="s12.">npvc a>u<12.3 drivers/net/3et/wan/cy35.c#L194"232" idopL232" 3lass=33ine" nam/opL252">6252 a> olu<12.3 +code=card" class="s12.">cardopa>->alu<12.3 +code=wandev" class="s12.">wandevupeld<12.3 +code=inteupeldpktlen a> = and_upeld<12.3 +code=intea> = and_upeldnpvc a>u<12.3 drivers/net/3et/wan/cy35.c#L194"233" idopL233" 3lass=3line" nam/opL252">6252 a> olu<12.3 +code=card" class="s12.">cardopa>->alu<12.3 +code=wandev" class="s12.">wandevnew_i= alu<12.3 +codenew_i=ne" nam/os="s12.">pktlen a> = and_new_i= alu<12.3 +codea> = and_new_i=claslass="s12.">npvc a>u<12.3 drivers/net/3et/wan/cy35.c#L194"234" idopL234" 3lass=33ine" nam/opL254">6254 a> olu<12.3 +code=card" class="s12.">cardopa>->alu<12.3 +code=wandev" class="s12.">wandevdel_i= alu<12.3 +codedel_i=ne" nam/os="s12.">pktlen a> = and_del_i= alu<12.3 +codea> = and_del_i=claslass="s12.">npvc a>u<12.3 drivers/net/3et/wan/cy3x_x25.c#L235" idopL235" 3lass=3line" nam/opL239">6249 a> olu<12.3 +code=card" class="s12.">cardopa>->alu<12.3 +code=wandev" class="s12.">wandev-><12.3 +code=inte->interface a> =_DISCONNECTED12.3 +code=inte> =_DISCONNECTEDclaslass="s12.">npvc a>u<12.3 drivers/net/3en/cycx_x2x_x25.c#L236" idopL236" 3lass=3 +coclass="s12.">min_topa>(locking" classlass="s12.">npvc a>u<12.3 dfaul0, sizeof(alu<12.n nam/opL237">6 2.">npvc a> = 0u<12.3 drivers/net/wan/c3cx_x25.c#3194"238" idopL238" class3"line3 nam/o291 a> }<12.3 drivers/net/wan/c3cx_x25.c#3194"239" idopL239" class3"line3 nam/opL239">6239 a><12.3 drivers/net/wan/c3cx_x25.c#3194"240" idopL240" class3"line34nam/opL220">6220 a>otion clasISC Dt"> D a>< Entry P="co-specific fields */option> 6241 a>otion clasUclaslent"> ne" us12.">m ne" istics to fail either. */option> pL224">6224 a>int alu<1peld<12.3 +code=intea> = and_upeldnet_devwan_device" class="s12.">wan_device a> *alu<12.3 +code=wandev" class="s1ther. */option> hi_svc a>_ { 62L241">6241 a>otion classanity check-specific fields */option> 6315 a> if (!alu<12.3 +code=wandev" class="s="s1 a> if (!alu<12.3 +code=wandev" class="s"s12.">cardopa>->pion.3 +code=intea> = pion.3 s="s1ther. */option> 6316 a> retur<12.FAULT+code=KERNurnpvc a>u<12.3 drivers/net/3en/cycx_x25.c#3194"247" idopL247" class3"line34nam/opL317">6317 a> 6318 a> if (alu<12.3 +code=wandev" class="s"s12.">cardopa>->12.3 +code=inte->interface a> == alu_Uclass="UR3 +code=inte> =_DISCOUclass="UR3 s="s1ther. */option> 6289 a> retur<12.NODEV+code=KERNurnpvc a>u<12.3 drivers/net/3en/cycx_x25.c#3188"250" idopL250" class3"line35.">t13_t23 a>,630_u<12.3 drivers/net/wen/cycx_x25.c#3188"251" idopL251" class3"line3 nam/opL251">6251 a> o clirq_hgete=cycx_x25_dump_stats" class="gete=cycx"s12.">hi_svc a> - alu<12.3 +code=wandev" class="s"s12.">cardopa>->pion.3 +code=intea> = pion.3 s="s1"s12.">npvc a>u<12.3 drivers/net/3en/cyc/cycx_x23194"252" idopL252" class3"line35nam/opL302">6302 a> 6 2.">npvc a> = 0u<12.3 drivers/net/wan/c3cx_x25.c#3194"254" idopL254" class3"line3 nam/o291 a> }<12.3 drivers/net/wan/c3n/cycx_x23.c#L255" idopL255" class3"line35nam/opL305">6305 a><12.3 drivers/net/wan/cyn/cycx_x23.c#L256" idopL256" class3"line35nam/opL216">6216 a>otion classreasle=cl logical channelura3.26 op3.26s.option> 6217 a>otion class="comment"> * This routine ismmen>< wble ROUTER_IFNEW IOCTL * Tbesslas3.26 op3.26s.option> 6218 a>otion clasdeclasdura3.26 op3.26s.option> 6219 a>otion claso defau media-dapteh cld onialize pro * Moara3.26 op3.26s.option> 6220 a>otion claso mak ngurathat ae=cl channelssarTbe creasldra3.26 op3.26s.option> 6221 a>otion claso is ocasleresources,6318nt"> ra3.26 op3.26s.option> 6222 a>otion claso drepra3.u<1workent"> neonfiguraforeregist * Moaura3.26 op3.26s.option> 6223 a>otion clara3.26 op3.26s.option> 6244 a>otion class="comment"> * Return: 0 o.k.option> 6215 a>otion class="comment"> * < (channelswill notTbe creasld)specific fields */option> pL224">6224 a>int alu<1peld= alu<12.3 +codea> = and_new_i=claslass=5_dump_devsevice" class="s12.">net_devwan_device" class="s12.">wan_device a> *alu<12.3 +code=wandev" class="s,6226 a> struct u<112.">net_devwan_deviceu<112.">ne12.">wan_device a> *<12.3 +code=wandevlass="s,ields */option> 6307 a> an_device a> *aluif.3 +code=wandev_conf_t" cif.3 +cod12.">wan_device a> *alu<12.3 +code=conf" class="s12.">conf a>) hi_svc a>_ { 65_wan_ini3opa>(struct alu<12.3 +code=cycx_device" class="s12.">cycx_device a> *alu<12.3 +code=card" class=>interface a> =_Dalu<12.3 +code=wandev" class="s"s12.">cardopa>->pion.3 +code=intea> = pion.3 s="s.">npvc a> = 0u<12.3 drivers/net/wan/c3cx_x25.c#3194"270" idopL270" class3"line3 nam/opL270">6226 a> struct alu<12.3 +hannel+code=inte nfig" class="shannel2.">cycx_device a> *ahan+code=inte nfig"hans="s.">npvc a> = 0u<12.3 drivers/net/wan/c3cx_x25.c#3188"271" idopL271" class3"line37nam/opL261">62L224">6224 a>int erx_x25_chan_timererxass=>in2.">npvc a> = 0u<12.3 drivers/net/wan/c3n/cycx_x23.c#L272" idopL272" class3"line37nam/opL302">6302 a> 6303 a> if (!olu<12.3 +code=conf" class="s12.">conf a>->" clt_devwan_deviceuass="s1[0]="s12.">mtu a> || 226<12.3 +code=pktlen226<12"s12.">hi_svc a> - alu<12.3 +code=conf" class="s12.">conf a>->" clt_devwan_deviceuass="s1)="s12nterface a> == alu_IFNAME_SZ+code=inte> =_DISCOIFNAME_SZ="s1)=.">hi_svc a>_ { 6274 a> alu<12.3 +code=printk" class="s12.">printkevicealu<12.3 +code=KERN_INFO" class="s12.">KERN_INFO a> ation class="string">"&" class=l4" cla3.26 ID %u!\n"option>, 6L274">6274 a> alu<12.3 +code=card" class="s12.">cardopa>->alu<12.3 +code=devnam/" class="s11"s12.">npvc a>u<12.3 drivers/net/3en/cyn/cycx_x23.c#L276" idopL276" class3"line3 nam/opL276">6276 a> return -alu<12.3 +code=EINVAL" class="s12.">EINVAL a>u<12.3 drivers/net/wan/c3n/cycx_x23.c#L277" idopL277" class3"line3 nam/opL277">6291 a> }<12.3 drivers/net/wan/c3n/cycx_x23.c#L278" idopL278" class3"line37nam/opL308">6308 a> 6260 a> otion classs ocasleaptei="comment">/on.3 of thpecific fields */option> 6270 a> ohan+code=inte nfig"hans="s>interface a> =_Dkzss oc+code=inte nfigkzss ocass=5_">cfg 226 a> struct alu<12.3 +hannel+code=inte nfig" class="shannel2.">)a>(unsigned int, GFP_" clE2.3 +code=EINVALGFP_" clE2="s11"s12.">npvc a>u<12.3 drivers/net/3en/cycx_x25.c#3194"281" idopL281" class3"line38nam/opL261">6261 a> if (!ohan+code=inte nfig"hans="s"s12.">conf a>) 6232 a> return -aNOMEM+code=KERNurEINVAL a>u<12.3 drivers/net/wan/c3n/cycx_x23.c#L283" idopL283" class3"line3 nam/o2.">EINVAL a>u<12.3 drivers/net/wan/c3n/cycx_x23.c#L284" idopL284" class3"line38nam/opL254">6254 a> 226cpy.3 +code=pktlen226cpy"s12.">hi_svc a> - ahan+code=inte nfig"hans="s"s12.">conf a>->" clt_devwan_deviceuass="s1a>(unsigned int, olu<12.3 +code=conf" class="s12.">conf a>->" clt_devwan_deviceuass="s1)12.">EINVAL a>u<12.3 drivers/net/wan/c3n/cycx_x23188"285" idopL285" class3"line38nam/opL239">6249 a> ohan+code=inte nfig"hans="s"s12.">conf a>->alu<12.3 +code=card" class=>interface a> =_Dalu<12.3 +code=card" class=12.">EINVAL a>u<12.3 drivers/net/wan/c3n/cycx_x23188"286" idopL286" class3"line3 nam/opL286">6249 a> ohan+code=inte nfig"hans="s"s12.">conf a>->llu<12.3 +code=link" class="s1(unsigned int, olu<12.3 +code=conf" class="s12.">conf a>->porde=wandev_conf_tpordass=12.">EINVAL a>u<12.3 drivers/net/wan/c3n/cycx_x23194"287" idopL287" class3"line38nam/opL237">6237 a> ohan+code=inte nfig"hans="s"s12.">conf a>->>/* Init.3 +code=printk" * Initass="s1(unsigned int, olu<12.3 +code=conf" class="s12.">conf a>->p/* Init.3 +code=printk" * Initass="?1(unsigned int, ETH_P_Xlu<12.3 +code=x25ETH_P_Xluass=":1(unsigned int, ETH_P_IP<12.3 +code=x25ETH_P_IPass=12.">EINVAL a>u<12.3 drivers/net/wan/c3n/cycx_x23.c#L288" idopL288" class3"line38nam/opL298">6298 a> ohan+code=inte nfig"hans="s"s12.">conf a>->rx_skb+code=inte nfigrx_skbass="s1(unsigned int, ode=WANOPT_EXTNUL+claslass="s12.">npvc a>u<12.3 drivers/net/3et/wan/cycx_x23.c#L289" idopL289" class3"line38nam/opL249">6260 a> otion clasonly usin_to svro nn/c6edthru crossoa>< cabl2set the 2nd bit */option> 6270 a> ohan+code=inte nfig"hans="s"s12.">conf a>->local_<12.3 +code=locaddr" cll_<12.ass="s1(unsigned int, ode=WANOPT_EXTNUL+claslass="s12.">npvc a>u<12.3 drivers/net/3et/wacx_x25.c#3188"291" idopL291" class3"line39nam/opL311">6311 a> 6312 a> if (alu<12.3 +code=conf" class="s12.">conf a>-><12.3 +code=locaddr<12.ass=[0]=>intKERN_INFO a> ation c#39;@c#39; the 2n)=.49">6260 a> otion clasSVCset the 2nd bit */option> 6313 a> 2L224">6224 a>int <12.3 +code=pktlenlass="s12.">pktlen a> = 226<12.3 +code=pktlen226<12"s12.">hi_svc a> - alu<12.3 +code=conf" class="s12.">conf a>->local_<12.3 +code=locaddr" cll_<12.ass=)12.">EINVAL a>u<12.3 drivers/net/wan/c3cx_x25.c#3194"294" idopL294" class3"line39nam/opL314">6314 a> 6L274">62312 a> if (<12.3 +code=pktlenlass="s)=.">hi_svc a>_ { L274">62312 a> if (<12.3 +code=pktlenlass="s="s12nterface a> == alu_ADDRESS_SZ+code=inte> =_DISCOADDRESS_SZs="s)=.">hi_svc a>_ { 6307 a> 70">6270 a> alu<12.3 +code=printk" class="s12.">printkevicealu<1ERR+code=KERN_INFO" claERRs12.">KERN_INFO a> ation class="string""strin " cll <12. too " nga3.26 ID %u!\n"option>, 6268 a> pL307">6307 a> 70">6270 a> alu<12.3 +code=wandev" class="s"s12.">cardopa>->" clt_devwan_deviceuass="s1a>(unsigned int, ohan+code=inte nfig"hans="s"s12.">conf a>->" clt_devwan_deviceuass="s1)12.">EINVAL a>u<12.3 drivers/net/wan/c3c/cycx_x23194"299" idopL299" class3"line39nam/opL289">6289 a> 70">6270 a> kfrelt_devwan_devicekfrel"s12.">hi_svc a> - ahan+code=inte nfig"hans="s)12.">EINVAL a>u<12.3 drivers/net/wan/c4cx_x25.c#4194"300" idopL300" class4"line40nam/opL310">6310 a> return -alu<12.3 +code=EINVAL" class="s12.">EINVAL a>u<12.3 drivers/net/wan/c4cx_x25.c#4194"301" idopL301" class4"line4 nam/opL301">6301 a> 275 a> } else { 6232 a> 70">6270 a> ohan+code=inte nfig"hans="s"s12.">conf a>->local_<12.3 +code=locaddr" cll_<12.ass="s1(unsigned int, kmss oc+code=inte nfigkmss ocass=5 a> if (<12.3 +code=pktlenlass="s=+ 1a>(unsigned int, GFP_" clE2.3 +code=EINVALGFP_" clE2="s11"s12.">npvc a>u<12.3 drivers/net/3en/c4n/cycx_x24.c#L303" idopL303" class4"line40nam/o2.">EINVAL a>u<12.3 drivers/net/wan/c4cx_x25.c#4194"304" idopL304" class4"line4 nam/opL304">6304 a> 261 a> if (!ohan+code=inte nfig"hans="s"s12.">conf a>->local_<12.3 +code=locaddr" cll_<12.ass=)> } else { 6L274">6274 a> 70">6270 a> kfrelt_devwan_devicekfrel"s12.">hi_svc a> - ahan+code=inte nfig"hans="s)12.">EINVAL a>u<12.3 drivers/net/wan/c4c6_x25.c#4194"296" idopL2 drivers/4et/wa40cycx_x226296 296 a> L274">622222222222222222 return -aNOMEM+code=KERNurEINVAL a>u<12.3 drivers/net/wan/c4cx_x25.c#4194"307" idopL307" class4"line4 nam/opL307">6307 a> 291 a> }<12.3 drivers/net/wan/c4cx_x25.c#4188"308" idopL308" class4"line40nam/opL268">6268 a> pL307">6291 a> }<12.3 drivers/net/wan/c4c9_x25.c#4194"299" idopL299" class4"line40nam/opL239">6239 a><12.3 drivers/net/wan/c4cx_x25.c#4194"310" idopL310" class4"line4 nam/opL310">6310 a> 70">6270 a> > ancpy.3 +code=pktlen226ncpy"s12.">hi_svc a> - ahan+code=inte nfig"hans="s"s12.">conf a>->local_<12.3 +code=locaddr" cll_<12.ass=a>(unsigned int, olu<12.3 +code=conf" class="s12.">conf a>->local_<12.3 +code=locaddr" cll_<12.ass=apL239">6239 a><12.3 drivers/net/wan/c4cx_x25.c#4188"311" idopL311" class4"line41nam/opL301">6301 a> 70">6270 a> alu_ADDRESS_SZ+code=inte> =_DISCOADDRESS_SZs="s)12.">EINVAL a>u<12.3 drivers/net/wan/c4n/cycx_x24.c#L312" idopL312" class4"line41nam/opL232">6232 a> 291 a> }<12.3 drivers/net/wan/c4cx_x25.c#4194"313" idopL313" class4"line41nam/o2.">EINVAL a>u<12.3 drivers/net/wan/c4cx_x25.c#4188"314" idopL314" class4"line41nam/opL304">6304 a> ohan+code=inte nfig"hans="s"s12.">conf a>-><12.3 +code=lo_svclass="s12.">lo_pvc a> + 1u<12.3 drivers/net/wan/c4n/cycx_x24.c#L315" idopL315" class4"line41nam/opL275">6L274">62270 a> > ancpy.3 +code=pktlen226ncpy"s12.">hi_svc a> - ahan+code=inte nfig"hans="s"s12.">conf a>-><12.3 +code=locaddr<12.ass=s12.">memsetevice&olu<12.3 +code=conf" class="s12.">conf a>-><12.3 +code=locaddr<12.ass=[1]a>(unsigned int, alu_ADDRESS_SZ+code=inte> =_DISCOADDRESS_SZs="s)12.">EINVAL a>u<12.3 drivers/net/wan/c4n6_x25.c#4194"316" idopL316" class4"line4 nam/opL316">6316 a> i="c_timcx_x25_chan_timeri="c_timcx"s12.2.">memsetevice&ohan+code=inte nfig"hans="s"s12.">conf a>->timcx_x25_chan_timertimcx"s12)12.">EINVAL a>u<12.3 drivers/net/wan/c4nx_x25.c#4188"317" idopL317" class4"line41nam/opL307">6307 a> ohan+code=inte nfig"hans="s"s12.">conf a>->timcx_x25_chan_timertimcx"s12="s12.">cfg a>.aunc<12.3 +code=stationaunc<12.am/opL302.">pktlen a> = " clirq_h"han_timcx_x25_chan_timer" clirq_h"han_timcxs="s12.">EINVAL a>u<12.3 drivers/net/wan/c4n/cycx_x24.c#L318" idopL318" class4"line41nam/opL268">6268 a> ohan+code=inte nfig"hans="s"s12.">conf a>->timcx_x25_chan_timertimcx"s12="s12.">cfg a>.of t3 +code=devnam/"f tam/opL268">6= s12.">min_" ng)">cardopa>->alu3 +code=devnam/" cs="s12.">EINVAL a>u<12.3 drivers/net/wan/c4n9_x25.c#4194"319" idopL3212.3 36"4id31e41nam/opL239">6239 a><12.3 drivers/net/wan/c4n/cy3x_x24.c#L220" idopL220" 3lass43line42nam/opL310">6310 a> 60 a> otion clasSet channelstimcouts (default6318not alize pld)specific fields */option> 6301 a> ohan+code=inte nfig"hans="s"s12.">conf a>->idle_tmout_x25_chan_timeridle_tmoutass="s1(unsigned int, olu<12.3 +code=conf" class="s12.">conf a>->idle_timcout_x25_chan_timeridle_timcoutass="?1(unsigned int, olu<12.3 +code=conf" class="s12.">conf a>->idle_timcout_x25_chan_timeridle_timcoutass=": 92.">npvc a> = 0u<12.3 drivers/net/wan/c4n/cy3x_x24.c#L222" idopL222" 3lass432ine4 nam/opL312">6275 a>312 a> if (isdigit_x25_chan_timerisdigit"s12.">hi_svc a> - alu<12.3 +code=conf" class="s12.">conf a>-><12.3 +code=locaddr<12.ass=[0]))=.49"> 60 a> otion clasPVCset the 2nd bit */option> 6313 a> 270 a> >194"316" idpktlen2 nam/op">conf a>->lc2.3 +code=pktlenlcss="s12.">pktlen a> = dec_to_uint_x25_chan_timerdec_to_uint"s12.">hi_svc a> - alu<12.3 +code=conf" class="s12.">conf a>-><12.3 +code=locaddr<12.ass=, >t13_t23 a>,630_u<12.3 drivers/net/wet/w4n/cy3x_x24.c#L224" idopL224" 3lass432ine4 nam/opL314">6314 a> 6L274">62312 a> if (nvc a> = alu<12.3 +code=card" class="s12.">cardopa>->alu<12.3 +code=u" class="s12.">uopa>.alu<12.3 +code=x" class="s12.">xopa>.alu<12.3 +code=lo_pvc" class="s12.">m2.">m a> if (nvc a> = alu<12.3 +code=card" class="s12.">cardopa>->alu<12.3 +code=u" class="s12.">uopa>.alu<12.3 +code=x" class="s12.">xopa>.alu<12.3 +code=hi_pvc" class="s1pL314">6314 a> L274">62">hi_svc a> - ahan+code=inte nfig"hans="s"s12.">conf a>->lc2.3 +code=pktlenlcss="s12.">pktlen a> = lc2.3 +code=pktlenlcss="s13_t23 a>,630_u<12.3 drivers/net/wet/w4nx_x25.c#4194"227" idopL227" 3lass432ine42nam/opL307">6307 a> 5 a> } else { 6268 a> pL307">6270 a> alu<12.3 +code=printk" class="s12.">printkevicealu<1ERR+code=KERN_INFO" claERRs12. } else { 6289 a> 70">62KERN_INFO a> ation class="string"PVCs"striu * Toutificrange on&" class=l4"strina3.26 ID %u!\n"option>, 6310 a> 270 a> alu<12.3 +code=wandev" class="s"s12.">cardopa>->" clt_devwan_deviceuass="s1a>(unsigned int, lc2.3 +code=pktlenlcss="sa>(unsigned int, ohan+code=inte nfig"hans="s"s12.">conf a>->" clt_devwan_deviceuass="s1)12.">EINVAL a>u<12.3 drivers/net/wan/c4cx_x2x_x24.c#L231" idopL231" 3lass433ine43nam/opL301">6301 a> ">conf a>->erx_x25_chan_timererxass=>in return -alu<12.3 +code=EINVAL" class="s12.">EINVAL a>u<12.3 drivers/net/wan/c4n/cy35.c#4194"232" idopL232" 3lass433ine43nam/opL232">6232 a> 291 a> }<12.3 drivers/net/wan/c4n/cy35.c#4194"233" idopL233" 3lass43line4 nam/opL252">6275 a> } else { 6274 a> alu<12.3 +code=printk" class="s12.">printkevicealu<1ERR+code=KERN_INFO" claERRs12.">KERN_INFO a> ation class="string">"&media <12.ess on&" class=l4"strina3.26 ID %u!\n"option>, 6L274">6274 a> 270 a> alu<12.3 +code=wandev" class="s"s12.">cardopa>->" clt_devwan_deviceuass="s1a>(unsigned int, ohan+code=inte nfig"hans="s"s12.">conf a>->" clt_devwan_deviceuass="s1)12.">EINVAL a>u<12.3 drivers/net/wan/c4cx_x2x_x24.c#L236" idopL236" 3lass43 +co43nam/opL316">6316 a> erx_x25_chan_timererxass=>in return -alu<12.3 +code=EINVAL" class="s12.">EINVAL a>u<12.3 drivers/net/wan/c4nx_x25.c#4>u<12.3 dfaul0, sizeof(a4u<12.43nam/opL277">6291 a> }<12.3 drivers/net/wan/c4cx_x25.c#4194"238" idopL238" class4"line43nam/opL308">6308 a> 6309 a> if (erx_x25_chan_timererxass=)> } else { 6310 a> kfrelt_devwan_devicekfrel"s12.">hi_svc a> - ahan+code=inte nfig"hans="s"s12.">conf a>->local_<12.3 +code=locaddr" cll_<12.ass=)12.">EINVAL a>u<12.3 drivers/net/wan/c4n/cycx_x24.c#L241" idopL241" class4"line44nam/opL301">6301 a> kfrelt_devwan_devicekfrel"s12.">hi_svc a> - ahan+code=inte nfig"hans="s)12.">EINVAL a>u<12.3 drivers/net/wan/c4n/cycx_x24.c#L242" idopL242" class4"line44nam/opL232">6232 a> a> if (erx_x25_chan_timererxass=12.">EINVAL a>u<12.3 drivers/net/wan/c4n/cy35.c#4.c#L243" idopL243" class4"line443am/opL277">6291 a> }<12.3 drivers/net/wan/c4n/cycx_x24.c#L244" idopL244" class4"line44nam/opL314">6314 a> 6 60 a> otion clasdrepra3.u<1workent"> of th t 12sforeregist * Moaset the 2nd bit */option> 6249 a> 226cpy.3 +code=pktlen226cpy"s12.">hi_svc a> - alu3 +code=devnam/" cs="s"s12.">cardopa>->" clt_devwan_deviceuass="s1a>(unsigned int, ohan+code=inte nfig"hans="s"s12.">conf a>->" clt_devwan_deviceuass="s1)12.">EINVAL a>u<12.3 drivers/net/wan/c4cx_x25.c#4194"247" idopL247" class4"line44nam/opL237">6237 a> alu3 +code=devnam/" cs="s"s12.">cardopa>->i="c_x25_chan_timeri="cass="s1(unsigned int, os/ne.3 nt"> _i="c_x25_chan_timeros/ne.3 nt"> _i="cass=12.">EINVAL a>u<12.3 drivers/net/wan/c4nx_x25.c#4194"248" idopL248" class4"line44nam/opL298">6298 a> alu3 +code=devnam/" cs="s"s12.">cardopa>->>/on.3 +code=printk" cvass="s1(unsigned int, ohan+code=inte nfig"hans="s.">npvc a> = 0u<12.3 drivers/net/wan/c4nx_x25.c#4188"249" idopL249" class4"line44nam/opL239">6239 a><12.3 drivers/net/wan/c4cx_x25.c#4188"250" idopL250" class4"line45nam/opL310">6 2.">npvc a> = 0u<12.3 drivers/net/wan/c4cx_x25.c#4188"251" idopL251" class4"line4 nam/o291 a> }<12.3 drivers/net/wan/c4c/cycx_x24194"252" idopL252" class4"line45nam/opL302">6302 a> 6223 a>otion clasDelete logical channeluset the 2nd bit */option> pL224">6224 a>int alu<1peld= alu<12.3 +codea> = and_del_i=claslass=5_dump_devsevice" class="s12.">net_devwan_device" class="s12.">wan_device a> *alu<12.3 +code=wandev" class="s,6226 a> struct u<112.">net_devwan_deviceu<112.">ne12.">wan_device a> *<12.3 +code=wandevlass="s1pL314">6314 a> 6306 a> if (alu3 +code=devnam/" cs="s"s12.">cardopa>->>/on.3 +code=printk" cvass=)> } else { 6307 a> 226 a> struct alu<12.3 +hannel+code=inte nfig" class="shannel2.">cycx_device a> *ahan+code=inte nfig"hans="s12.">pktlen a> = deu3 +code=devnam/" cs="s"s12.">cardopa>->>/on.3 +code=printk" cvass=.">npvc a> = 0u<12.3 drivers/net/wan/c4cx_x25.c#4.c#L258" idopL258" class4"line45nam/opL308">6308 a> 6289 a> 312 a> if (ahan+code=inte nfig"hans="s"s12.">conf a>-><12.3 +code=lo_svclass="s)> } else { 6310 a> 70">6270 a> kfrelt_devwan_devicekfrel"s12.">hi_svc a> - ahan+code=inte nfig"hans="s"s12.">conf a>->local_<12.3 +code=locaddr" cll_<12.ass=)12.">EINVAL a>u<12.3 drivers/net/wan/c4cx_x25.c#4.c#L261" idopL261" class4"line46nam/opL301">6301 a> 312 a> if (ahan+code=inte nfig"hans="s"s12.">conf a>-><2.3 +code=inte->interface a> == alu_CTED12.3 +code=inte> =_DISCOCTEDclaslass=1pL314">6314 a> 6232 a> 70">6270 a> =clatimcx_x25_chan_timer=clatimcx"s12.2.">memsetevice&ohan+code=inte nfig"hans="s"s12.">conf a>->timcx_x25_chan_timertimcx"s12)12.">EINVAL a>u<12.3 drivers/net/wan/c4cx_x25.c#4194"263" idopL263" class4"line46nam/opL313">6313 a> 291 a> }<12.3 drivers/net/wan/c4cx_x25.c#4.c#L264" idopL264" class4"line46nam/opL314">6314 a> 6L274">62270 a> kfrelt_devwan_devicekfrel"s12.">hi_svc a> - ahan+code=inte nfig"hans="s)12.">EINVAL a>u<12.3 drivers/net/wan/c4n/cycx_x24.c#L266" idopL266" class4"line46nam/opL316">6316 a> alu3 +code=devnam/" cs="s"s12.">cardopa>->>/on.3 +code=printk" cvass="s1(unsigned int, ode=WANOPT_EXTNUL+claslass="s12.">npvc a>u<12.3 drivers/net/3et/w4n/cycx_x24194"267" idopL267" class4"line46nam/opL277">6291 a> }<12.3 drivers/net/wan/c4cx_x25.c#4194"268" idopL268" class4"line46nam/opL308">6308 a> 6 2.">npvc a> = 0u<12.3 drivers/net/wan/c4cx_x25.c#4194"270" idopL270" class4"line4 nam/o291 a> }<12.3 drivers/net/wan/c4cx_x25.c#4188"271" idopL271" class4"line47nam/opL311">6311 a> 6302 a> 6223 a>otion clasN<1workeDt"> I class=l4et the 2nd bit */option> 6314 a> const 226 a> struct header_olu<12.3 +code=bpsheader_olus12."> struct alu<1header_olu<12.3 +code=bpsalu<1header_oluass="s1 } else { 612.">wandev->areasl<12.3 +code=bpsareaslass="s1(unsigned int, os/ne.3 nt"> _h cl1header_x25_chan_timeros/ne.3 nt"> _h cl1headers="s, } else { 612.">wandev->rebuil<12.3 +code=cardrebuil _rebuil<1header_x25_chan_timeros/ne.3 nt"> _rebuil<1headers="s, } else { npvc a> = 0u<12.3 drivers/net/wan/c4cx_x25.c#4194"279" idopL279" class4"line47nam/opL239">6239 a><12.3 drivers/net/wan/c4cx_x25.c#4194"280" idopL280" class4"line48nam/opL220">6220 a>otion class="comment"Linux.u<1worke" class=l 0 o.k.option> 6221 a>otion cla 0 o.k.option> 6222 a>otion class="comment"> * This rouonly on12sforeeache" class=l, duatio"Linux.u<1work 0 o.k.option> 6223 a>otion cla&" class=l4regist * Moau ss="comtio"anythtio"but zeroswill " class=las 0 o.k.option> 6244 a>otion clasregist * Moau et the 2nd bit */option> pL224">6224 a>int alu<1.3 nt"> _i="c_x25_chan_timeros/ne.3 nt"> _i="cass=5_dump_devsevice" classu<112.">net_devwan_deviceu<112.">ne12.">wan_device a> *<12.3 +code=wandevlass="s1pL314">6314 a> 6226 a> struct alu<12.3 +hannel+code=inte nfig" class="shannel2.">cycx_device a> *ahan+code=inte nfig"hans="s12.">pktlen a> = deu3 +code=devnam/" cs="s"s12.">cardopa>->>/on.3 +code=printk" cvass=.">npvc a> = 0u<12.3 drivers/net/wan/c4n/cycx_x24.c#L288" idopL288" class4"line48nam/opL298">65_wan_ini3opa>(struct alu<12.3 +code=cycx_device" class="s12.">cycx_device a> *alu<12.3 +code=card" class=>interface a> =_Dohan+code=inte nfig"hans="s"s12.">conf a>->alu<12.3 +code=card" class=.">npvc a> = 0u<12.3 drivers/net/wan/c4nx_x25.c#4.c#L289" idopL289" class4"line48nam/opL289">65_wan_ini3opa>(struct ="s12.">net_devwan_device" class="s12.">wan_device a> *alu<12.3 +code=wandev" class="s>in2.">memsetevice&olu<12.3 +code=card" class="s12.">cardopa>->alu<12.3 +code=wandev" class="s.">npvc a> = 0u<12.3 drivers/net/wan/c4cx_x25.c#4188"290" idopL290" class4"line49.">t13_t23 a>,630_u<12.3 drivers/net/wen/c4cx_x25.c#4188"291" idopL291" class4"line49nam/opL251">62L220">6220 a>otion class="comment"nt"> o30_u< entry p="co-specific fields */option> 6">pktlen a> = deu3 +code=devnam/" cs="s"s12.">cardopa>->op12.3 +code=pktlenop12am/opL316">6316 a>s1(unsigned int, os/ne.3 nt"> _op12.3 +code=pktlenos/ne.3 nt"> _op12s="s.">npvc a> = 0u<12.3 drivers/net/wan/c4c/cycx_x24.c#L293" idopL293" class4"line49nam/opL252">6252 a> deu3 +code=devnam/" cs="s"s12.">cardopa>->stop+code=inte->6316 a>s1(unsigned int, os/ne.3 nt"> _stop+code=inte-> _stops="s.">npvc a> = 0u<12.3 drivers/net/wan/c4c/cycx_x24194"294" idopL294" class4"line49nam/opL254">6254 a> deu3 +code=devnam/" cs="s"s12.">cardopa>->header_olu<12.3 +code=bpsheader_olus12."6316 a>s12.">memsetevice&olu<1header_olu<12.3 +code=bpsalu<1header_oluass=.">npvc a> = 0u<12.3 drivers/net/wan/c4c/cycx_x24194"295" idopL295" class4"line49nam/opL305">6305 a><12.3 drivers/net/wan/c4cx_x25.c#4194"296" idopL2 drivers/4et/wa49nam/opL286">6249 a> deu3 +code=devnam/" cs="s"s12.">cardopa>->h cl1x22rt_xm"c_x25_chan_timerh cl1x22rt_xm"cam/opL28s1(unsigned int, os/ne.3 nt"> _h cl1x22rt_xm"c_x25_chan_timeros/ne.3 nt"> _h cl1x22rt_xm"cass=.">npvc a> = 0u<12.3 drivers/net/wan/c4c/cycx_x24194"297" idopL297" class4"line49nam/opL237">6237 a> alu3 +code=devnam/" cs="s"s12.">cardopa>->gete=cycx_x25_dump_statsgete=cycx"s12">6316 a>s1(unsigned int, os/ne.3 nt"> _gete=cycx_x25_dump_stats" cla.3 nt"> _gete=cycxass=.">npvc a> = 0u<12.3 drivers/net/wan/c4c/cycx_x24.c#L298" idopL298" class4"line49nam/opL308">6308 a> 6260 a> otion class="comment"media-alize propar clcla-specific fields */option> 6270 a> alu3 +code=devnam/" cs="s"s12.">cardopa>->mtalu<12.3 +code=umtaam/opL316">6316 a> s1(unsigned int, CYCX_Xlu_CHAN_MTUlu<12.3 +code=uCYCX_Xlu_CHAN_MTUass=.">npvc a> = 0u<12.3 drivers/net/wan/c5cx_x25.c#5194"301" idopL301" class5"line50nam/opL251">6251 a> alu3 +code=devnam/" cs="s"s12.">cardopa>->typet_devwan_devicetypeam/opL316">6316 a>s1(unsigned int, ARPHRD_HWXlu<12.3 +code=x25ARPHRD_HWXluass=.6260 a> otion clasARP h/w typespecific fields */option> 6">pktlen a> = deu3 +code=devnam/" cs="s"s12.">cardopa>->h cl1header_<12.3 +code=pktlenh cl1header_<12am/opL28s10;16">6316 a>260 a> otion clasmedia header <12gthspecific fields */option> 6252 a> deu3 +code=devnam/" cs="s"s12.">cardopa>-><12._<12.3 +code=pktlen<12._<12am/opL316">6316s10;16">6316 a>260 a> otion clash cld on <12.ess <12gthspecific fields */option> 6314 a> 6261 a> if (!ohan+code=inte nfig"hans="s"s12.">conf a>-><12.3 +code=lo_svclass="s)pL314">6314 a> *.">hi_svc a> - __be194"316" idpktlen__be19ycx_*)">cardopa>->alu3 +code=devnam/" cs="s"s12.">cardopa>->alu_<12.3 +code=locaddralu_<12.ass=>interface a> =_Dhtonu<12.3 +code=bpshtonu"s12.">hi_svc a> - ahan+code=inte nfig"hans="s"s12.">conf a>->lc2.3 +code=pktlenlcss="s)12.">EINVAL a>u<12.3 drivers/net/wan/c5cx_x25.c#5194"307" idopL307" class5"line50nam/opL317">6317 a> 6260 a> otion class="comment"h cld on par clcla-s(justsforereference)specific fields */option> 6252 a> deu3 +code=devnam/" cs="s"s12.">cardopa>->irq3 +code=devnam/irqam/opL316">6316 a> s1(unsigned int, alu<12.3 +code=wandev" class="s"s12.">cardopa>->irq3 +code=devnam/irqam/o12.">EINVAL a>u<12.3 drivers/net/wan/c5cx_x25.c#5194"310" idopL310" class5"line51nam/opL270">6270 a> alu3 +code=devnam/" cs="s"s12.">cardopa>->dmt3 +code=devnam/"maam/opL316">6316 a> s1(unsigned int, alu<12.3 +code=wandev" class="s"s12.">cardopa>->dmt3 +code=devnam/"maam/o12.">EINVAL a>u<12.3 drivers/net/wan/c5cx_x25.c#5188"311" idopL311" class5"line51nam/opL251">6251 a> alu3 +code=devnam/" cs="s"s12.">cardopa>->base_<12.3 +code=locaddrbase_<12."s12">6316 a>s1(unsigned int, alu<12.3 +code=wandev" class="s"s12.">cardopa>->ioporde=wandev_conf_tiopordam/o12.">EINVAL a>u<12.3 drivers/net/wan/c5c2_x25.c#5.c#L312" idopL312" class5"line51nam/opL312">6">pktlen a> = deu3 +code=devnam/" cs="s"s12.">cardopa>->mem1x22rtlu<12.3 +code=umem1x22rt"s12">6316 a>s1s12.">min_" ng)">cardopa>->alu<12.3 +code=wandev" class="s"s12.">cardopa>->m<12.3 +code=locaddrm<12."s1212.">EINVAL a>u<12.3 drivers/net/wan/c5c3_x25.c#5194"313" idopL313" class5"line51nam/opL252">6252 a> deu3 +code=devnam/" cs="s"s12.">cardopa>->mem1en<12.3 +code=cardmem1en6316 s1s12.">min_" ng).">hi_svc a> - alu<12.3 +code=wandev" class="s"s12.">cardopa>->m<12.3 +code=locaddrm<12."s12 +2.">EINVAL a>u<12.3 drivers/net/wan/c5c4_x25.c#5188"314" idopL314" class5"line51nam/opL304">6304 a> ">hi_svc a> - alu<12.3 +code=wandev" class="s"s12.">cardopa>->m_">c3 +code=locaddrm_">cam/op- 1)12.">EINVAL a>u<12.3 drivers/net/wan/c5n/cycx_x25.c#L315" idopL315" class5"line51nam/opL275">6252 a> deu3 +code=devnam/" cs="s"s12.">cardopa>->flagu<12.3 +code=bpsflaguam/opL304">6304 a|s1(unsigned int, IFF_NOARP<12.3 +code=bpsIFF_NOARP"s1212.">EINVAL a>u<12.3 drivers/net/wan/c5c6_x25.c#5194"316" idopL316" class5"line519ycx_2.">EINVAL a>u<12.3 drivers/net/wan/c5cx_x25.c#5188"317" idopL317" class5"line51nam/opL307">6 60 a> otion clasSet transmit buffer queue <12gthspecific fields */option> 6298 a> alu3 +code=devnam/" cs="s"s12.">cardopa>->tx_queue_<12.3 +code=pktlentx_queue_<12am/opL298">= 12.">npvc a> = 0u<12.3 drivers/net/wan/c5n9_x25.c#5194"319" idopL3212.3 36"5id31e51nam/opL239">6239 a><12.3 drivers/net/wan/c5n/cy3x_x25.c#L220" idopL220" 3lass53line52nam/opL310">6260 a> otion class="comment"socket buffer-specific fields */option> 6251 a> " class="seth"han_<2.3 +code=inte-><" class="seth"han_<2.3 "s12.">hi_svc a> - <12.3 +code=wandevlass="s,nterface a> == alu_DISCTED12.3 +code=inte> =_DISCODISCTED12.3 s="s)12.">EINVAL a>u<12.3 drivers/net/wan/c5n/cy3x_x25.c#L222" idopL222" 3lass532ine52nam/opL302">6302 a> 6 2.">npvc a> = 0u<12.3 drivers/net/wan/c5n/cy3x_x25.c#L224" idopL224" 3lass532ine5 nam/o291 a> }<12.3 drivers/net/wan/c5n/cy3x_x25.c#L225" idopL225" 3lass532ine52nam/opL305">6305 a><12.3 drivers/net/wan/c5n6_x25.c#5.c#L226" idopL226" 3lass53line52cycx_260 a> otion clasOpen.u<1worke" class=l 0 o.k.option> 6244 a>otion clasosdrevion module from unloadtio"bye" cretiontio"use count"s 0 o.k.option> 6244 a>otion clasosif opLk * Tdis nn/c6edthenei="comteo nn/c12.am 0 o.k.option> 6221 a>otion cla 0 o.k.option> 6220 a>otion clasR 2sif O.k. oreerrno. specific fields */option> pL224">6224 a>int alu<1.3 nt"> _op12.3 +code=pktlenos/ne.3 nt"> _op12s="s5_dump_devsevice" classu<112.">net_devwan_deviceu<112.">ne12.">wan_device a> *<12.3 +code=wandevlass="s1pL314">6314 a> 6303 evsevice" classu<1if_runmtiot_devwan_deviceu<1if_runmtio"s12.">hi_svc a> - <12.3 +code=wandevlass="s)1pL314">6314 a> 6274 a> return -aBUSY.3 +code=wandevaBUSYass=.6260 a> otion clasonly one op12 * Tss ow6edpecific fields */option> 6305 a><12.3 drivers/net/wan/c5cx_x2x_x25.c#L236" idopL236" 3lass53 +co53nam/opL286">6249 a> u<1if_x22rt_queuet_devwan_deviceu<1if_x22rt_queue"s12.">hi_svc a> - <12.3 +code=wandevlass="s).">npvc a> = 0u<12.3 drivers/net/wan/c5nx_x25.c#5>u<12.3 dfaul0, sizeof(a5u<12.53nam/opL277">6 2.">npvc a> = 0u<12.3 drivers/net/wan/c5cx_x25.c#5194"238" idopL238" class5"line53nam/o291 a> }<12.3 drivers/net/wan/c5cx_x25.c#5194"239" idopL239" class5"line53nam/opL239">6239 a><12.3 drivers/net/wan/c5cx_x25.c#5194"240" idopL240" class5"line54nam/opL220">6220 a>otion clasClose.u<1worke" class=l 0 o.k.option> 6221 a>otion clasosreset flagu 0 o.k.option> 6222 a>otion clasosif therec#39;s no more op12 shannelsdthenedis nn/c physical opLku et the 2nd bit */option> pL224">6224 a>int alu<1.3 nt"> _stop+code=inte-> _stops="s5_dump_devsevice" classu<112.">net_devwan_deviceu<112.">ne12.">wan_device a> *<12.3 +code=wandevlass="s1pL314">6314 a> 6226 a> struct alu<12.3 +hannel+code=inte nfig" class="shannel2.">cycx_device a> *ahan+code=inte nfig"hans="s12.">pktlen a> = deu3 +code=devnam/" cs="s"s12.">cardopa>->>/on.3 +code=printk" cvass=.">npvc a> = 0u<12.3 drivers/net/wan/c5nx_x2x_x25194"246" idopL246" class5"line549ycx_2.">EINVAL a>u<12.3 drivers/net/wan/c5cx_x25.c#5194"247" idopL247" class5"line54nam/opL237">6237 a> u<1if_x2op_queuet_devwan_deviceu<1if_x2op_queue"s12.">hi_svc a> - <12.3 +code=wandevlass="s).">npvc a> = 0u<12.3 drivers/net/wan/c5nx_x25.c#5194"248" idopL248" class5"line54nam/opL308">6308 a> 6309 a> if (ahan+code=inte nfig"hans="s"s12.">conf a>-><2.3 +code=inte->interface a> == alu_CTED12.3 +code=inte> =_DISCOCTEDclaslass= || ohan+code=inte nfig"hans="s"s12.">conf a>-><2.3 +code=inte->interface a> == alu_CTED12.ING+code=inte> =_DISCOCTEDclaINGs="s1pL314">6314 a> 6310 a> " class="shan_dis nn/c+code=inte nfig" class="shan_dis nn/c"s12.">hi_svc a> - <12.3 +code=wandevlass="s).">npvc a> = 0u<12.3 drivers/net/wan/c5cx_x25.c#5188"251" idopL251" class5"line55nam/opL311">6311 a> 6 2.">npvc a> = 0u<12.3 drivers/net/wan/c5cx_x25.c#5194"253" idopL253" class5"line55nam/o291 a> }<12.3 drivers/net/wan/c5cx_x25.c#5194"254" idopL254" class5"line55nam/opL314">6314 a> 6220 a>otion clasBuil otion clasosencapsulmteopacket accordtio"tosencapsulmtMoastype 0 o.k.option> 6244 a>otion cla 0 o.k.option> 6244 a>otion clasThe trick here * Ttosputopacket types(Ethertype)>pL2o c#39;" * Initc#39; fiel 6221 a>otion cladthe"socket buffer,"sodthat we donc#39;tsforget it. IfsencapsulmtMoas s, 0 o.k.option> 6220 a>otion classet skb"s12." * InitTtos0 andedis ardopacket lmter 0 o.k.option> 6221 a>otion cla 0 o.k.option> 6222 a>otion clasR :277">6media header <12gthu et the 2nd bit */option> pL224">6224 a>int alu<1.3 nt"> _h cl1header_x25_chan_timeros/ne.3 nt"> _h cl1headers="s5_dump_devsevice" classsk_buff+code=inte->cycx_device a> *skb+code=inte-> 6304 a> _dump_devsevice" classu<112.">net_devwan_deviceu<112.">ne12.">wan_device a> *<12.3 +code=wandevlass="s,nterface a> == u194"316" idpktlenu nam/op">conf a>->typet_devwan_devicetypeam/o,d bit */option> 6L274">622222222222222222222222const void>wan_device a> *<<12.3 +code=locaddra<12.ass=, const void>wan_device a> *s<12.3 +code=locaddrs<12.ass=apL239">6239 a><12.3 drivers/net/wan/c5n/cycx_x25.c#L266" idopL266" class5"line56nam/opL316">6316 a> 12.">min_">conf a>->l12.3 +code=pktlenlass="s)pL239">6239 a><12.3 drivers/net/wan/c5nx_x25.c#5194"267" idopL267" class5"line56nam/o } else { 6298 a> skb+code=inte->cardopa>->>/* Init.3 +code=printk" * Inits="s12.">pktlen a> = htonu<12.3 +code=bpshtonu"s12.">hi_svc a> - typet_devwan_devicetypeam/o).">npvc a> = 0u<12.3 drivers/net/wan/c5cx_x25.c#5194"269" idopL269" class5"line56nam/opL239">6239 a><12.3 drivers/net/wan/c5cx_x25.c#5194"270" idopL270" class5"line57nam/opL310">6 ">pktlen a> = deu3 +code=devnam/" cs="s"s12.">cardopa>->h cl1header_<12.3 +code=pktlenh cl1header_<12am/o.">npvc a> = 0u<12.3 drivers/net/wan/c5cx_x25.c#5188"271" idopL271" class5"line57nam/o291 a> }<12.3 drivers/net/wan/c5n/cycx_x25.c#L272" idopL272" class5"line57nam/opL302">6302 a> 6223 a>otion clasasR -buil 6244 a>otion clasR :277">61L310">6physical <12.ess .esolved 0 o.k.option> 6220 a>otion classssssssssssss0L310">6physical <12.ess not .esolved et the 2nd bit */option> pL224">6224 a>int alu<1.3 nt"> _rebuil<1header_x25_chan_timeros/ne.3 nt"> _rebuil<1headers="s5_dump_devsevice" classsk_buff+code=inte->cycx_device a> *skb+code=inte->6239 a><12.3 drivers/net/wan/c5n/cycx_x25.c#L277" idopL277" class5"line57nam/o } else { 6 ">lo_pvc a> + 1u<12.3 drivers/net/wan/c5cx_x25.c#5194"279" idopL279" class5"line57nam/o291 a> }<12.3 drivers/net/wan/c5cx_x25.c#5194"280" idopL280" class5"line58.">t13_t23 a>,630_u<12.3 drivers/net/wen/c5cx_x25.c#5194"281" idopL281" class5"line58nam/opL221">6221 a>otion clasSendeaopacket oasa.u<1worke" class=l 0 o.k.option> 6222 a>otion clasosset busy flag (marks x22rtificthe transmissMoa) 0 o.k.option> 6223 a>otion cla&o check opLk ne" n. IfsopLk * Tnot up,dthenedropcthe packet 0 o.k.option> 6244 a>otion claso check channelsne" us. Ifsitc#39;s downdthenei="comteoaThis 0 o.k.option> 6220 a>otion claso pass aopacket toscor.espondtio"WAN"nt"> 0 o.k.option> otion clasosfrel"socket buffer 0 o.k.option> 6244 a>otion cla 0 o.k.option> 6244 a>otion clasR :277">60L310">6a>oplete (socket buffer mustsbesfreld) 0 o.k.option> 6221 a>otion claddddddddddddddnon-0L31packet maysbesre-transmitc6ed(tbusy mustsbesset) 0 o.k.option> 6220 a>otion cla 0 o.k.option> 6221 a>otion clasNotes: 0 o.k.option> 6222 a>otion clas1.ss="comment"> * This roueither"byethe p * InitTne"ck or"byethe 26 ID u<1 0 o.k.option> 6223 a>otion cla&&&&bottom half26 ID (withe" clarupts enab ro) 0 o.k.option> 6244 a>otion clas2.sSetntio"tbusy flag will inhibit further"transmit requests from the 0 o.k.option> 6220 a>otion classssp * InitTne"ck andec20"besusrouforeflow contritTwithep * InitTlayer et the 2nd bit */option> pL224">6224 a>int alu<1.3 nt"> _h cl1x22rt_xm"c_x25_chan_timeros/ne.3 nt"> _h cl1x22rt_xm"cass=5_dump_devsevice" classsk_buff+code=inte->cycx_device a> *skb+code=inte-> 6307 a> _dump_devsevice" classu<112.">net_devwan_deviceu<112.">ne12.">wan_device a> *<12.3 +code=wandevlass="s1pL314">6314 a> 65_wan_ini3opa>(struct alu<12.3 +hannel+code=inte nfig" class="shannel2.">cycx_device a> *ahan+code=inte nfig"hans="s12.">pktlen a> = deu3 +code=devnam/" cs="s"s12.">cardopa>->>/on.3 +code=printk" cvass=.">npvc a> = 0u<12.3 drivers/net/wan/c6cx_x25.c#6194"300" idopL300" class6"line60nam/opL270">65_wan_ini3opa>(struct alu<12.3 +code=cycx_device" class="s12.">cycx_device a> *alu<12.3 +code=card" class=>interface a> =_Dohan+code=inte nfig"hans="s"s12.">conf a>->alu<12.3 +code=card" class=.">npvc a> = 0u<12.3 drivers/net/wan/c6cx_x25.c#6194"301" idopL301" class6"line60nam/opL311">6311 a> 6261 a> if (!ohan+code=inte nfig"hans="s"s12.">conf a>-><12.3 +code=lo_svclass="s)pL314">6314 a> 6313 a> 270 a> ohan+code=inte nfig"hans="s"s12.">conf a>->>/* Init.3 +code=printk" * Inits="s12.">pktlen a> = ntohu<12.3 +code=bpsntohu"s12.">hi_svc a> - skb+code=inte->cardopa>->>/* Init.3 +code=printk" * Inits="s).">npvc a> = 0u<12.3 drivers/net/wan/c6c4_x25.c#6194"294" idopL294" class6"line60nam/opL314">6314 a> 6261 ">conf a>->alu<12.3 +code=card" class="s12.">cardopa>->alu<12.3 +code=wandev" class="s12.">wandev-><2.3 +code=inte-> == alu_CTED12.3 +code=inte> =_DISCOCTEDclaslass=1pL314">6314 a> ++270 a> ohan+code=inte nfig"hans="s"s12.">conf a>->if=cycx_x25_dump_statsif=cycxs="s12.">wandev->tlasroppe<12.3 +code=cardtlasroppenpvc a> = 0u<12.3 drivers/net/wan/c6c7_x25.c#6194"297" idopL297" class6"line60nam/opL307">65 a>312 a> if (ahan+code=inte nfig"hans="s"s12.">conf a>-><12.3 +code=lo_svclass="s12.">m2.">m 270 a> ohan+code=inte nfig"hans="s"s12.">conf a>->>/* Init.3 +code=printk" * Inits="s12.">m2.">m">npvc a> = 0u<12.3 drivers/net/wan/c6c8_x25.c#61c#L298" idopL298" class6"line60nam/opL268">6268 a> p270 a> ohan+code=inte nfig"hans="s"s12.">conf a>->>/* Init.3 +code=printk" * Inits="s1!interface a> == ntohu<12.3 +code=bpsntohu"s12.">hi_svc a> - skb+code=inte->cardopa>->>/* Init.3 +code=printk" * Inits="s))> } else { 6289 a> ">cardopa>->>/o<12.3 +code=printk" class="s12.">printkevicealu<1INFO.3 +code=printkalu<1INFOam/opL314">6314 a> 6310 a> 70">>KERN_INFO a> ation class="string"unsuppordrouEthertype 0x"stri04X on&" class=l4"strina3.26 ID %u!\n"option>, 6301 a> ">conf a>->alu<12.3 +code=card" class="s12.">cardopa>->las" cl3 +code=devnam/" c" cls="s,nterface a> == ntohu<12.3 +code=bpsntohu"s12.">hi_svc a> - skb+code=inte->cardopa>->>/* Init.3 +code=printk" * Inits="s),nterface a> == deu3 +code=devnam/" cs="s"s12.">cardopa>->" cl3 +code=devnam/" cls="s).">npvc a> = 0u<12.3 drivers/net/wan/c6c2_x25.c#6.c#L312" idopL312" class6"line61nam/opL312">6296 a> ++270 a> ohan+code=inte nfig"hans="s"s12.">conf a>->if=cycx_x25_dump_statsif=cycxs="s12.">wandev->tlaerrorx_x25_dump_statstlaerrorxass=.">npvc a> = 0u<12.3 drivers/net/wan/c6c3_x25.c#6194"313" idopL313" class6"line61nam/opL252">6}65 a>312 a> if (ahan+code=inte nfig"hans="s"s12.">conf a>->>/* Init.3 +code=printk" * Inits="s12interface a> == ETH_P_IP<12.3 +code=bpsETH_P_IPs="s)> } else { 6304 a> switch9 a> if (ahan+code=inte nfig"hans="s"s12.">conf a>-><2.3 +code=inte-> } else { 6L274">62ca a>terface a> == alu_DISCTED12.3 +code=inte> =_DISCODISCTED12.3 s="s: } else { 6316 a> 312 a> if (a class="shan_ nn/c+code=inte nfig" class="shan_ nn/c"s12.">hi_svc a> - <12.3 +code=wandevlass="s))> } else { 6307 a> evsevice" classu<1if_x2op_queuet_devwan_deviceu<1if_x2op_queue"s12.">hi_svc a> - <12.3 +code=wandevlass="s).">npvc a> = 0u<12.3 drivers/net/wan/c6n/cycx_x26.c#L318" idopL318" class6"line61nam/opL268">6268 a> pppppppppppppppp return -aBUSY.3 +code=wandevaBUSYass=.">npvc a> = 0u<12.3 drivers/net/wan/c6n9_x25.c#6194"319" idopL3212.3 36"6id31e61nam/opL289">6289 a> 291 a> }<12.3 drivers/net/wan/c6n/cy3x_x26.c#L220" idopL220" 3lass63line62nam/opL310">6310 a> 70">62L221">6221 a>otion clasfall thru et the 2nd bit */option> 6301 a> ca a>terface a> == alu_CTED12.3 +code=inte> =_DISCOCTEDclaslass=: } else { 6232 a> terface a> == resetatimcx_x25_chan_timerresetatimcx"s12.">hi_svc a> - <12.3 +code=wandevlass="s).">npvc a> = 0u<12.3 drivers/net/wan/c6n/cy3x_x26.c#L223" idopL223" 3lass632ine62nam/opL313">6313 a> terface a> == alu3 +code=devnam/" cs="s"s12.">cardopa>->trans1x22rtlu<12.3 +code=utrans1x22rts="s12.">pktlen a> = jiffiex_x25_dump_statsjiffiexass=.">npvc a> = 0u<12.3 drivers/net/wan/c6n/cy3x_x26.c#L224" idopL224" 3lass632ine62nam/opL304">6304 a> evsevice" classu<1if_x2op_queuet_devwan_deviceu<1if_x2op_queue"s12.">hi_svc a> - <12.3 +code=wandevlass="s).">npvc a> = 0u<12.3 drivers/net/wan/c6n/cy3x_x26.c#L225" idopL225" 3lass632ine62nam/opL305">6305 a><12.3 drivers/net/wan/c6n6_x25.c#6.c#L226" idopL226" 3lass63line62nam/opL316">6316 a> 312 a> if (a class="shan_sen<12.3 +code=carda class="shan_sen<"s12.">hi_svc a> - <12.3 +code=wandevlass="s,nterface a> == skb+code=inte->6314 a> 6307 a> return -aBUSY.3 +code=wandevaBUSYass=.">npvc a> = 0u<12.3 drivers/net/wan/c6n/cycx_x26.c#L228" idopL228" 3lass632ine62nam/opL308">6308 a> 6289 a> break.">npvc a> = 0u<12.3 drivers/net/wan/c6n/cy3x_x26.c#L230" idopL230" 3lass633ine63nam/opL310">6310 a> default: } else { 6301 a> ++270 a> ohan+code=inte nfig"hans="s"s12.">conf a>->if=cycx_x25_dump_statsif=cycxs="s12.">wandev->tlasroppe<12.3 +code=cardtlasroppenpvc a> = 0u<12.3 drivers/net/wan/c6n/cy35.c#6194"232" idopL232" 3lass633ine63nam/opL232">6232 a> ++270 a> olu<12.3 +code=card" class="s12.">cardopa>->alu<12.3 +code=wandev" class="s12.">wandev-><2.3x_x25_dump_stats=cycxs="s12.">wandev->tlasroppe<12.3 +code=cardtlasroppenpvc a> = 0u<12.3 drivers/net/wan/c6n/cy3x_x26194"233" idopL233" 3lass63line63nam/opL303">6291 a> }<12.3 drivers/net/wan/c6n/cy3x_x26194"234" idopL234" 3lass633ine63nam/opL274">6}65 a>{62L221">6221 a>otion clas"han"s12." * InitT2inETH_P_X25 et the 2nd bit */option> 6L274">62switch9 a> if (skb+code=inte->cardopa>->datt3 +code=devnam/"atts="s[0])> } else { 6316 a> ca a>0: break.">npvc a> = 0u<12.3 drivers/net/wan/c6nx_x25.c#6>u<12.3 dfaul0, sizeof(a6u<12.63nam/opL307">6307 a> ca a>1:62L221">6221 a>otion clasC nn/c request et the 2nd bit */option> 6268 a> pppppppp a> if (a class="shan_ nn/c+code=inte nfig" class="shan_ nn/c"s12.">hi_svc a> - <12.3 +code=wandevlass="s).">npvc a> = 0u<12.3 drivers/net/wan/c6n9_x25.c#6194"239" idopL239" class6"line63nam/opL289">6289 a> g* Ip a> if (frel_packet.3 +code=wandevfrel_packetass=.">npvc a> = 0u<12.3 drivers/net/wan/c6cx_x25.c#6194"240" idopL240" class6"line64nam/opL310">6310 a> ca a>2:62L221">6221 a>otion clasDis nn/c request et the 2nd bit */option> 6301 a> a> if (a class="shan_dis nn/c+code=inte nfig" class="shan_dis nn/c"s12.">hi_svc a> - <12.3 +code=wandevlass="s).">npvc a> = 0u<12.3 drivers/net/wan/c6n/cy35.c#6.c#L242" idopL242" class6"line64nam/opL232">6232 a> g* Ip a> if (frel_packet.3 +code=wandevfrel_packetass=.">npvc a> = 0u<12.3 drivers/net/wan/c6c/cy3x_x26.c#L243" idopL243" class6"line64nam/opL313">6313 a> default: } else { 6304 a> evsevice" class>/o<12.3 +code=printk" class="s12.">printkevicealu<1INFO.3 +code=printkalu<1INFOam/opL314">6314 a> 6L274">62222222222222222>KERN_INFO a> ation class="string"unknownd"strid s/n-iss=l4request on4"strina3.26 ID %u!\n"option>, 6316 a> ">conf a>->alu<12.3 +code=card" class="s12.">cardopa>->las" cl3 +code=devnam/" c" cls="s,nterface a> == skb+code=inte->cardopa>->datt3 +code=devnam/"atts="s[0],nterface a> == deu3 +code=devnam/" cs="s"s12.">cardopa>->" cl3 +code=devnam/" cls="s).">npvc a> = 0u<12.3 drivers/net/wan/c6cx_x25.c#6194"247" idopL247" class6"line64nam/opL307">6307 a> ++270 a> ohan+code=inte nfig"hans="s"s12.">conf a>->if=cycx_x25_dump_statsif=cycxs="s12.">wandev->tlaerrorx_x25_dump_statstlaerrorxass=.">npvc a> = 0u<12.3 drivers/net/wan/c6nx_x25.c#6194"248" idopL248" class6"line64nam/opL268">6268 a> ppppppppg* Ip a> if (frel_packet.3 +code=wandevfrel_packetass=.">npvc a> = 0u<12.3 drivers/net/wan/c6c9_x25.c#6188"249" idopL249" class6"line64nam/opL289">6289 a> 291 a> }<12.3 drivers/net/wan/c6cx_x25.c#6188"250" idopL250" class6"line65.">t13_t23 a>,630_u<12.3 drivers/net/wen/c6cx_x25.c#6188"251" idopL251" class6"line65nam/opL301">6301 a> terface a> == skb_pult.3 +code=printkskb_pult"s12.">hi_svc a> - skb+code=inte->6221 a>otion clasRemove contritTbytespecific fields */option> 6232 a> terface a> == resetatimcx_x25_chan_timerresetatimcx"s12.">hi_svc a> - <12.3 +code=wandevlass="s).">npvc a> = 0u<12.3 drivers/net/wan/c6cx_x25.c#6194"253" idopL253" class6"line65nam/opL313">6313 a> 270 a> alu3 +code=devnam/" cs="s"s12.">cardopa>->trans1x22rtlu<12.3 +code=utrans1x22rts="s12.">pktlen a> = jiffiex_x25_dump_statsjiffiexass=.">npvc a> = 0u<12.3 drivers/net/wan/c6cx_x25.c#6194"254" idopL254" class6"line65nam/opL304">6304 a> evsevice" classu<1if_x2op_queuet_devwan_deviceu<1if_x2op_queue"s12.">hi_svc a> - <12.3 +code=wandevlass="s).">npvc a> = 0u<12.3 drivers/net/wan/c6n/cycx_x26.c#L255" idopL255" class6"line65nam/opL305">6305 a><12.3 drivers/net/wan/c6n/cycx_x26.c#L256" idopL256" class6"line65nam/opL316">6316 a> 312 a> if (a class="shan_sen<12.3 +code=carda class="shan_sen<"s12.">hi_svc a> - <12.3 +code=wandevlass="s,nterface a> == skb+code=inte-> } else { 6307 a> 2L221">6221 a>otion clasprep on forefuturl4retransmissMoa-specific fields */option> 6268 a> pppppppp a> if (skb_push.3 +code=printkskb_push"s12.">hi_svc a> - skb+code=inte-> 6289 a> return -aBUSY.3 +code=wandevaBUSYass=.">npvc a> = 0u<12.3 drivers/net/wan/c6cx_x25.c#6194"260" idopL260" class6"line66nam/opL310">6310 a> 291 a> }<12.3 drivers/net/wan/c6cx_x25.c#6.c#L261" idopL261" class6"line66nam/opL301">6291 a> }<12.3 drivers/net/wan/c6c/cycx_x26.c#L262" idopL262" class6"line66nam/opL302">6302 a> if (frel_packet.3 +code=wandevfrel_packetass=: } else { 6">hi_svc a> - <12_kfrel_skb+code=inte-><<12_kfrel_skb"s12.">hi_svc a> - skb+code=inte-> 6305 a><12.3 drivers/net/wan/c6n/cycx_x26.c#L266" idopL266" class6"line66nam/opL316">6 2.">npvc a> = 0u<12.3 drivers/net/wan/c6nx_x25.c#6194"267" idopL267" class6"line66nam/o291 a> }<12.3 drivers/net/wan/c6cx_x25.c#6194"268" idopL268" class6"line66nam/opL308">6308 a> 6221 a>otion clasGetuEtheru<1-style&" class=l4x2206sticu 0 o.k.option> 6220 a>otion clasR a po" cla tos5_wan_iu<112.">nee=cycxspecific fields */option> _dump_devsevice" classu<112.">nee=cycx_x25_dump_statsu<112.">nee=cycxam/opycx_device a> *as/ne.3 nt"> _gete=cycx_x25_dump_stats" cla.3 nt"> _gete=cycxass=5_dump_devsevice" classu<112.">net_devwan_deviceu<112.">ne12.">wan_device a> *<12.3 +code=wandevlass="s1pL314">6314 a> 65_wan_ini3opa>(struct alu<12.3 +hannel+code=inte nfig" class="shannel2.">cycx_device a> *ahan+code=inte nfig"hans="s12.">pktlen a> = deu3 +code=devnam/" cs="s"s12.">cardopa>->>/on.3 +code=printk" cvass=.">npvc a> = 0u<12.3 drivers/net/wan/c6n/cycx_x26.c#L274" idopL274" class6"line67nam/opL314">6314 a> 6 cx_device a> *ahan+code=inte nfig"hans="s1?12.">m270 a> ohan+code=inte nfig"hans="s"s12.">conf a>->if=cycx_x25_dump_statsif=cycxs="s : cx_device a> *NULL_x25_dump_statsNULLass=.">npvc a> = 0u<12.3 drivers/net/wan/c6n/cycx_x26.c#L276" idopL276" class6"line6 nam/o291 a> }<12.3 drivers/net/wan/c6n/cycx_x26.c#L277" idopL277" class6"line67nam/opL317">6317 a> 6244 a>otion class=clarupt Handler-specific fields */option> 6221 a>otion clasX.25ss=clarupt Ser">ne Rment"> et the 2nd bit */option> t1x2206">void>ni3opa>(struct alu<12.3 irq_handler+code=inte nfig" class="irq_handlerass=5_dump_devsevice" classalu<12.3 +code=cycx_device" class="s12.">cycx_device a> *alu<12.3 +code=card" class=1pL314">6314 a> 65_wan_ini3opa>(struct alu<12.3 +m<12.3 +code=carda class="smlass=>ni3opa>(struct am<12.3 +code=cardamnpvc a> = 0u<12.3 drivers/net/wan/c6c/cycx_x26.c#L283" idopL283" class6"line68nam/opL252">6252 a> u194"316" idpktlenu nam/op">conf a>->z4"316" idpktlenzs="s12.2.">npvc a> = 0u<12.3 drivers/net/wan/c6c/cycx_x26.c#L284" idopL284" class6"line68nam/opL314">6314 a> 6252 a> alu<12.3 +code=card" class="s12.">cardopa>->in_isr+code=inte nfigin_isrs="s12.">lo_pvc a> + 1u<12.3 drivers/net/wan/c6c/cycx_x26188"286" idopL286" class6"line68nam/opL286">6249 a> alu<12.3 +code=card" class="s12.">cardopa>->buff_" c_m>_unbusy12.3 +code=cardbuff_" c_m>_unbusys="s12.2.">npvc a> = 0u<12.3 drivers/net/wan/c6c/cycx_x26194"287" idopL287" class6"line68nam/opL237">6237 a> rs/nepee2.3 +code=printkrs/nepee2ass=52.">m270 a> olu<12.3 +code=card" class="s12.">cardopa>->hw12.3 +code=cardhws="s,nterface a> == Xs="RXMBOX_OFFS12.3 +code=cardXs="RXMBOX_OFFSs="s,n2.">m270 a> om<12.3 +code=cardamcof a> if (am<12.3 +code=cardam 6308 a> 65witch9 a> if (am<12.3 +code=cardamwandev->a>otan<12.3 +code=carda>otan } else { 6ca a>terface a> == Xs="DATA_INDICATION12.3 +code=cardXs="DATA_INDICATIONass=: } else { 6301 a> terface a> == " class="irq_rx+code=inte nfig" class="irq_rx"s12.">hi_svc a> - olu<12.3 +code=card" class=,n2.">m270 a> om<12.3 +code=cardam 6232 a> break.">npvc a> = 0u<12.3 drivers/net/wan/c6c/cycx_x26.c#L293" idopL293" class6"line693am/opL310">6ca a>terface a> == Xs="ACK_FROM_VC12.3 +code=cardXs="ACK_FROM_VCass=: } else { 6304 a> evsevice" class" class="irq_tx+code=inte nfig" class="irq_tx"s12.">hi_svc a> - olu<12.3 +code=card" class=,n2.">m270 a> om<12.3 +code=cardam 6L274">62break.">npvc a> = 0u<12.3 drivers/net/wan/c6c/cycx_x26194"296" idopL2 drivers/6et/wa696am/opL310">6ca a>terface a> == Xs="LOG+code=inte> =_DXs="LOGass=: } else { 6307 a> evsevice" class" class="irq_loot_devwan_device" class="irq_loo"s12.">hi_svc a> - olu<12.3 +code=card" class=,n2.">m270 a> om<12.3 +code=cardam 6268 a> break.">npvc a> = 0u<12.3 drivers/net/wan/c6cx_x25.c#6194"299" idopL299" class6"line69nam/opL289">6ca a>terface a> == Xs="STATISTIC12.3 +code=cardXs="STATISTICass=: } else { 6310 a> " class="irq_x220t_devwan_device" class="irq_x220"s12.">hi_svc a> - olu<12.3 +code=card" class=,n2.">m270 a> om<12.3 +code=cardam 6301 a> break.">npvc a> = 0u<12.3 drivers/net/wan/c7c2_x25.c#7194"292" idopL292" class7"line70nam/opL312">6ca a>terface a> == Xs="CTEDcla"CTEFIRM12.3 +code=cardXs="CTEDcla"CTEFIRMass=: } else { 6313 a> 270 a> o class="irq_ nn/c_ firmt_devwan_device" class="irq_ nn/c_ firm"s12.">hi_svc a> - olu<12.3 +code=card" class=,n2.">m270 a> om<12.3 +code=cardam 6304 a> break.">npvc a> = 0u<12.3 drivers/net/wan/c7c5_x25.c#7194"295" idopL295" class7"line70nam/opL275">6ca a>terface a> == Xs="CTEDcla"INDICATION12.3 +code=cardXs="CTEDcla"INDICATIONass=: } else { 270 a> o class="irq_ nn/ct_devwan_device" class="irq_ nn/c"s12.">hi_svc a> - olu<12.3 +code=card" class=,n2.">m270 a> om<12.3 +code=cardam 6307 a> break.">npvc a> = 0u<12.3 drivers/net/wan/c7c8_x25.c#71c#L298" idopL298" class7"line70nam/opL268">6ca a>terface a> == Xs="DISCTED12._INDICATION12.3 +code=cardXs="DISCTED12._INDICATIONass=: } else { 6289 a> ">cardopa>->" class="irq_dis nn/c+code=inte nfig" class="irq_dis nn/c"s12.">hi_svc a> - olu<12.3 +code=card" class=,n2.">m270 a> om<12.3 +code=cardam 6310 a> break.">npvc a> = 0u<12.3 drivers/net/wan/c7cx_x25.c#7188"311" idopL311" class7"line71nam/opL301">6ca a>terface a> == Xs="DISCTED12._CTEFIRM12.3 +code=cardXs="DISCTED12._CTEFIRMass=: } else { 6296 a> ">cardopa>->" class="irq_dis nn/c_ firmt_devwan_device" class="irq_dis nn/c_ firm"s12.">hi_svc a> - olu<12.3 +code=card" class=,n2.">m270 a> om<12.3 +code=cardam 6313 a> break.">npvc a> = 0u<12.3 drivers/net/wan/c7c4_x25.c#7188"314" idopL314" class7"line71nam/opL304">6ca a>terface a> == Xs="LINE_ON12.3 +code=cardXs="LINE_ONass=: } else { 6L274">62">cardopa>->" clasete=cyccode=cycx_device" clasete=cycc"s12.">hi_svc a> - olu<12.3 +code=card" class=,n">hi_svc a> - alu_CTED12.3 +code=inte> =_DISCOCTEDclaslass=1.">npvc a> = 0u<12.3 drivers/net/wan/c7c6_x25.c#7194"316" idopL316" class7"line71nam/opL316">6316 a> break.">npvc a> = 0u<12.3 drivers/net/wan/c7c7_x25.c#7188"317" idopL317" class7"line71nam/opL307">6ca a>terface a> == Xs="LINE_OFF12.3 +code=cardXs="LINE_OFFass=: } else { 6268 a> ">cardopa>->" clasete=cyccode=cycx_device" clasete=cycc"s12.">hi_svc a> - olu<12.3 +code=card" class=,n">hi_svc a> - alu_DISCTED12.3 +code=inte> =_DISCODISCTED12.3 s="s1.">npvc a> = 0u<12.3 drivers/net/wan/c7c9_x25.c#7194"319" idopL3212.3 36"7id31e71nam/opL289">6289 a> break.">npvc a> = 0u<12.3 drivers/net/wan/c7n/cy3x_x27.c#L220" idopL220" 3lass73line72nam/opL310">6default: } else { 6301 a> " class="irq_xpurioux_x25_dump_stats" class="irq_xpurioux"s12.">hi_svc a> - olu<12.3 +code=card" class=,n2.">m270 a> om<12.3 +code=cardam 6232 a> break.">npvc a> = 0u<12.3 drivers/net/wan/c7n3_x25.c#7.c#L223" idopL223" 3lass732ine72nam/opL303">6291 a> }<12.3 drivers/net/wan/c7n/cy3x_x27.c#L224" idopL224" 3lass732ine72nam/opL314">6314 a> 6252 a> as/nepokcode=cycx_device" clapokcass=52.">m270 a> olu<12.3 +code=card" class="s12.">cardopa>->hw12.3 +code=cardhws="s,n0,n2.">m270 a> z4"316" idpktlenzs="s, _">cof a> if (z4"316" idpktlenzs="s))1ields */option> 6249 a> as/nepokcode=cycx_device" clapokcass=52.">m270 a> olu<12.3 +code=card" class="s12.">cardopa>->hw12.3 +code=cardhws="s,nterface a> == Xs="RXMBOX_OFFS12.3 +code=cardXs="RXMBOX_OFFSs="s,n2.">m270 a> z4"316" idpktlenzs="s, _">cof a> if (z4"316" idpktlenzs="s))1ields */option> 6237 a> rlu<12.3 +code=card" class="s12.">cardopa>->in_isr+code=inte nfigin_isrs="s12.2.">npvc a> = 0u<12.3 drivers/net/wan/c7n/cycx_x27.c#L228" idopL228" 3lass732ine72nam/o291 a> }<12.3 drivers/net/wan/c7n9_x25.c#7.c#L229" idopL229" 3lass732ine72nam/opL239">6239 a><12.3 drivers/net/wan/c7n/cy3x_x27.c#L230" idopL230" 3lass733ine73nam/opL220">6220 a>otion c/* Transmit " clarupt handler 0 o.k.option> 6221 a>otion classsssso Relea a>socket buffer 0 o.k.option> 6222 a>otion classsssso Clear c#39;tbusyc#39; flag et the 2nd bit */option> void>ni3opa>(struct alu<12.3 irq_tx+code=inte nfig" class="irq_tx"s12._dump_devsevice" classalu<12.3 +code=cycx_device" class="s12.">cycx_device a> *alu<12.3 +code=card" class=,65_wan_ini3opa>(struct alu<12.3 +m<12.3 +code=carda class="smlass=>ycx_device a> *am<12.3 +code=cardam 6_dump_devsevice" classu<112.">net_devwan_deviceu<112.">ne12.">wan_device a> *<12.3 +code=wandevlass="s.">npvc a> = 0u<12.3 drivers/net/wan/c7cx_x2x_x27.c#L236" idopL236" 3lass73 +co73nam/opL316">6_dump_devsevice" classwan_d.">net_devwan_devicewan_d.">ne12.">wan_device a> *alu<12.3 +code=wandev" class="s12.2.">m270 a> olu<12.3 +code=card" class="s12.">cardopa>->alu<12.3 +code=wandev" class="s.">npvc a> = 0u<12.3 drivers/net/wan/c7c7_x25.c#7>u<12.3 dfaul0, sizeof(a7u<12.73nam/opL237">6237 a> u8.3 +code=wandevunam/op237 a> lc2.3 +code=pktlenlc2am/o.">npvc a> = 0u<12.3 drivers/net/wan/c7c/cycx_x27194"238" idopL238" class7"line73nam/opL308">6308 a> 6249 a> as/nepee2.3 +code=printkrs/nepee2ass=52.">m270 a> olu<12.3 +code=card" class="s12.">cardopa>->hw12.3 +code=cardhws="s,nterface a> == am<12.3 +code=cardamcardopa>->buf12.3 +code=cardbufs="s,n2.">m270 a> lc2.3 +code=pktlenlc2am/o, _">cof a> if (lc2.3 +code=pktlenlc2am/o))1ields */option> t13_t23 a>,630_u<12.3 drivers/net/wen/c7n/cycx_x27.c#L241" idopL241" class7"line74nam/opL301">6pL220">6220 a>otion c/* unbusy"nt"> andethenedev_t" c(); et the 2nd bit */option> 6an_device a> *<12.3 +code=wandevlass="s>interface a> =_Do class="g<112."_by_lc2.3 +code=pktleno class="g<112."_by_lc2"s12.">hi_svc a> - alu<12.3 +code=wandev" class="s,nterface a> == lc2.3 +code=pktlenlc2am/o)1ields */option> 6312 a> if (<12.3 +code=wandevlass="s1> } else { 6304 a> 270 a> olu<12.3 +code=card" class="s12.">cardopa>->buff_" c_m>_unbusy12.3 +code=cardbuff_" c_m>_unbusys="s12.">lo_pvc a> + 1u<12.3 drivers/net/wan/c7n/cy3x_x27.c#L245" idopL245" class7"line74nam/opL275">6L274">62evsevice" classu<1if_wake_queuet_devwan_deviceu<1if_wake_queue"s12.">hi_svc a> - <12.3 +code=wandevlass="s).">npvc a> = 0u<12.3 drivers/net/wan/c7nx_x2x_x27194"246" idopL246" class7"line74nam/opL316">6}65 a">npvc a> = 0u<12.3 drivers/net/wan/c7n7_x25.c#7194"247" idopL247" class7"line74nam/opL307">6307 a> ">hi_svc a> - >/o<12.3 +code=printk" class="s12.">printkevicealu<1ERR.3 +code=printkalu<1ERRam/op2KERN_INFO a> ation class="stringackvc forepL2xistion lc2d"strid3.26 ID %u!\n"option>, 6268 a> pppppppp6304 a> 270 a> olu<12.3 +code=card" class="s12.">cardopa>->las" cl3 +code=devnam/" c" cls="s,nterface a> == lc2.3 +code=pktlenlc2am/o)1ields */option> }<12.3 drivers/net/wan/c7cx_x25.c#7188"250" idopL250" class7"line75.">t13_t23 a>,630_u<12.3 drivers/net/wen/c7cx_x25.c#7188"251" idopL251" class7"line75nam/opL221">6221 a>otion clasRece0_u " clarupt handler 0 o.k.option> 6222 a>otion class="comment"> handles fragtioned IP1packets ustio"M-bit accordtio"to the 0 o.k.option> 6223 a>otion cla&RFC1356 0 o.k.option> 6244 a>otion claso map logical channelsnumbla tosn<1worke" class=l 0 o.k.option> 6220 a>otion claso allocmteosocket buffer oreappenderece0_udopacket tosthe 2xisttio"onl 0 o.k.option> otion clasos312M-bit "comeset (i.e.sitc#39;s the topacket i a sequence)ethen 0 o.k.option> 6244 a>otion cla >6decapsulmteopacket andepass socket buffer tosthe p * InitTne"ck 0 o.k.option> 6244 a>otion cla 0 o.k.option> 6221 a>otion cladNotes: 0 o.k.option> 6220 a>otion clas1. Wheneallocmttio"a socket buffer,s312M-bit "coset thenemore "att "c 0 o.k.option> 6221 a>otion classssa>otio"andew> ha_u to allocmteobuffer forethe maximum IP1packet _">c 0 o.k.option> 6222 a>otion classssexpecned oneth* Thhannel 0 o.k.option> 6223 a>otion cla&2. If someth*io"goes wroio"andeX.25spacket has to be "roppe< (e.g. no 0 o.k.option> 6244 a>otion clas">6_ocket buffers availab r)ethe wholeopacket sequence mustsbesdis cled et the 2nd bit */option> void>ni3opa>(struct alu<12.3 irq_rx+code=inte nfig" class="irq_rx"s12._dump_devsevice" classalu<12.3 +code=cycx_device" class="s12.">cycx_device a> *alu<12.3 +code=card" class=,65_wan_ini3opa>(struct alu<12.3 +m<12.3 +code=carda class="smlass=>ycx_device a> *am<12.3 +code=cardam 6_dump_devsevice" classwan_d.">net_devwan_devicewan_d.">ne12.">wan_device a> *alu<12.3 +code=wandev" class="s12.2.">m270 a> olu<12.3 +code=card" class="s12.">cardopa>->alu<12.3 +code=wandev" class="s.">npvc a> = 0u<12.3 drivers/net/wan/c7cx_x25.c#7194"268" idopL268" class7"line768am/opL307">6_dump_devsevice" classu<112.">net_devwan_deviceu<112.">ne12.">wan_device a> *<12.3 +code=wandevlass="s.">npvc a> = 0u<12.3 drivers/net/wan/c7cx_x25.c#7194"269" idopL269" class7"line76nam/opL289">65_wan_ini3opa>(struct alu<12.3 +hannel+code=inte nfig" class="shannel2.">cycx_device a> *ahan+code=inte nfig"hans="s.">npvc a> = 0u<12.3 drivers/net/wan/c7cx_x25.c#7194"270" idopL270" class7"line77nam/opL270">65_wan_ini3opa>(struct sk_buff+code=inte nfigsk_buff2.">cycx_device a> *skb+code=inte->npvc a> = 0u<12.3 drivers/net/wan/c7cx_x25.c#7188"271" idopL271" class7"line77nam/opL301">6p37 a> u8.3 +code=wandevunam/op237 a> bitmt_devwan_devicebitms="s,nterface a> == lc2.3 +code=pktlenlc2am/o.">npvc a> = 0u<12.3 drivers/net/wan/c7c/cycx_x27.c#L272" idopL272" class7"line77nam/opL312">62n_ini3opa>(struct pktle2.3 +code=pktlenpktle2s="s>interface a> =_Dom<12.3 +code=cardamcardopa>->le2.3 +code=pktlenle2s="s>- 5.">npvc a> = 0u<12.3 drivers/net/wan/c7cx_x25.c#7.c#L273" idopL273" class7"line77nam/o">npvc a> = 0u<12.3 drivers/net/wan/c7c/cycx_x27.c#L274" idopL274" class7"line77nam/opL304">6">hi_svc a> - as/nepee2.3 +code=printkrs/nepee2ass=52.">m270 a> olu<12.3 +code=card" class="s12.">cardopa>->hw12.3 +code=cardhws="s,nterface a> == am<12.3 +code=cardamcardopa>->buf12.3 +code=cardbufs="s,n2.">m270 a> lc2.3 +code=pktlenlc2am/o, _">cof a> if (lc2.3 +code=pktlenlc2am/o))1ields */option> 6252 a> as/nepee2.3 +code=printkrs/nepee2ass=52.">m270 a> olu<12.3 +code=card" class="s12.">cardopa>->hw12.3 +code=cardhws="s,nterface a> == am<12.3 +code=cardamcardopa>->buf12.3 +code=cardbufs="s + 4,n2.">m270 a> bitmt_devwan_devicebitms="s,n_">cof a> if (bitmt_devwan_devicebitms="s))1ields */option> 6249 a> bitmt_devwan_devicebitms="sn2.">m= 0x12.">npvc a> = 0u<12.3 drivers/net/wan/c7n/cycx_x27.c#L277" idopL277" class7"line77nam/opL317">6317 a> 6249 a> <12.3 +code=wandevlass="s>interface a> =_Do class="g<112."_by_lc2.3 +code=pktleno class="g<112."_by_lc2"s12.">hi_svc a> - alu<12.3 +code=wandev" class="s,nterface a> == lc2.3 +code=pktlenlc2am/o)1ields */option> 6312 ! a> if (<12.3 +code=wandevlass="s1> } else { 6310 a> L244">6244 a>otion class=valid>shannel,sdis clopacket et the 2nd bit */option> 6301 a> >/o<12.3 +code=printk" class="s12.">printkevicealu<1INFO.3 +code=printkalu<1INFOam/o2>KERN_INFO a> ation class="string"rece0_tio"on orphane< LCNd"strida3.26 ID %u!\n"option>, 6232 a> 6301 a> olu<12.3 +code=card" class="s12.">cardopa>->las" cl3 +code=devnam/" c" cls="s,nterface a> == lc2.3 +code=pktlenlc2am/o)1ields */option> 6313 a> 1ields */option> 6}ields */option> 6305 a><12.3 drivers/net/wan/c7c/cycx_x27188"286" idopL286" class7"line78nam/opL286">6249 a> ahan+code=inte nfig"hans="s12.">pktlen a> = deu3 +code=devnam/" cs="s"s12.">cardopa>->>/on.3 +code=printk" cvass=.">npvc a> = 0u<12.3 drivers/net/wan/c7c/cycx_x27194"287" idopL287" class7"line78nam/opL237">6237 a> resetatimcx_x25_chan_timerresetatimcx"s12.">hi_svc a> - <12.3 +code=wandevlass="s).">npvc a> = 0u<12.3 drivers/net/wan/c7n/cycx_x27.c#L288" idopL288" class7"line78nam/opL308">6308 a> 6312 249 a> ahan+code=inte nfig"hans="s"s12.">cardopa>->lrop_sequence.3 +code=wandevlrop_sequences="s1> } else { 6310 a> 312 ! a> if (bitmt_devwan_devicebitms="s) } else { 6301 a> pL286">6249 a> ahan+code=inte nfig"hans="s"s12.">cardopa>->lrop_sequence.3 +code=wandevlrop_sequences="s12.2.">npvc a> = 0u<12.3 drivers/net/wan/c7c/cycx_x27194"292" idopL292" class7"line79nam/opL232">6232 a> 5 a">npvc a> = 0u<12.3 drivers/net/wan/c7c/cycx_x27.c#L293" idopL293" class7"line79nam/opL313">6313 a> 1ields */option> 6}ields */option> 6305 a><12.3 drivers/net/wan/c7c/cycx_x27194"296" idopL2 drivers/7et/wa796am/opL310">6312 .">hi_svc a> - skb+code=inte->interface a> =_Dohan+code=inte nfig"hans="s"s12.">cardopa>->rx_skb+code=inte->=interface a> =_DNULL_x25_dump_statsNULLass=1> } else { 6307 a> eL244">6244 a>otion clasAllocmteonew socket buffer et the 2nd bit */option> 6268 a> 2n_ini3opa>(struct buf_">c12.3 +code=cardbuf_">c "s>interface a> =_Dbitmt_devwan_devicebitms="sn?.">pktlen a> = deu3 +code=devnam/" cs="s"s12.">cardopa>->mtu3 +code=devnam/mtus="sn: cx_device a> *pktle2.3 +code=pktlenpktle2s="s1ields */option> 6239 a><12.3 drivers/net/wan/c8cx_x25.c#8194"300" idopL300" class8"line80nam/opL310">6310 a> 312 .">hi_svc a> - skb+code=inte->interface a> =_D2."_alloc_skb+code=inte-><<12_alloc_skb"s12. 249 a> ahan+code=inte nfig"hans="s"s12.">cardopa>->p * Init.3 +code=printk" * Inits="s>iinterface a> =_DETH_P_X25.3 +code=printkETH_P_X25s="sn?.1n: 0) +pL239">6239 a><12.3 drivers/net/wan/c8c1_x25.c#8188"291" idopL291" class8"line80nam/opL301">6301 a> ni3opa>(struct buf_">c12.3 +code=cardbuf_">c "s>+pL239">6239 a><12.3 drivers/net/wan/c8c2_x25.c#8194"292" idopL292" class8"line80nam/opL232">6232 a> 6301 a> ni3opa>(struct deu3 +code=devnam/" cs="s"s12.">cardopa>->h cl_header_le2.3 +code=pktlenh cl_header_le2s="s))>=interface a> =_DNULL_x25_dump_statsNULLass=1> } else { 6313 a> ni3opa>(struct >/o<12.3 +code=printk" class="s12.">printkevicealu<1INFO.3 +code=printkalu<1INFOam/o2>KERN_INFO a> ation class="string"no6_ocket buffers availab ra3.26 ID %u!\n"option>, 6304 a> 6301 a> ni3opa>(struct olu<12.3 +code=card" class="s12.">cardopa>->las" cl3 +code=devnam/" c" cls="s).">npvc a> = 0u<12.3 drivers/net/wan/c8c5_x25.c#8194"295" idopL295" class8"line80nam/opL275">6L274">62 ni3opa>(struct ohan+code=inte nfig"hans="s"s12.">cardopa>->lrop_sequence.3 +code=wandevlrop_sequences="s12.">lo_pvc a> + 1u<12.3 drivers/net/wan/c8c6_x25.c#8194"296" idopL2 drivers/8et/wa80cycx_x226296 296 a> ++270 a> ohan+code=inte nfig"hans="s"s12.">conf a>->if=cycx_x25_dump_statsif=cycxs="s12.">wandev->rlasroppe<12.3 +code=cardrlasroppenpvc a> = 0u<12.3 drivers/net/wan/c8c7_x25.c#8194"297" idopL297" class8"line80nam/opL307">6307 a> 1ields */option> 6268 a> }ields */option> 6239 a><12.3 drivers/net/wan/c8cx_x25.c#8194"310" idopL310" class8"line81nam/opL310">6310 a> 312 249 a> ahan+code=inte nfig"hans="s"s12.">cardopa>->p * Init.3 +code=printk" * Inits="s>iinterface a> =_DETH_P_X25.3 +code=printkETH_P_X25s="s) eL244">6244 a>otion clasX.25s_ocket layer contritTet the 2nd bit */option> 6301 a> pL286">62L244">6244 a>otion clas012."att packet (<12_alloc_skb zeroed skb"s12."att)Tet the 2nd bit */option> 6296 a> ni3opa>(struct skb_puc+code=inte nfigskb_pucs="s12.">printkeviceskb+code=inte-> npvc a> = 0u<12.3 drivers/net/wan/c8c4_x25.c#8188"314" idopL314" class8"line81nam/opL304">6304 a> 270 a> skb+code=inte->cardopa>->d12.3 +code=wandevlass="s>interface a> =_D<12.3 +code=wandevlass="s.">npvc a> = 0u<12.3 drivers/net/wan/c8c5_x25.c#8.c#L315" idopL315" class8"line81nam/opL275">6L274">62">cardopa>->skb+code=inte->cardopa>->p * Init.3 +code=printk" * Inits="s>i2">cardopa>->htonx_x25_dump_statshtonxs="s12.">printkeviceahan+code=inte nfig"hans="s"s12.">cardopa>->p * Init.3 +code=printk" * Inits="s)1ields */option> 6316 a> terface a> =_Dohan+code=inte nfig"hans="s"s12.">cardopa>->rx_skb+code=inte->i2">cardopa>->skb+code=inte->npvc a> = 0u<12.3 drivers/net/wan/c8c7_x25.c#8188"317" idopL317" class8"line81nam/opL307">6}ields */option> 6308 a> 6312 249 a> skb_tailroomt_devwan_deviceskb_tailrooms="s12.">printkeviceskb+code=inte-> *pktle2.3 +code=pktlenpktle2s="s1> } else { 6310 a> L244">6244 a>otion clasNo room forethe packet. Call offethe wholeoth*io!Tet the 2nd bit */option> 6301 a> <12_kfrel_skb"irq+code=inte-><<12_kfrel_skb"irqs="s12.">printkeviceskb+code=inte->npvc a> = 0u<12.3 drivers/net/wan/c8n/cy3x_x28.c#L222" idopL222" 3lass832ine82nam/opL232">6232 a> terface a> =_Dohan+code=inte nfig"hans="s"s12.">cardopa>->rx_skb+code=inte->i2">cardopa>->NULL_x25_dump_statsNULLass=.">npvc a> = 0u<12.3 drivers/net/wan/c8n3_x25.c#8.c#L223" idopL223" 3lass832ine82nam/o">npvc a> = 0u<12.3 drivers/net/wan/c8n/cy3x_x28.c#L224" idopL224" 3lass832ine82nam/opL304">6304 a> 312 249 a> bitmt_devwan_devicebitms="s) } else { 6L274">62 ni3opa>(struct ohan+code=inte nfig"hans="s"s12.">cardopa>->lrop_sequence.3 +code=wandevlrop_sequences="s12.">lo_pvc a> + 1u<12.3 drivers/net/wan/c8n6_x25.c#8.c#L226" idopL226" 3lass83line82nam/olo_pvc a> + 1u<12.3 drivers/net/wan/c8n7_x25.c#8194"227" idopL227" 3lass832ine82nam/opL307">6307 a> ">hi_svc a> - >/o<12.3 +code=printk" class="s12.">printkevicealu<1INFO.3 +code=printkalu<1INFOam/o2>KERN_INFO a> ation class="string"unexpecnedly loio"packet sequence 26 ID %u!lo_pvc a> + 1u<12.3 drivers/net/wan/c8n8_x25.c#8.c#L228" idopL228" 3lass832ine82nam/opL268">6268 a> pppppppp KERN_INFO a> ation class=on&" class=l4"strina3.26 ID %u!\ olu<12.3 +code=card" class="s12.">cardopa>->las" cl3 +code=devnam/" c" cls="s,nterface a> == deu3 +code=devnam/" cs="s"s12.">cardopa>->" cl3 +code=devnam/" cls="s).">npvc a> = 0u<12.3 drivers/net/wan/c8n9_x25.c#8.c#L229" idopL229" 3lass832ine82nam/opL289">6289 a> ++270 a> ohan+code=inte nfig"hans="s"s12.">conf a>->if=cycx_x25_dump_statsif=cycxs="s12.">wandev->rlale2gth_errorx_x25_dump_statsrlale2gth_errorxass=.">npvc a> = 0u<12.3 drivers/net/wan/c8n/cy3x_x28.c#L230" idopL230" 3lass833ine83nam/opL310">6310 a> 1ields */option> 6291 a> }<12.3 drivers/net/wan/c8n/cy35.c#8194"232" idopL232" 3lass833ine83nam/opL302">6302 a> 62L244">6244 a>otion clasAppendepacket tosthe socket buffer Tet the 2nd bit */option> 6">hi_svc a> - as/nepee2.3 +code=printkrs/nepee2ass=52.">m270 a> olu<12.3 +code=card" class="s12.">cardopa>->hw12.3 +code=cardhws="s,nterface a> == am<12.3 +code=cardamcardopa>->buf12.3 +code=cardbufs="s + 5,nterface a> == skb_puc+code=inte nfigskb_pucs="s12.">printkeviceskb+code=inte-> *pktle2.3 +code=pktlenpktle2s="s1, cx_device a> *pktle2.3 +code=pktlenpktle2s="s11ields */option> 6305 a><12.3 drivers/net/wan/c8cx_x2x_x28.c#L236" idopL236" 3lass83 +co836am/opL310">6312 249 a> bitmt_devwan_devicebitms="s) } else { u<12.3 dfaul0, sizeof(a8u<12.83nam/opL307">6307 a> 162L244">6244 a>otion clasmore "att "csa>otio"et the 2nd bit */option> 6308 a> 6249 a> ahan+code=inte nfig"hans="s"s12.">cardopa>->rx_skb+code=inte->i2">cardopa>->NULL_x25_dump_statsNULLass=. a> pppppppp KERN_INFO aa>otion clasdequeueopacket et the 2nd bit */option> t13_t23 a>,630_u<12.3 drivers/net/wen/c8n/cycx_x28.c#L241" idopL241" class8"line84nam/opL301">6++270 a> ohan+code=inte nfig"hans="s"s12.">conf a>->if=cycx_x25_dump_statsif=cycxs="s12.">wandev->rlapackets+code=inte->npvc a> = 0u<12.3 drivers/net/wan/c8n/cy35.c#8.c#L242" idopL242" class8"line84nam/opL232">6an_device a> *ohan+code=inte nfig"hans="s"s12.">conf a>->if=cycx_x25_dump_statsif=cycxs="s12.">wandev->rlabytes+code=inte->cardopa>->pktle2.3 +code=pktlenpktle2s="s1ields */option> npvc a> = 0u<12.3 drivers/net/wan/c8n/cycx_x28.c#L244" idopL244" class8"line84nam/opL304">6">hi_svc a> - skb_resetamac_header+code=inte nfigskb_resetamac_headers="s12.">printkeviceskb+code=inte->npvc a> = 0u<12.3 drivers/net/wan/c8n/cy3x_x28.c#L245" idopL245" class8"line84nam/opL275">6252 a> u<1if_rx+code=inte nfigu<1if_rxs="s12.">printkeviceskb+code=inte->npvc a> = 0u<12.3 drivers/net/wan/c8nx_x2x_x28194"246" idopL246" class8"line84nam/opL286">6249 a> deu3 +code=devnam/" cs="s"s12.">cardopa>->codt_rx+code=inte nfigcodt_rxs="s>i2">cardopa>->jiffies+code=inte-> ppppp KERN_INFO aa>otion clastimc=cymp et the 2nd bit */option> }<12.3 drivers/net/wan/c8nx_x25.c#8194"248" idopL248" class8"line84nam/opL308">6308 a> 6221 a>otion clasC nn/c " clarupt handler et the 2nd bit */option> t1x2206">void>ni3opa>(struct alu<12.3 irq_ nn/ct_devwan_device" class="irq_ nn/c"s12._dump_devsevice" classalu<12.3 +code=cycx_device" class="s12.">cycx_device a> *alu<12.3 +code=card" class=,d bit */option> 6301 a> 5_wan_ini3opa>(struct alu<12.3 +m<12.3 +code=carda class="smlass=>ycx_device a> *am<12.3 +code=cardam 6_dump_devsevice" classwan_d.">net_devwan_devicewan_d.">ne12.">wan_device a> *alu<12.3 +code=wandev" class="s12.2.">m270 a> olu<12.3 +code=card" class="s12.">cardopa>->alu<12.3 +code=wandev" class="s.">npvc a> = 0u<12.3 drivers/net/wan/c8c/cycx_x28194"254" idopL254" class8"line854am/opL252">6_dump_devsevice" classu<112.">net_devwan_deviceu<112.">ne12.">wan_device a> *<12.3 +code=wandevlass="s>i2">cardopa>->NULL_x25_dump_statsNULLass=.">npvc a> = 0u<12.3 drivers/net/wan/c8n/cycx_x28.c#L255" idopL255" class8"line85nam/opL275">6_dump_devsevice" classalu<12.3 +hannel+code=inte nfig" class="shannel2.">cycx_device a> *ahan+code=inte nfig"hans="s.">npvc a> = 0u<12.3 drivers/net/wan/c8nx_x2x_x28.c#L256" idopL256" class8"line85nam/opL286">6249 a> u8.3 +code=wandevunam/op237 a> <12.3 +code=cardlass=[32],d bit */option> 6307">cardopa>->coc+code=inte nfigcocass=[24],d bit */option> 62682.">wandev->remt_devwan_deviceremass=[24].">npvc a> = 0u<12.3 drivers/net/wan/c8n9_x25.c#8.c#L259" idopL259" class8"line85nam/opL289">6249 a> u8.3 +code=wandevunam/op237 a> lc2.3 +code=pktlenlc2am/o,nterface a> == sizecoc+code=inte nfigsizecocam/o,nterface a> == sizeremt_devwan_devicesizerems="s.">npvc a> = 0u<12.3 drivers/net/wan/c8cx_x25.c#8194"260" idopL260" class8"line86.">t13_t23 a>,630_u<12.3 drivers/net/wen/c8cx_x25.c#8.c#L261" idopL261" class8"line86nam/opL301">6p37 a> as/nepee2.3 +code=printkrs/nepee2ass=52.">m270 a> olu<12.3 +code=card" class="s12.">cardopa>->hw12.3 +code=cardhws="s,nterface a> == am<12.3 +code=cardamcardopa>->buf12.3 +code=cardbufs="s,n2.">m270 a> lc2.3 +code=pktlenlc2am/o, _">cof a> if (lc2.3 +code=pktlenlc2am/o))1ields */option> 6an_device a> *os/nepee2.3 +code=printkrs/nepee2ass=52.">m270 a> olu<12.3 +code=card" class="s12.">cardopa>->hw12.3 +code=cardhws="s,nterface a> == am<12.3 +code=cardamcardopa>->buf12.3 +code=cardbufs="s + 5,n2.">m270 a> sizecoc+code=inte nfigsizecocam/o,n_">cof a> if (sizecoc+code=inte nfigsizecocam/o))1ields */option> 6an_device a> *os/nepee2.3 +code=printkrs/nepee2ass=52.">m270 a> olu<12.3 +code=card" class="s12.">cardopa>->hw12.3 +code=cardhws="s,nterface a> == am<12.3 +code=cardamcardopa>->buf12.3 +code=cardbufs="s + 6,nterface a> == d12.3 +code=cardlass=,nterface a> == am<12.3 +code=cardamcardopa>->le2.3 +code=pktlenle2s="s>- 6)1ields */option> 6314 a> 6252 a> sizeremt_devwan_devicesizerems="s>i2">cardopa>->sizecoc+code=inte nfigsizecocam/o s12.s12. 41ields */option> 6249 a> sizecoc+code=inte nfigsizecocam/o s.">m= 0x0F1ields */option> 6317 a> 6249 a> coc+code=inte nfigcocass=[0]>i2">cardopa>->remt_devwan_deviceremass=[0]>i2"KERN_INFO a> ation c#39;\0c#39; the 2n1ields */option> 6239 a><12.3 drivers/net/wan/c8cx_x25.c#8194"270" idopL270" class8"line87nam/opL270">6312 249 a> sizecoc+code=inte nfigsizecocam/o)pL239">6239 a><12.3 drivers/net/wan/c8cx_x25.c#8188"271" idopL271" class8"line87nam/opL301">6301 a> nibble_to_bytet_devwan_deviceuibble_to_bytes="s12.">printkeviced12.3 +code=cardlass=,nterface a> == coc+code=inte nfigcocass=,nterface a> == sizecoc+code=inte nfigsizecocam/o,n0)1ields */option> 6302 a> 6312 a> if (sizeremt_devwan_devicesizerems="s)pL239">6239 a><12.3 drivers/net/wan/c8c/cycx_x28.c#L274" idopL274" class8"line87nam/opL304">6304 a> 270 a> nibble_to_bytet_devwan_deviceuibble_to_bytes="s12.">printkeviced12.3 +code=cardlass= + 249 a> sizecoc+code=inte nfigsizecocam/o s12.s12. 11, cx_device a> *remt_devwan_deviceremass=,nterface a> == sizeremt_devwan_devicesizerems="s,nterface a> == sizecoc+code=inte nfigsizecocam/o s.">m 1)1ields */option> 6305 a><12.3 drivers/net/wan/c8n/cycx_x28.c#L276" idopL276" class8"line87nam/opL286">6249 a> d>/o<12.3 +code=printkd" class="s11,nterface a> == alu<1INFO.3 +code=printkalu<1INFOam/o2>KERN_INFO a> ation class="stringlc2="strid, locml="stris, remote="stris3.26 ID %u!\n"option>, 6307 a> >6249 a> __func__.3 +code=printk__func__ass=,nterface a> == cc2.3 +code=pktlenlc2am/o,nterface a> == coc+code=inte nfigcocass=,nterface a> == remt_devwan_deviceremass=)1ields */option> 6308 a> 6249 a> <12.3 +code=wandevlass="s>interface a> =_Do class="g<112."_by_dte_addr+code=inte nfigo class="g<112."_by_dte_addrs="s12.">printkevicealu<12.3 +code=wandev" class="s,nterface a> == remt_devwan_deviceremass=)1ields */option> 6312 ! a> if (<12.3 +code=wandevlass="s1> } else { 6301 a> L244">6244 a>otion class=valid>shannel,sdis clopacket et the 2nd bit */option> 6232 a> ">cardopa>->p/o<12.3 +code=printk" class="s12.">printkevicealu<1INFO.3 +code=printkalu<1INFOam/o2>KERN_INFO a> ation class="string" nn/c notsexpecned: remote4"strina3.26 ID %u!\d bit */option> 6313 a> 07 a> >6249 a> olu<12.3 +code=card" class="s12.">cardopa>->las" cl3 +code=devnam/" c" cls="s,nterface a> == remt_devwan_deviceremass=)1ields */option> 6304 a> 1ields */option> 6291 a> }<12.3 drivers/net/wan/c8c/cycx_x28188"286" idopL286" class8"line88nam/olo_pvc a> + 1u<12.3 drivers/net/wan/c8c/cycx_x28194"287" idopL287" class8"line88nam/opL237">6237 a> ahan+code=inte nfig"hans="s12.">pktlen a> = deu3 +code=devnam/" cs="s"s12.">cardopa>->>/on.3 +code=printk" cvass=.">npvc a> = 0u<12.3 drivers/net/wan/c8n/cycx_x28.c#L288" idopL288" class8"line888am/opL286">6249 a> ohan+code=inte nfig"hans="s"s12.">conf a>->cc2.3 +code=pktlenlc2am/o12.">pktlen a> = lc2.3 +code=pktlenlc2am/o.">npvc a> = 0u<12.3 drivers/net/wan/c8nx_x25.c#8.c#L289" idopL289" class8"line88nam/opL289">6249 a> as/ness="s nn/c_responscode=cycx_device" class="s nn/c_responscs="s12.">printkevicealu<12.3 +code=card" class=,6249 a> ohan+code=inte nfig"hans="s)1ields */option> 6249 a> as/ness="seta"han_x220code=cycx_device" class="seta"han_x220cs="s12.">printkevicedeu3 +code=devnam/" cs="s,6249 a> WAN_CONNECTED3 +code=devnam/WAN_CONNECTEDs="s)1ields */option> }<12.3 drivers/net/wan/c8c/cycx_x28194"292" idopL292" class8"line89nam/opL302">6302 a> 6223 a>otion clasC nn/c s firm " clarupt handler et the 2nd bit */option> void>ni3opa>(struct alu<12.3 irq_ nn/c_s firmode=cycx_device" class="irq_ nn/c_s firms="s1_dump_devsevice" classalu<12.3 +code=cycx_device" class="s12.">cycx_device a> *alu<12.3 +code=card" class=,d bit */option> 6L274">62 5_wan_ini3opa>(struct alu<12.3 +m<12.3 +code=carda class="smlass=>ycx_device a> *am<12.3 +code=cardam 6_dump_devsevice" classwan_d.">net_devwan_devicewan_d.">ne12.">wan_device a> *alu<12.3 +code=wandev" class="s12.2.">m270 a> olu<12.3 +code=card" class="s12.">cardopa>->alu<12.3 +code=wandev" class="s.">npvc a> = 0u<12.3 drivers/net/wet/w8c/cycx_x28.c#L298" idopL298" class8"line898am/opL307">6_dump_devsevice" classu<112.">net_devwan_deviceu<112.">ne12.">wan_device a> *<12.3 +code=wandevlass="s.">npvc a> = 0u<12.3 drivers/net/wan/c8cx_x25.c#8194"299" idopL299" class8"line89nam/opL289">65_wan_ini3opa>(struct alu<12.3 +hannel+code=inte nfig" class="shannel2.">cycx_device a> *ahan+code=inte nfig"hans="s.">npvc a> = 0u<12.3 drivers/net/wan/c9cx_x25.c#9194"300" idopL300" class9"line90nam/opL310">6249 a> u8.3 +code=wandevunam/op237 a> lc2.3 +code=pktlenlc2am/o,nterface a> == key12.3 +code=cardkeys="s.">npvc a> = 0u<12.3 drivers/net/wan/c9c1_x25.c#9188"291" idopL291" class9"line90nam/o">npvc a> = 0u<12.3 drivers/net/wan/c9c2_x25.c#9194"292" idopL292" class9"line90nam/opL232">6an_device a> *os/nepee2.3 +code=printkrs/nepee2ass=52.">m270 a> olu<12.3 +code=card" class="s12.">cardopa>->hw12.3 +code=cardhws="s,nterface a> == am<12.3 +code=cardamcardopa>->buf12.3 +code=cardbufs="s,n2.">m270 a> lc2.3 +code=pktlenlc2am/o, _">cof a> if (lc2.3 +code=pktlenlc2am/o))1ields */option> 6an_device a> *os/nepee2.3 +code=printkrs/nepee2ass=52.">m270 a> olu<12.3 +code=card" class="s12.">cardopa>->hw12.3 +code=cardhws="s,nterface a> == am<12.3 +code=cardamcardopa>->buf12.3 +code=cardbufs="s + 1,n2.">m270 a> key12.3 +code=cardkeys="s, _">cof a> if (key12.3 +code=cardkeys="s))1ields */option> 6249 a> d>/o<12.3 +code=printkd" class="s11,nterface a> == alu<1INFO.3 +code=printkalu<1INFOam/o2>KERN_INFO a> ation class="string "stringlc2="strid, key="strid3.26 ID %u!\n"option>, 6L274">62 >6249 a> olu<12.3 +code=card" class="s12.">cardopa>->las" cl3 +code=devnam/" c" cls="s,nterface a> == __func__.3 +code=printk__func__ass=,nterface a> == cc2.3 +code=pktlenlc2am/o,nterface a> == key12.3 +code=cardkeys="s)1ields */option> + 1u<12.3 drivers/net/wan/c9c7_x25.c#9194"297" idopL297" class9"line90nam/opL237">6237 a> <12.3 +code=wandevlass="s>interface a> =_Do class="g<112."_by_lc2.3 +code=pktleno class="g<112."_by_lc2"s12.">hi_svc a> - alu<12.3 +code=wandev" class="s,n-terface a> == key12.3 +code=cardkeys="s)1ields */option> 6312 ! a> if (<12.3 +code=wandevlass="s1> } else { 6289 a> L244">6244 a>otion class=valid>shannel,sdis clopacket et the 2nd bit */option> 6310 a> terface a> =_Dolear_bict_devwan_device"lear_bic"s12.--terface a> == key12.3 +code=cardkeys="s, (void*)2.">m270 a> olu<12.3 +code=card" class="s12.">cardopa>->u.3 +code=wandevuass=12.">wandev->x+code=inte nfigxass=12.">wandev-> nn/cion_keys+code=inte->< nn/cion_keyss="s)1ields */option> 6301 a> ">cardopa>->p/o<12.3 +code=printk" class="s12.">printkevicealu<1INFO.3 +code=printkalu<1INFOam/o2>KERN_INFO a> ation class="string" nn/c s firm notsexpecned: lc2 "strid, 26 ID %u!lo_pvc a> + 1u<12.3 drivers/net/wan/c9c2_x25.c#9.c#L312" idopL312" class9"line91nam/opL312">6296 a> 6289 a> L244">6244 > ation class=key="strida3.26 ID %u!\ olu<12.3 +code=card" class="s12.">cardopa>->las" cl3 +code=devnam/" c" cls="s,nterface a> == cc2.3 +code=pktlenlc2am/o,nterface a> == key12.3 +code=cardkeys="s)1ields */option> 6313 a> 1ields */option> 6291 a> }<12.3 drivers/net/wan/c9c5_x25.c#9.c#L315" idopL315" class9"line91nam/opL305">6305 a><12.3 drivers/net/wan/c9c6_x25.c#9194"316" idopL316" class9"line91nam/opL286">6249 a> olear_bict_devwan_device"lear_bic"s12.--terface a> == key12.3 +code=cardkeys="s, (void*)2.">m270 a> olu<12.3 +code=card" class="s12.">cardopa>->u.3 +code=wandevuass=12.">wandev->x+code=inte nfigxass=12.">wandev-> nn/cion_keys+code=inte->< nn/cion_keyss="s)1ields */option> 6237 a> ahan+code=inte nfig"hans="s12.">pktlen a> = deu3 +code=devnam/" cs="s"s12.">cardopa>->>/on.3 +code=printk" cvass=.">npvc a> = 0u<12.3 drivers/net/wan/c9c8_x25.c#9.c#L318" idopL318" class9"line918am/opL286">6249 a> ohan+code=inte nfig"hans="s"s12.">conf a>->cc2.3 +code=pktlenlc2am/o12.">pktlen a> = lc2.3 +code=pktlenlc2am/o.">npvc a> = 0u<12.3 drivers/net/wan/c9c9_x25.c#9194"319" idopL3212.3 36"9id31e91nam/opL289">6249 a> as/ness="seta"han_x220code=cycx_device" class="seta"han_x220cs="s12.">printkevicedeu3 +code=devnam/" cs="s,6249 a> WAN_CONNECTED3 +code=devnam/WAN_CONNECTEDs="s)1ields */option> }<12.3 drivers/net/wan/c9cx_x2x_x29.c#L221" idopL221" 3lass932ine92nam/o">npvc a> = 0u<12.3 drivers/net/wan/c9n/cy3x_x29.c#L222" idopL222" 3lass932ine92nam/o L244">6244 a>otion clasDis nn/c s firm " clarupt handler et the 2nd bit */option> void>ni3opa>(struct alu<12.3 irq_dis nn/c_s firmode=cycx_device" class="irq_dis nn/c_s firms="s1_dump_devsevice" classalu<12.3 +code=cycx_device" class="s12.">cycx_device a> *alu<12.3 +code=card" class=,d bit */option> 6304 a> 5_wan_ini3opa>(struct alu<12.3 +m<12.3 +code=carda class="smlass=>ycx_device a> *am<12.3 +code=cardam 6_dump_devsevice" classwan_d.">net_devwan_devicewan_d.">ne12.">wan_device a> *alu<12.3 +code=wandev" class="s12.2.">m270 a> olu<12.3 +code=card" class="s12.">cardopa>->alu<12.3 +code=wandev" class="s.">npvc a> = 0u<12.3 drivers/net/wet/w9n7_x25.c#9194"227" idopL227" 3lass932ine92nam/opL307">6_dump_devsevice" classu<112.">net_devwan_deviceu<112.">ne12.">wan_device a> *<12.3 +code=wandevlass="s.">npvc a> = 0u<12.3 drivers/net/wan/c9n8_x25.c#9.c#L228" idopL228" 3lass932ine928am/opL286">6249 a> u8.3 +code=wandevunam/op237 a> lc2.3 +code=pktlenlc2am/o.">npvc a> = 0u<12.3 drivers/net/wan/c9n9_x25.c#9.c#L229" idopL229" 3lass932ine92nam/opL239">6239 a><12.3 drivers/net/wan/c9n/cy3x_x29.c#L230" idopL230" 3lass933ine93nam/opL310">6249 a> as/nepee2.3 +code=printkrs/nepee2ass=52.">m270 a> olu<12.3 +code=card" class="s12.">cardopa>->hw12.3 +code=cardhws="s,nterface a> == am<12.3 +code=cardamcardopa>->buf12.3 +code=cardbufs="s,n2.">m270 a> lc2.3 +code=pktlenlc2am/o, _">cof a> if (lc2.3 +code=pktlenlc2am/o))1ields */option> 6p37 a> d>/o<12.3 +code=printkd" class="s11,nterface a> == alu<1INFO.3 +code=printkalu<1INFOam/o2>KERN_INFO a> ation class="string "stringlc2="strid3.26 ID %u!\n"option>, 6296 a> 62249 a> olu<12.3 +code=card" class="s12.">cardopa>->las" cl3 +code=devnam/" c" cls="s,nterface a> == __func__.3 +code=printk__func__ass=,nterface a> == cc2.3 +code=pktlenlc2am/o)1ields */option> 6an_device a> *<12.3 +code=wandevlass="s>interface a> =_Do class="g<112."_by_lc2.3 +code=pktleno class="g<112."_by_lc2"s12.">hi_svc a> - alu<12.3 +code=wandev" class="s,nterface a> == cc2.3 +code=pktlenlc2am/o)1ields */option> 6312 ! a> if (<12.3 +code=wandevlass="s1> } else { 6L274">62"L244">6244 a>otion class=valid>shannel,sdis clopacket et the 2nd bit */option> 6pL232">6an_device a> *p/o<12.3 +code=printk" class="s12.">printkevicealu<1INFO.3 +code=printkalu<1INFOam/o2>KERN_INFO a> ation class="stringdis nn/c s firm notsexpecned!:lc2 "strid3.26 ID %u!\n"option>, u<12.3 dfaul0, sizeof(a9u<12.93nam/opL307">6307 a> 96 a> 62249 a> olu<12.3 +code=card" class="s12.">cardopa>->las" cl3 +code=devnam/" c" cls="s,nterface a> == cc2.3 +code=pktlenlc2am/o)1ields */option> 6268 a> 1ields */option> 6291 a> }<12.3 drivers/net/wan/c9cx_x25.c#9194"240" idopL240" class9"line94.">t13_t23 a>,630_u<12.3 drivers/net/wen/c9n/cycx_x29.c#L241" idopL241" class9"line94nam/opL301">6p37 a> as/ness="seta"han_x220code=cycx_device" class="seta"han_x220cs="s12.">printkevicedeu3 +code=devnam/" cs="s,6249 a> WAN_DISCONNECTED3 +code=devnam/WAN_DISCONNECTEDam/o)1ields */option> }<12.3 drivers/net/wan/c9c3_x25.c#9.c#L243" idopL243" class9"line94nam/o">npvc a> = 0u<12.3 drivers/net/wan/c9n/cycx_x29.c#L244" idopL244" class9"line94nam/o KERN_INFO aa>otion clasdis nn/c " clarupt handler et the 2nd bit */option> void>ni3opa>(struct alu<12.3 irq_dis nn/code=cycx_device" class="irq_dis nn/cs="s1_dump_devsevice" classalu<12.3 +code=cycx_device" class="s12.">cycx_device a> *alu<12.3 +code=card" class=,d bit */option> 6pL232">6666666666666666666665_wan_ini3opa>(struct alu<12.3 +m<12.3 +code=carda class="smlass=>ycx_device a> *am<12.3 +code=cardam 6_dump_devsevice" classwan_d.">net_devwan_devicewan_d.">ne12.">wan_device a> *alu<12.3 +code=wandev" class="s12.2.">m270 a> olu<12.3 +code=card" class="s12.">cardopa>->alu<12.3 +code=wandev" class="s.">npvc a> = 0u<12.3 drivers/net/wet/w9c9_x25.c#9188"249" idopL249" class9"line94nam/opL289">65_wan_ini3opa>(struct u<112.">net_devwan_deviceu<112.">ne12.">wan_device a> *<12.3 +code=wandevlass="s.">npvc a> = 0u<12.3 drivers/net/wan/c9cx_x25.c#9188"250" idopL250" class9"line95nam/opL310">6249 a> u8.3 +code=wandevunam/op237 a> lc2.3 +code=pktlenlc2am/o.">npvc a> = 0u<12.3 drivers/net/wan/c9c/cycx_x29188"251" idopL251" class9"line95nam/o">npvc a> = 0u<12.3 drivers/net/wan/c9c/cycx_x29194"252" idopL252" class9"line95nam/opL232">6an_device a> *os/nepee2.3 +code=printkrs/nepee2ass=52.">m270 a> olu<12.3 +code=card" class="s12.">cardopa>->hw12.3 +code=cardhws="s,nterface a> == am<12.3 +code=cardamcardopa>->buf12.3 +code=cardbufs="s,n2.">m270 a> lc2.3 +code=pktlenlc2am/o, _">cof a> if (lc2.3 +code=pktlenlc2am/o))1ields */option> 6an_device a> *<>/o<12.3 +code=printkd" class="s11,nterface a> == alu<1INFO.3 +code=printkalu<1INFOam/o2>KERN_INFO a> ation class="stringlc2="strid3.26 ID %u!\ __func__.3 +code=printk__func__ass=,nterface a> == cc2.3 +code=pktlenlc2am/o)1ields */option> 6314 a> 6252 a> <12.3 +code=wandevlass="s>interface a> =_Do class="g<112."_by_lc2.3 +code=pktleno class="g<112."_by_lc2"s12.">hi_svc a> - alu<12.3 +code=wandev" class="s,nterface a> == cc2.3 +code=pktlenlc2am/o)1ields */option> 6312 a> if (<12.3 +code=wandevlass="s1> } else { 6307666665_wan_ini3opa>(struct alu<12.3 +hannel+code=inte nfig" class="shannel2.">cycx_device a> *ahan+code=inte nfig"hans="s12.">pktlen a> = deu3 +code=devnam/" cs="s"s12.">cardopa>->>/on.3 +code=printk" cvass=.">npvc a> = 0u<12.3 drivers/net/wan/c9cx_x25.c#9.c#L258" idopL258" class9"line95nam/opL308">6308 a> 6289 a> i3opa>(struct alu<12.3 dis nn/c_responscode=cycx_device" class="dis nn/c_responsc"s12.">hi_svc a> - alu<12.3 +code=card" class=,6249 a> ohan+code=inte nfig"hans="s"s12.">conf a>->cin2.3 +code=printkcin2s="s,nterface a> == cc2.3 +code=pktlenlc2am/o)1ields */option> 6310 a> terface a> =_Dos/ness="seta"han_x220code=cycx_device" class="seta"han_x220cs="s12.">printkevicedeu3 +code=devnam/" cs="s,6249 a> WAN_DISCONNECTED3 +code=devnam/WAN_DISCONNECTEDam/o)1ields */option> 6} elseields */option> 6232 a> terface a> =_Dolu<12.3 dis nn/c_responscode=cycx_device" class="dis nn/c_responsc"s12.">hi_svc a> - alu<12.3 +code=card" class=,60,nterface a> == cc2.3 +code=pktlenlc2am/o)1ields */option> }<12.3 drivers/net/wan/c9c/cycx_x29.c#L264" idopL264" class9"line96nam/opL314">6314 a> otion clasLOG " clarupt handler et the 2nd bit */option> void>ni3opa>(struct alu<12.3 irq_logode=cycx_device" class="irq_logs="s1_dump_devsevice" classalu<12.3 +code=cycx_device" class="s12.">cycx_device a> *alu<12.3 +code=card" class=,65_wan_ini3opa>(struct alu<12.3 +m<12.3 +code=carda class="smlass=>ycx_device a> *am<12.3 +code=cardam *CYCLOMX_X25_DEBUG12.3 +code=cardCYCLOMX_X25_DEBUGam/opL314">6314 a> 6"har2cx_device a> *bf12.3 +code=cardbfs="s[20].">npvc a> = 0u<12.3 drivers/net/wan/c9cx_x25.c#9194"270" idopL270" class9"line97nam/opL310">6249 a> u194"316" idwandevu1nam/op249 a> _">c4"316" idwandev_">cs="s,6249 a> torea<12.3 +code=cardtorea == cin2.3 +code=printkcin2s="s,nterface a> == msg_> ==.3 +code=printkmsg_> ==ass=.">npvc a> = 0u<12.3 drivers/net/wan/c9cx_x25.c#9188"271" idopL271" class9"line97nam/opL301">6p37 a> u8.3 +code=wandevunam/op237 a> > ==.3 +code=printk> ==ass=,nterface a> == routpL271 +code=printkroutpL2ass=.">npvc a> = 0u<12.3 drivers/net/wan/c9c/cycx_x29.c#L272" idopL272" class9"line97nam/opL302">6302 a> 6an_device a> *os/nepee2.3 +code=printkrs/nepee2ass=52.">m270 a> olu<12.3 +code=card" class="s12.">cardopa>->hw12.3 +code=cardhws="s,nterface a> == am<12.3 +code=cardamcardopa>->buf12.3 +code=cardbufs="s,n2.">m270 a> msg_> ==.3 +code=printkmsg_> ==ass=, _">cof a> if (msg_> ==.3 +code=printkmsg_> ==ass=))1ields */option> 6an_device a> *os/nepee2.3 +code=printkrs/nepee2ass=52.">m270 a> olu<12.3 +code=card" class="s12.">cardopa>->hw12.3 +code=cardhws="s,nterface a> == am<12.3 +code=cardamcardopa>->buf12.3 +code=cardbufs="s + 2,n2.">m270 a> lin2.3 +code=printkcin2s="s,n_">cof a> if (lin2.3 +code=printkcin2s="s))1ields */option> 6252 a> os/nepee2.3 +code=printkrs/nepee2ass=52.">m270 a> olu<12.3 +code=card" class="s12.">cardopa>->hw12.3 +code=cardhws="s,nterface a> == am<12.3 +code=cardamcardopa>->buf12.3 +code=cardbufs="s + 4,n2.">m270 a> size4"316" idwandev_">cs="s,6_">cof a> if (size4"316" idwandev_">cs="s))1ields */option> 62KERN_INFO aa>otion clasat most 20 bytes are available... thanks tosDaniela :) et the 2nd bit */option> 6237 a> torea<12.3 +code=cardtoreai2">cardopa>->size4"316" idwandev_">cs="s < 20 ?2">cardopa>->size4"316" idwandev_">cs="s : 201ields */option> 6249 a> os/nepee2.3 +code=printkrs/nepee2ass=52.">m270 a> olu<12.3 +code=card" class="s12.">cardopa>->hw12.3 +code=cardhws="s,nterface a> == am<12.3 +code=cardamcardopa>->buf12.3 +code=cardbufs="s + 10,n2.">m270 a> bf12.3 +code=cardbfs="s,6249 a> torea<12.3 +code=cardtorea 6249 a> os/nepee2.3 +code=printkrs/nepee2ass=52.">m270 a> olu<12.3 +code=card" class="s12.">cardopa>->hw12.3 +code=cardhws="s,nterface a> == am<12.3 +code=cardamcardopa>->buf12.3 +code=cardbufs="s + 10 + 249 a> torea<12.3 +code=cardtoream270 a> o ==.3 +code=printk> ==ass=,n1)1ields */option> 6249 a> as/nepee2.3 +code=printkrs/nepee2ass=52.">m270 a> olu<12.3 +code=card" class="s12.">cardopa>->hw12.3 +code=cardhws="s,nterface a> == am<12.3 +code=cardamcardopa>->buf12.3 +code=cardbufs="s + 10 + 249 a> torea<12.3 +code=cardtoream270 a> routpL271 +code=printkroutpL2ass=,n1)1ields */option> npvc a> = 0u<12.3 drivers/net/wan/c9c/cycx_x29.c#L282" idopL282" class9"line98nam/opL232">6an_device a> *p/o<12.3 +code=printk" class="s12.">printkevicealu<1INFO.3 +code=printkalu<1INFOam/o2>KERN_INFO a> ation class=" class="irq_handler: X25_LOG (0x4500) indic.:3.26 ID %u!)1ields */option> 6an_device a> *p/o<12.3 +code=printk" class="s12.">printkevicealu<1INFO.3 +code=printkalu<1INFOam/o2>KERN_INFO a> ation class="md"s12.buf=0x"striX3.26 ID %u!\ om<12.3 +code=cardamcardopa>->buf12.3 +code=cardbufs="s)1ields */option> 6an_device a> *p/o<12.3 +code=printk" class="s12.">printkevicealu<1INFO.3 +code=printkalu<1INFOam/o2>KERN_INFO a> ation class=Log message evice0x"striX3.26 ID %u!\ msg_> ==.3 +code=printkmsg_> ==ass=)1ields */option> 6252 a> p/o<12.3 +code=printk" class="s12.">printkevicealu<1INFO.3 +code=printkalu<1INFOam/o2>KERN_INFO a> ation class=Lin2="strid3.26 ID %u!\ lin2.3 +code=printkcin2s="s)1ields */option> 6249 a> p/o<12.3 +code=printk" class="s12.">printkevicealu<1INFO.3 +code=printkalu<1INFOam/o2>KERN_INFO a> ation class=log evice0x"striX3.26 ID %u!\ o ==.3 +code=printk> ==ass=)1ields */option> 6237 a> p/o<12.3 +code=printk" class="s12.">printkevicealu<1INFO.3 +code=printkalu<1INFOam/o2>KERN_INFO a> ation class=log routpL2e0x"striX3.26 ID %u!\ routpL271 +code=printkroutpL2ass=)1ields */option> 6249 a> p/o<12.3 +code=printk" class="s12.">printkevicealu<1INFO.3 +code=printkalu<1INFOam/o2>KERN_INFO a> ation class=Message _">c="strid3.26 ID %u!\ size4"316" idwandev_">cs="s)1ields */option> 6249 a> hex_dump12.3 +code=cardhex_dumps="s12KERN_INFO a> ation class=Message26 ID %u!\ bf12.3 +code=cardbfs="s,6249 a> torea<12.3 +code=cardtorea }<12.3 drivers/net/wan/c9c/cycx_x29194"292" idopL292" class9"line99nam/opL302">6302 a> 6223 a>otion clasSTATISTIC " clarupt handler et the 2nd bit */option> void>ni3opa>(struct alu<12.3 irq_x220ode=cycx_device" class="irq_x220s="s1_dump_devsevice" classalu<12.3 +code=cycx_device" class="s12.">cycx_device a> *alu<12.3 +code=card" class=,d bit */option> 6L274">62 5_wan_ini3opa>(struct alu<12.3 +m<12.3 +code=carda class="smlass=>ycx_device a> *am<12.3 +code=cardam 6237 a> as/nepee2.3 +code=printkrs/nepee2ass=52.">m270 a> olu<12.3 +code=card" class="s12.">cardopa>->hw12.3 +code=cardhws="s,nterface a> == am<12.3 +code=cardamcardopa>->buf12.3 +code=cardbufs="s,n2.">m270 a> olu<12.3 +code=card" class="s12.">cardopa>->u.3 +code=wandevuass=12.">wandev->x+code=inte nfigxass=12.">wandev->x220s+code=inte-> 6268 a> 6_">cof a> if (olu<12.3 +code=card" class="s12.">cardopa>->u.3 +code=wandevuass=12.">wandev->x+code=inte nfigxass=12.">wandev->x220s+code=inte-> 6249 a> hex_dump12.3 +code=cardhex_dumps="s12KERN_INFO a> ation class=" class="irq_x22026 ID %u!\ (unsigned>shar*)2.">m270 a> olu<12.3 +code=card" class="s12.">cardopa>->u.3 +code=wandevuass=12.">wandev->x+code=inte nfigxass=12.">wandev->x220s+code=inte-> 10cxam/opL268">6268 a> _">cof a> if (olu<12.3 +code=card" class="s12.">cardopa>->u.3 +code=wandevuass=12.">wandev->x+code=inte nfigxass=12.">wandev->x220s+code=inte-> bit */option> 10cnam/opL301">6p37 a> as/ness="dump_x220s+code=inte->m270 a> olu<12.3 +code=card" class="s12.">cardopa>->u.3 +code=wandevuass=12.">wandev->x+code=inte nfigxass=12.">wandev->x220s+code=inte-> 10cnam/opL232">6an_device a> *wake_up_" claruptiblet_devwan_devicewake_up_" claruptibleass=52.">m270 a> olu<12.3 +code=card" class="s12.">cardopa>->wait_x220s+code=inte-> 10c3am/o291 a> }<12.3 drivers/net/wan/c10c4_x25.c#10c94"294" idopL294" class10c94>10cnam/opL314">6314 a> 10cnam/o KERN_INFO aa>otion clasSpurious " clarupt handler the 2nd bit */option> 10c6am/o KERN_INFO aa>otion c * o " cla a warntio the 2nd bit */option> 10c7am/o KERN_INFO aa>otion c * If number of spurious " clarupts exceeded>some limit, then ??? et the 2nd bit */option> 10c8am/ox2206">void>ni3opa>(struct alu<12.3 irq_xpuriousode=cycx_device" class="irq_xpuriouss="s1_dump_devsevice" classalu<12.3 +code=cycx_device" class="s12.">cycx_device a> *alu<12.3 +code=card" class=,d bit */option> 10cnam/opL289">6289 a> ">62 5_wan_ini3opa>(struct alu<12.3 +m<12.3 +code=carda class="smlass=>ycx_device a> *am<12.3 +code=cardam 1019am/o } else { 101nam/opL301">6p37 a> p/o<12.3 +code=printk" class="s12.">printkevicealu<1INFO.3 +code=printkalu<1INFOam/o2>KERN_INFO a> ation class="string"spurious " clarupt (0x"striX)a3.26 ID %u!\d bit */option> 101nam/opL312">6296 a> 6270 a> olu<12.3 +code=card" class="s12.">cardopa>->las" cl3 +code=devnam/" c" cls="s,nterface a> == am<12.3 +code=cardamcardopa>->a>otand.3 +code=printk> otandass=)1ields */option> 1013am/o291 a> }<12.3 drivers/net/wan/c1014_x25.c#10188"314" idopL314" class10188>101nam/o#ifde12cx_device a> *CYCLOMX_X25_DEBUG12.3 +code=cardCYCLOMX_X25_DEBUGam/opL314">6314 a> 101nam/ox2206">void>ni3opa>(struct hex_dump12.3 +code=cardhex_dumps="s1"har2ycx_device a> *msgode=cycx_devicemsgs="s,nunsigned>shar2ycx_device a> *p12.3 +code=cardps="s,ncla le2.3 +code=pktlenlenass=)d bit */option> 101nam/o } else { 101nam/opL237">6unsigned>shar2ni3opa>(struct hex12.3 +code=cardhexam/o[1024]\d bit */option> 101nam/opL268">6268 a> *6p37 a> phex12.3 +code=cardphexam/o>i2">cardopa>->hex12.3 +code=cardhexam/o1ields */option> 101nam/opL239">6239 a><12.3 drivers/net/wan/c102x_x25.c#10.c#L220" idopL220" 3lass10.c#>10.cam/opL268">6312 a> if (le2.3 +code=pktlenlenass= s12.= (_">cof a> if (hex12.3 +code=cardhexam/o) / 2))d bit */option> 10.nam/opL301">6301 a> ">cardopa>->le2.3 +code=pktlenlenass= = (_">cof a> if (hex12.3 +code=cardhexam/o) / 2) - 11ields */option> 10.nam/opL302">6302 a> 10.3am/opL232">6while2 a> if (le2.3 +code=pktlenlenass=--1> } else { 102nam/opL304">6304 a> 2.">wandev->x" claf12.3 +code=cardx" clafs="s12.">printkevicephex12.3 +code=cardphexam/o,2>KERN_INFO a> ation class="stri02x26 ID %u!\ ycx_device a> *p12.3 +code=cardps="s++)1ields */option> 102nam/opL275">6L274">62"37 a> phex12.3 +code=cardphexam/o>+= 21ields */option> 102nam/opL286">6291 a> }<12.3 drivers/net/wan/c1027_x25.c#10194"227" idopL227" 3lass10194>1027am/opL302">6302 a> 1028am/opL286">6249 a> p/o<12.3 +code=printk" class="s12.">printkevicealu<1INFO.3 +code=printkalu<1INFOam/o2>KERN_INFO a> ation class="string "strin3.26 ID %u!\ msgode=cycx_devicemsgs="s,n a> if (hex12.3 +code=cardhexam/o)1ields */option> 1029am/o291 a> }<12.3 drivers/net/wan/c103x_x25.c#10.c#L230" idopL230" 3lass10.c#>10.cam/o#endifields */option> 10.nam/o">npvc a> = 0u<12.3 drivers/net/wan/c10.2_x25.c#10194"232" idopL232" 3lass10194>10.nam/o L244">6244 a>otion clasCyclom 2X Firmware-Specif6">Fun/cions et the 2nd bit */option> 10.nam/opL223">6223 a>otion clasExec X.25 > otand et the 2nd bit */option> 10.nam/ox2206">cla ss="exec+code=inte nfigxs="execs="s1_dump_devsevice" classalu<12.3 +code=cycx_device" class="s12.">cycx_device a> *alu<12.3 +code=card" class=,>cla a>otand.3 +code=printk> otandass=,ncla lin2.3 +code=printkcin2s="s,d bit */option> 10.nam/opL275">6L274">62 void>wan_device a> *<1.3 +code=printkd1s="s,ncla le21.3 +code=printkle21s="s,nvoid>wan_device a> *<2.3 +code=printkd2s="s,ncla le22.3 +code=printkle22ass=)d bit */option> 10.nam/o } else { u<12.3 dfaul0, sizeof(a10>u<>10.nam/opL307">6_dump_devsevice" classalu<12.3 +m<12.3 +code=carda class="smlass=>evsevice" classa12.3 +code=cardaam/o1ields */option> 10.8am/opL286">6unsigned>long>evsevice" classflagsode=cycx_deviceflagsam/o1ields */option> 10.nam/opL289">6249 a> u32.3 +code=printku3nam/op249 a> addr.3 +code=printkaddrass= = 0x1200 + 0x2E0 *6p37 a> lin2.3 +code=printkcin2s="s + 0x1E21ields */option> 1019am/opL289">6249 a> u8.3 +code=wandevunam/op237 a> retry12.3 +code=cardretryam/o>i2">cardopa>->CYCX_X25_MAX_CMD_RETRY12.3 +code=cardCYCX_X25_MAX_CMD_RETRYam/o1ields */option> 101nam/opL301">6cla err.3 +code=printkerrass= = 01ields */option> 101nam/opL302">6302 a> 1013am/opL232">6an_device a> *o12.3 +code=cardaam/o12.">wandev-> otand.3 +code=printk> otandass=>interface a> =_Do otand.3 +code=printk> otandass=1ields */option> 101nam/opL304">6an_device a> *o12.3 +code=cardaam/o12.">wandev->lin2.3 +code=printkcin2s="s 2.">pktlen a> = lin2.3 +code=printkcin2s="s1ields */option> 101nam/opL275">6252 a> o12.3 +code=cardaam/o12.">wandev->le2.3 +code=pktlenlenass= = le21.3 +code=printkle21s="s + 249 a> le22.3 +code=printkle22ass=1ields */option> 101nam/olo_pvc a> + 1u<12.3 drivers/net/wan/c1017_x25.c#10194"247" idopL247" class10194>101nam/opL237">6237 a> spin_lock"irqsave4"316" idwandev_pin_lock"irqsaveass=52.">m270 a> olu<12.3 +code=card" class="s12.">cardopa>->u.3 +code=wandevuass=12.">wandev->x+code=inte nfigxass=12.">wandev->lock.3 +code=printklocks="s,n a> if (flagsode=cycx_deviceflagsam/o)1ields */option> 101nam/opL308">6308 a> 101nam/opL289">62L223">6223 a>otion claswrite > otand et the 2nd bit */option> 1018am/opL301">6p37 a> as/nepokcode=cycx_device" clapokcass=52.">m270 a> olu<12.3 +code=card" class="s12.">cardopa>->hw12.3 +code=cardhws="s,nterface a> == X25_MBOX_OFFS12.3 +code=cardX25_MBOX_OFFSs="s,n2.">m270 a> o12.3 +code=cardaam/o,6_">cof a> if (o12.3 +code=cardaam/o) - _">cof a> if (o12.3 +code=cardaam/o12.">wandev->buf12.3 +code=cardbufs="s))1ields */option> 101nam/o">npvc a> = 0u<12.3 drivers/net/wan/c1052_x25.c#10194"252" idopL252" class10194>1012am/opL289">62L223">6223 a>otion claswrite X.25 data et the 2nd bit */option> 1013am/opL232">6312 a> if (<1.3 +code=printkd1s="s1> } else { 101nam/opL304">6304 a> 2.">wandev->as/nepokcode=cycx_device" clapokcass=52.">m270 a> olu<12.3 +code=card" class="s12.">cardopa>->hw12.3 +code=cardhws="s,nterface a> == addr.3 +code=printkaddrass=,nterface a> == <1.3 +code=printkd1s="s,n le21.3 +code=printkle21s="s)1ields */option> 101nam/opL305">6305 a><12.3 drivers/net/wan/c1016_x25.c#10.c#L256" idopL256" class10.c#>1016am/opL310">6pL232">6312 a> if (<2.3 +code=printkd2s="s1> } else { 101nam/opL307">6307 a> 96 a> 312 a> if (le22.3 +code=printkle22ass= s12. 2541> } else { 101nam/opL268">6268 a> 6304">6304 a> 2.">wandev->u32.3 +code=printku3nam/op249 a> addr1.3 +code=printkaddr1ass= = 0xA00 + 0x400 *6p37 a> lin2.3 +code=printkcin2s="s1ields */option> 101nam/opL239">6239 a><12.3 drivers/net/wan/c106x_x25.c#10194"260" idopL260" class10194>1019am/opL268">6268 a> 6304">6304 a> 2.">wandev->as/nepokcode=cycx_device" clapokcass=52.">m270 a> olu<12.3 +code=card" class="s12.">cardopa>->hw12.3 +code=cardhws="s,nterface a> == addr.3 +code=printkaddrass= + 249 a> le21.3 +code=printkle21s="s,nan_device a> *<2.3 +code=printkd2s="s,n249)1ields */option> 101nam/opL301">6301 a> 6304">6304 a> 2.">wandev->as/nepokcode=cycx_device" clapokcass=52.">m270 a> olu<12.3 +code=card" class="s12.">cardopa>->hw12.3 +code=cardhws="s,nterface a> == addr1.3 +code=printkaddr1ass=, ( a> if (u8.3 +code=wandevunam/o*) a> if (<2.3 +code=printkd2s="s1>+n249,d bit */option> 101nam/opL312">6296 a> 6289 a> 6304 a> 2.">wandev->le22.3 +code=printkle22ass= -n249)1ields */option> 101nam/opL313">6313 a> } elseields */option> 101nam/opL304">6304 a> 2.">wandev->as/nepokcode=cycx_device" clapokcass=52.">m270 a> olu<12.3 +code=card" class="s12.">cardopa>->hw12.3 +code=cardhws="s,nterface a> == addr.3 +code=printkaddrass= + 249 a> le21.3 +code=printkle21s="s,nan_device a> *<2.3 +code=printkd2s="s,n le22.3 +code=printkle22ass=)1ields */option> 101nam/opL275">6L274">62291 a> }<12.3 drivers/net/wan/c1066_x25.c#10.c#L266" idopL266" class10.c#>101nam/opL286">6291 a> }<12.3 drivers/net/wan/c1067_x25.c#10194"267" idopL267" class10194>1017am/opL302">6302 a> 1018am/opL286">62L223">6223 a>otion clasgenerate " claruption, executpLg > otand et the 2nd bit */option> 101nam/opL289">6249 a> os/ne" cr.3 +code=printkos/ne" crass=52.">m270 a> olu<12.3 +code=card" class="s12.">cardopa>->hw12.3 +code=cardhws="s)1ields */option> 1019am/opL302">6302 a> 1011am/opL286">62L223">6223 a>otion claswait till " cl"s12.mbox == 0 et the 2nd bit */option> 101nam/opL312">6do> } else { 101nam/opL313">6313 a> err.3 +code=printkerrass= = 249 a> os/neexec+code=inte nfigos/neexecs="s12.">printkeviceolu<12.3 +code=card" class="s12.">cardopa>->mboxode=cycx_devicemboxs="s)1ields */option> 101nam/opL304">6}6while2 a> if (retry12.3 +code=cardretryam/o--n2.">m2.">m err.3 +code=printkerrass=)1ields */option> 101nam/opL305">6305 a><12.3 drivers/net/wan/c1076_x25.c#10.c#L276" idopL276" class10.c#>101nam/opL286">6249 a> _pin_unlock"irqrestore4"316" idwandev_pin_unlock"irqrestoreass=52.">m270 a> olu<12.3 +code=card" class="s12.">cardopa>->u.3 +code=wandevuass=12.">wandev->x+code=inte nfigxass=12.">wandev->lock.3 +code=printklocks="s,n a> if (flagsode=cycx_deviceflagsam/o)1ields */option> 1017am/opL302">6302 a> 1018am/opL286">6 err.3 +code=printkerrass=1ields */option> 1019am/o291 a> }<12.3 drivers/net/wan/c108x_x25.c#10194"280" idopL280" class10194>1019am/opL302">6302 a> 1011am/o L244">6244 a>otion clasC figure adapter et the 2nd bit */option> 101nam/ox2206">cla a class="s figure12.3 +code=carda class="s figureass=5_dump_devsevice" classalu<12.3 +code=cycx_device" class="s12.">cycx_device a> *alu<12.3 +code=card" class=,d bit */option> 101nam/opL313">6313 a> _dump_devsevice" classalu<12.3 + fig12.3 +code=carda class="s fig2.">cycx_device a> *a f.3 +code=printk> nfs="s)d bit */option> 101nam/o } else { 101nam/opL275">6_dump_d } else { 1016am/opL310">6pL232">6an_device a> *u194"316" idwandevu1nam/op249 a> ncin2sode=cycx_devicencin2sass=1ields */option> 101nam/opL307">6307666665_wan_ini3opa>(struct alu<12.3 + fig12.3 +code=carda class="s fig2.">ccx_device a> *a f.3 +code=printk> nfs="s[2].">npvc a> = 0u<12.3 drivers/net/wan/c1018_x25.c#10.c#L288" idopL288" class10.c#>1018am/opL304">6}62.">wandev->xs="sml_a f.3 +code=printkxs="sml_a fass=1ields */option> 101nam/opL239">6239 a><12.3 drivers/net/wan/c109x_x25.c#10188"290" idopL290" class10188>1018am/opL286">6249 a> memse0ode=cycx_devicememse0ass=52.">m270 a> xs="sml_a f.3 +code=printkxs="sml_a fass=,60,n_">cof a> if (xs="sml_a f.3 +code=printkxs="sml_a fass=))1ields */option> 101nam/opL301">6p37 a> xs="sml_a f.3 +code=printkxs="sml_a fass=12.">wandev->ncin2sode=cycx_devicencin2sass= = 21ields */option> 101nam/opL232">6an_device a> *xs="sml_a f.3 +code=printkxs="sml_a fass=12.">wandev->a f.3 +code=printk> nfs="s[0] = ycx_device a> *a f.3 +code=printk> nfs="s1ields */option> 1013am/opL232">6aL244">6244 a>otion clasFIXME: we need tosfind a way>cl the wanrouter fr clwork the 2nd bit */option> 101nam/o KERN_INFO aa>otion c a> toss figure the ses d cin2, for now lets use it the 2nd bit */option> 101nam/o KERN_INFO aa>otion c a> with the s clss fig from the first cin2, fixtio the 2nd bit */option> 1016am/o KERN_INFO aa>otion c a> the " claface type tosRS232, the speed cl 38400 andashe 2nd bit */option> 1017am/o KERN_INFO aa>otion c a> the clock tosexclanal et the 2nd bit */option> 1018am/opL286">6249 a> xs="sml_a f.3 +code=printkxs="sml_a fass=12.">wandev->a f.3 +code=printk> nfs="s[1] = ycx_device a> *a f.3 +code=printk> nfs="s1ields */option> 101nam/opL289">6249 a> xs="sml_a f.3 +code=printkxs="sml_a fass=12.">wandev->a f.3 +code=printk> nfs="s[1]12.">wandev->lin2.3 +code=printkcin2s="s 2.11ields */option> 1108am/opL286">6249 a> xs="sml_a f.3 +code=printkxs="sml_a fass=12.">wandev->a f.3 +code=printk> nfs="s[1]12.">wandev->speed4"316" idwandev_peeds="s 2.5;6aL244">6244 a>otion clas38400 et the 2nd bit */option> 11cnam/opL301">6p37 a> xs="sml_a f.3 +code=printkxs="sml_a fass=12.">wandev->a f.3 +code=printk> nfs="s[1]12.">wandev->clock.3 +code=printkclocks="s 2.81ields */option> 11cnam/opL232">6an_device a> *xs="sml_a f.3 +code=printkxs="sml_a fass=12.">wandev->a f.3 +code=printk> nfs="s[1]12.">wandev->flagsode=cycx_deviceflagsam/o = 016aL244">6244 a>otion clasdefault = RS232 et the 2nd bit */option> 11c3am/od bit */option> 110nam/opL304">6an_device a> *os/nexs="dump_+ fig12.3 +code=carda class="dump_+ figass=52.">m270 a> xs="sml_a f.3 +code=printkxs="sml_a fass=12.">wandev->a f.3 +code=printk> nfs="s[0])1ields */option> 110nam/opL275">6252 a> os/nexs="dump_+ fig12.3 +code=carda class="dump_+ figass=52.">m270 a> xs="sml_a f.3 +code=printkxs="sml_a fass=12.">wandev->a f.3 +code=printk> nfs="s[1])1ields */option> 110nam/olo_pvc a> + 1u<12.3 drivers/net/wan/c11c7_x25.c#11c94"297" idopL297" class11c94>110nam/opL307">6 ss="exec+code=inte nfigxs="execs="s1cx_device a> *alu<12.3 +code=card" class=,nterface a> == X25_CONFIG12.3 +code=cardX25_CONFIGass=,60,lo_pvc a> + 1u<12.3 drivers/net/wan/c11c8_x25.c#11cc#L298" idopL298" class11cc#>110nam/opL268">6268 a> 6304">62.">m270 a> xs="sml_a f.3 +code=printkxs="sml_a fass=,6_">cof a> if (xs="sml_a f.3 +code=printkxs="sml_a fass=),nterface a> == NULL.3 +code=printkNULLass=,60)1ields */option> 1109am/o291 a> }<12.3 drivers/net/wan/c111x_x25.c#11194"310" idopL310" class11194>1119am/opL302">6302 a> 1111am/o L244">6244 a>otion clasGet protocol x2206stics et the 2nd bit */option> 111nam/ox2206">cla a class="get_x220s+code=inte->cycx_device a> *alu<12.3 +code=card" class=)d bit */option> 1113am/o } else { 111nam/opL304">6aL244">6244 a>otion clasthe firmwaresexpects 20>cl the _">c field!!! the 2nd bit */option> 111nam/o KERN_INFO aa>otion c a> thanks tosDaniela et the 2nd bit */option> 1116am/opL310">6cla err.3 +code=printkerrass= = ss="exec+code=inte nfigxs="execs="s1cx_device a> *alu<12.3 +code=card" class=,nterface a> == X25_STATISTIC12.3 +code=cardX25_STATISTICass=,60,nterface a> == NULL.3 +code=printkNULLass=,620,nterface a> == NULL.3 +code=printkNULLass=,60)1ields */option> 1117am/opL302">6302 a> 111nam/opL268">6312 a> if (err.3 +code=printkerrass=)pL302">6302 a> 111nam/opL289">6289 a> err.3 +code=printkerrass=1ields */option> 1129am/opL302">6302 a> 112nam/opL301">6p37 a> " claruptible_sleep_o2.3 +code=pktlen" claruptible_sleep_o2ass=52.">m270 a> olu<12.3 +code=card" class="s12.">cardopa>->wait_x220s+code=inte-> 11.nam/opL302">6302 a> 1123am/opL232">6312 a> if (signal_pending12.3 +code=cardsignal_pendings="s1cx_device a> *aurrion 2.3 +code=card"urrionass=))pL302">6302 a> 112nam/opL304">6304 a> -cx_device a> *EINTR 2.3 +code=cardEINTRass=1ields */option> 112nam/opL305">6305 a><12.3 drivers/net/wan/c1126_x25.c#11.c#L226" idopL226" 3lass11.c#>112nam/opL286">6249 a> olu<12.3 +code=card" class="s12.">cardopa>->wanss=+code=inte->wandev->x220s+code=inte->wandev->rx_packe0s+code=inte->cardopa>->u.3 +code=wandevuass=12.">wandev->x+code=inte nfigxass=12.">wandev->x220s+code=inte->wandev->n2_rx_fr clsode=cycx_devicen2_rx_fr clsass=1ields */option> 112nam/opL237">6237 a> alu<12.3 +code=card" class="s12.">cardopa>->wanss=+code=inte->wandev->x220s+code=inte->wandev->rx_on> _larors+code=inte-> _larorsass= = olu<12.3 +code=card" class="s12.">cardopa>->u.3 +code=wandevuass=12.">wandev->x+code=inte nfigxass=12.">wandev->x220s+code=inte->wandev->rx_on> _larors+code=inte-> _larorsass=1ields */option> 1128am/opL286">6249 a> alu<12.3 +code=card" class="s12.">cardopa>->wanss=+code=inte->wandev->x220s+code=inte->wandev->rx_crc_larors+code=inte->cardopa>->u.3 +code=wandevuass=12.">wandev->x+code=inte nfigxass=12.">wandev->x220s+code=inte->wandev->rx_crc_larors+code=inte-> 112nam/opL289">6249 a> olu<12.3 +code=card" class="s12.">cardopa>->wanss=+code=inte->wandev->x220s+code=inte->wandev->rx_length_larors+code=inte->6244 a>otion clasnot available from fw et the 2nd bit */option> 1138am/opL301">6p37 a> alu<12.3 +code=card" class="s12.">cardopa>->wanss=+code=inte->wandev->x220s+code=inte->wandev->rx_fr cl_larors+code=inte->6244 a>otion clasnot available from fw et the 2nd bit */option> 113nam/opL301">6p37 a> alu<12.3 +code=card" class="s12.">cardopa>->wanss=+code=inte->wandev->x220s+code=inte->wandev->rx_missed_larors+code=inte->cardopa>->u.3 +code=wandevuass=12.">wandev->x+code=inte nfigxass=12.">wandev->x220s+code=inte->wandev->rx_abor0s+code=inte-> 113nam/opL232">6an_device a> *alu<12.3 +code=card" class="s12.">cardopa>->wanss=+code=inte->wandev->x220s+code=inte->wandev->rx_dropped4"316" idwandevrx_droppedam/o = 016aL244">6244 a>otion clasnot available from fw et the 2nd bit */option> 1133am/opL232">6an_device a> *olu<12.3 +code=card" class="s12.">cardopa>->wanss=+code=inte->wandev->x220s+code=inte->wandev->rx_larors+code=inte->6244 a>otion clasnot available from fw et the 2nd bit */option> 113nam/opL304">6an_device a> *olu<12.3 +code=card" class="s12.">cardopa>->wanss=+code=inte->wandev->x220s+code=inte->wandev->tx_packe0s+code=inte->cardopa>->u.3 +code=wandevuass=12.">wandev->x+code=inte nfigxass=12.">wandev->x220s+code=inte->wandev->n2_tx_fr clsode=cycx_devicen2_tx_fr clsass=1ields */option> 113nam/opL275">6252 a> olu<12.3 +code=card" class="s12.">cardopa>->wanss=+code=inte->wandev->x220s+code=inte->wandev->tx_abor0ed_larors+code=inte->cardopa>->u.3 +code=wandevuass=12.">wandev->x+code=inte nfigxass=12.">wandev->x220s+code=inte->wandev->tx_abor0s+code=inte-> 113nam/opL286">6249 a> olu<12.3 +code=card" class="s12.">cardopa>->wanss=+code=inte->wandev->x220s+code=inte->wandev->tx_dropped4"316" idwandevtx_droppedam/o = 016aL244">6244 a>otion clasnot available from fw et the 2nd bit */option> u<12.3 dfaul0, sizeof(a11>u<>113nam/opL237">6237 a> alu<12.3 +code=card" class="s12.">cardopa>->wanss=+code=inte->wandev->x220s+code=inte->wandev->collisions12.3 +code=card"ollisionsam/o = 016aL244">6244 a>otion clasnot available from fw et the 2nd bit */option> 1138am/opL286">6249 a> alu<12.3 +code=card" class="s12.">cardopa>->wanss=+code=inte->wandev->x220s+code=inte->wandev->tx_larors+code=inte->6244 a>otion clasnot available from fw et the 2nd bit */option> 113nam/opL239">6239 a><12.3 drivers/net/wan/c114x_x25.c#11194"240" idopL240" class11194>1119am/opL289">6249 a> a class="dump_ss=s+code=inte->m270 a> olu<12.3 +code=card" class="s12.">cardopa>->wanss=+code=inte-> 114nam/o">npvc a> = 0u<12.3 drivers/net/wan/c1142_x25.c#11.c#L242" idopL242" class11.c#>114nam/opL232">6 01ields */option> 1143am/o291 a> }<12.3 drivers/net/wan/c1144_x25.c#11.c#L244" idopL244" class11.c#>114nam/opL314">6314 a> 114nam/o KERN_INFO aa>otion clas the number of nibbles et the 2nd bit */option> 111nam/ox2206">cla byte_to_nibble+code=inte-> *u8.3 +code=wandevunam/opycx_device a> *s+code=inte-> *u8.3 +code=wandevunam/opycx_device a> *<12.3 +code=cardlass=,nshar2ycx_device a> *nibble+code=inte->6302 a> 111nam/o } else { 114nam/opL268">63la i.3 +code=pktlen"am/o = 01 } else { 114nam/opL239">6239 a><12.3 drivers/net/wan/c115x_x25.c#11188"250" idopL250" class11188>115cam/opL268">6312 ycx_device a> *nibble+code=inte->m2.">m ycx_device a> *s+code=inte-> } else { 115nam/opL301">6301 a> ">cardopa>-><12.3 +code=cardlass=[ i.3 +code=pktlen"am/o] |= ycx_device a> *s+code=inte->KERN_INFO a> ation c#39;0c#39; the 2n1 } else { 115nam/opL312">6296 a> ycx_device a> *nibble+code=inte->1113am/opL232">666666666++ i.3 +code=pktlen"am/o1 } else { 111nam/opL304">6291 a> }<12.3 drivers/net/wan/c1155_x25.c#11.c#L255" idopL255" class11.c#>111nam/opL305">6305 a><12.3 drivers/net/wan/c1116_x25.c#11.c#L256" idopL256" class11.c#>1116am/opL310">6while2 ycx_device a> *s+code=inte-> } else { 111nam/opL307">6307 a> ">cardopa>-><12.3 +code=cardlass=[ i.3 +code=pktlen"am/o] =2 ycx_device a> *s+code=inte->KERN_INFO a> ation c#39;0c#39; the 2n) << 41 } else { 111nam/opL268">6268 a> 312 y a> if (s+code=inte->6302 a> 115nam/opL289">6289 a> ">62 ">cardopa>-><12.3 +code=cardlass=[ i.3 +code=pktlen"am/o] |= y a> if (s+code=inte->KERN_INFO a> ation c#39;0c#39; the 2n1 } else { 1119am/opL268">6268 a> else> } else { 111nam/opL301">6301 a> 6304">6ycx_device a> *nibble+code=inte-> 111nam/opL312">6296 a> break1ields */option> 111nam/opL313">6313 a> 291 a> }<12.3 drivers/net/wan/c1114_x25.c#11.c#L264" idopL264" class11.c#>111nam/opL304">6304 a> ++ i.3 +code=pktlen"am/o1 } else { 111nam/opL275">6L274">62 a> if (s+code=inte-> 111nam/opL286">6291 a> }<12.3 drivers/net/wan/c1167_x25.c#11194"267" idopL267" class11194>1117am/opL302">6302 a> 1168am/opL286">6 i.3 +code=pktlen"am/o1 } else { 1169am/o291 a> }<12.3 drivers/net/wan/c117x_x25.c#11194"270" idopL270" class11194>1119am/opL302">6302 a> 1111am/ox2206">void>ni3opa>(struct nibble_to_byte+code=inte-> *u8.3 +code=wandevunam/opycx_device a> *s+code=inte-> *u8.3 +code=wandevunam/opycx_device a> *<12.3 +code=cardlass=,ncx_device a> *u8.3 +code=wandevunam/opcx_device a> *le2.3 +code=pktlenlenass=,ncx_device a> *u8.3 +code=wandevunam/opcx_device a> *nibble+code=inte->6302 a> 111nam/o } else { 111nam/opL313">6312 a> if (nibble+code=inte-> } else { 117nam/opL304">6304 a> ycx_device a> *<12.3 +code=cardlass=++ =2>KERN_INFO a> ation c#39;0c#39; the 2n + ycx_device a> *s+code=inte->m 0x0F)1ields */option> 117nam/opL275">6L274">62--cx_device a> *le2.3 +code=pktlenlenass=1ields */option> 117nam/opL286">6291 a> }<12.3 drivers/net/wan/c11.7_x25.c#11.c#L277" idopL277" class11.c#>1117am/opL302">6302 a> 1118am/opL286">6while2 a> if (le2.3 +code=pktlenlenass=)> } else { 117nam/opL289">6289 a> ycx_device a> *<12.3 +code=cardlass=++ =2>KERN_INFO a> ation c#39;0c#39; the 2n + ycx_device a> *s+code=inte-> 1119am/opL302">6302 a> 118nam/opL301">6301 a> 312 --cx_device a> *le2.3 +code=pktlenlenass=)> } else { 118nam/opL312">6296 a> ycx_device a> *<12.3 +code=cardlass=++ =2>KERN_INFO a> ation c#39;0c#39; the 2n + ycx_device a> *s+code=inte->m 0x0F)1ields */option> 111nam/opL313">6313 a> --cx_device a> *le2.3 +code=pktlenlenass=1ields */option> 118nam/opL304">6304 a> } else break1ields */option> 118nam/opL305">6305 a><12.3 drivers/net/wan/c1186_x25.c#11188"286" idopL286" class11188>1116am/opL310">6pL232">6++ s+code=inte-> 111nam/opL307">6291 a> }<12.3 drivers/net/wan/c1118_x25.c#11.c#L288" idopL288" class11.c#>118nam/opL308">6308 a> 118nam/opL289">6ycx_device a> *<12.3 +code=cardlass= =2>KERN_INFO a> ation c#39;\0c#39; the 2n1 } else { 1118am/o291 a> }<12.3 drivers/net/wan/c1191_x25.c#11188"291" idopL291" class11188>119nam/o">npvc a> = 0u<12.3 drivers/net/wan/c1192_x25.c#11194"292" idopL292" class11194>119nam/o L244">6244 a>otion clasPlace X.25 >all et the 2nd bit */option> 1113am/ox2206">cla ss="place_>all+code=inte nfigxs="place_>alls="s1_dump_devsevice" classalu<12.3 +code=cycx_device" class="s12.">cycx_device a> *alu<12.3 +code=card" class=,d bit */option> 119nam/opL304">6304 a> 5_wan_ini3opa>(struct alu<12.3 +hannel+code=inte nfigalu<12.3 +hannel2.">cycx_device a> *ahan+code=inte nfigahans="s)pL302">6302 a> 111nam/o } else { 1196am/opL310">6cla err.3 +code=printkerrass= = 0,lo_pvc a> + 1u<12.3 drivers/net/wan/c1197_x25.c#11194"297" idopL297" class11194>119nam/opL307">6307 cx_device a> *le2.3 +code=pktlenlenass=1ields */option> 1118am/opL286">6shar2">cardopa>-><12.3 +code=cardlass=[64],lo_pvc a> + 1u<12.3 drivers/net/wan/c1199_x25.c#11194"299" idopL299" class11194>119nam/opL289">6289 cx_device a> *nibble+code=inte-> + 1u<12.3 drivers/net/wan/c12cx_x25.c#12cx_x299" idopL299" class12cx_>1209am/opL268">6268 cx_device a> *myle2.3 +code=pktlenmyle2ass= =2>x_device a> *ahan+code=inte nfigahans="s"s12.">cardopa>->lo>al_addr.3 +code=printklo>al_addrass= ?2 a> if (strle2.3 +code=pktlenstrle2s="s1cx_device a> *ahan+code=inte nfigahans="s"s12.">cardopa>->lo>al_addr.3 +code=printklo>al_addrass=) : 0,lo_pvc a> + 1u<12.3 drivers/net/wan/c12c1_x25.c#12c88"291" idopL291" class12c88>120nam/opL301">6301 ">cardopa>->remotele2.3 +code=pktlenremotele2ass= =2>x_device a> *strle2.3 +code=pktlenstrle2s="s1cx_device a> *ahan+code=inte nfigahans="s"s12.">cardopa>->addr.3 +code=printkaddrass=)1ields */option> 12cnam/opL232">6an_device a> *u8.3 +code=wandevunam/opcx_device a> *key12.3 +code=cardkeyass=1ields */option> 12c3am/od bit */option> 120nam/opL304">6312 a> if (olu<12.3 +code=card" class="s12.">cardopa>->u.3 +code=wandevuass=12.">wandev->x+code=inte nfigxass=12.">wandev->connection_keys12.3 +code=card"onnection_keysass= == ~0U)> } else { 120nam/opL275">6L274">62 a> if (patitk.3 +code=printkpatitks="s1cx_device a> *KERN_INFO.3 +code=printkKERN_INFOam/opcKERN_INFO a> ation cquot;c#37;s: too many simultaneous "onnection cquot; the 2nd bit */option> 1206am/opL310">6pL232">666666666666666666cKERN_INFO a> ation cquot;requests!\ncquot; the 2n,ncx_device a> *olu<12.3 +code=card" class="s12.">cardopa>->ss=rive12.3 +code=cardls=riveass=)1ields */option> 120nam/opL307">6307 a> -cx_device a> *EAGAIN12.3 +code=cardEAGAINass=1ields */option> 120nam/opL268">6291 a> }<12.3 drivers/net/wan/c12c9_x25.c#12c94"299" idopL299" class12c94>120nam/opL239">6239 a><12.3 drivers/net/wan/c121x_x25.c#12194"310" idopL310" class12194>1219am/opL289">6249 a> key12.3 +code=cardkeyass= =2>x_device a> *ffz12.3 +code=cardffzs="s1cx_device a> *alu<12.3 +code=card" class="s12.">cardopa>->u.3 +code=wandevuass=12.">wandev->x+code=inte nfigxass=12.">wandev->connection_keys12.3 +code=card"onnection_keysass=)1ields */option> 121nam/opL301">6p37 a> set_bin 2.3 +code=cardset_bins="s1cx_device a> *key12.3 +code=cardkeyass=, (void*)2.">m270 a> olu<12.3 +code=card" class="s12.">cardopa>->u.3 +code=wandevuass=12.">wandev->x+code=inte nfigxass=12.">wandev->connection_keys12.3 +code=card"onnection_keysass=)1ields */option> 121nam/opL232">6++ key12.3 +code=cardkeyass=1ields */option> 1213am/opL232">6an_device a> *dpatitk.3 +code=printkdpatitks="s11,ncx_device a> *KERN_INFO.3 +code=printkKERN_INFOam/opcKERN_INFO a> ation cquot;c#37;s:xs="place_>all:key=c#37;d\ncquot; the 2n,ncx_device a> *olu<12.3 +code=card" class="s12.">cardopa>->ss=rive12.3 +code=cardls=riveass=,ncx_device a> *key12.3 +code=cardkeyass=)1ields */option> 121nam/opL304">6ax_device a> *memse0ode=cycx_devicememse0ass=5cx_device a> *<12.3 +code=cardlass=,n0,n_">cof a> if (<12.3 +code=cardlass=))1ields */option> 121nam/opL275">6252 a> <12.3 +code=cardlass=[1] = key12.3 +code=cardkeyass=16aL244">6244 a>otion clasuser key et the 2nd bit */option> 121nam/opL286">6249 a> <12.3 +code=cardlass=[2] = 0x101 } else { 121nam/opL237">6237 a> <12.3 +code=cardlass=[4] = 0x0B1 } else { 121nam/opL308">6308 a> 121nam/opL289">6249 a> le2.3 +code=pktlenlenass= = byte_to_nibble+code=inte-> *ahan+code=inte nfigahans="s"s12.">cardopa>->addr.3 +code=printkaddrass=,nan_device a> *<12.3 +code=cardlass= + 6,62.">m270 a> nibble+code=inte->1229am/opL302">6302 a> 122nam/opL301">6312 a> if (ohan+code=inte nfigahans="s"s12.">cardopa>->lo>al_addr.3 +code=printklo>al_addrass=)pL302">6302 a> 122nam/opL312">6296 a> 249 a> le2.3 +code=pktlenlenass= += byte_to_nibble+code=inte-> *ahan+code=inte nfigahans="s"s12.">cardopa>->lo>al_addr.3 +code=printklo>al_addrass=,nan_device a> *<12.3 +code=cardlass= + 6 + 249 a> le2.3 +code=pktlenlenass=,62.">m270 a> nibble+code=inte->1223am/od bit */option> 122nam/opL304">6312 a> if (nibble+code=inte->6302 a> 122nam/opL275">6L274">62++ le2.3 +code=pktlenlenass=1ields */option> 122nam/olo_pvc a> + 1u<12.3 drivers/net/wan/c1227_x25.c#12194"227" idopL227" 3lass12194>122nam/opL237">6237 a> <12.3 +code=cardlass=[5] = myle2.3 +code=pktlenmyle2ass= << 4 | ">cardopa>->remotele2.3 +code=pktlenremotele2ass=1ields */option> 1228am/opL286">6249 a> <12.3 +code=cardlass=[6 + 249 a> le2.3 +code=pktlenlenass= + 1] = 0xCC16aL244">6244 a>otion clasTCP/IP on> X.25, thanks tosDaniela :) et the 2nd bit */option> 122nam/opL239">6239 a><12.3 drivers/net/wan/c123x_x25.c#12.c#L230" idopL230" 3lass12.c#>123cam/opL268">6312 a> if (err.3 +code=printkerrass= = ss="exec+code=inte nfigxs="execs="s1cx_device a> *alu<12.3 +code=card" class=,nterface a> == X25_CONNECT_REQUEST12.3 +code=cardX25_CONNECT_REQUESTass=,nterface a> == ahan+code=inte nfigahans="s"s12.">cardopa>->lin2.3 +code=printkcin2s="s,lo_pvc a> + 1u<12.3 drivers/net/wan/c1231_x25.c#12.c#L231" idopL231" 3lass12.c#>123nam/opL301">6301 a> 6304">666662.">m270 a> <12.3 +code=cardlass=,n7 + 249 a> le2.3 +code=pktlenlenass= + 1,nterface a> == NULL.3 +code=printkNULLass=,60)) != 0)pL302">6302 a> 123nam/opL312">6296 a> 249 a> clear_bin 2.3 +code=cardclear_bins="s1--cx_device a> *key12.3 +code=cardkeyass=, (void*)2.">m270 a> olu<12.3 +code=card" class="s12.">cardopa>->u.3 +code=wandevuass=12.">wandev->x+code=inte nfigxass=12.">wandev->connection_keys12.3 +code=card"onnection_keysass=)1ields */option> 1233am/opL232">6elseields */option> 123nam/opL304">6304 a> terface a> == ahan+code=inte nfigahans="s"s12.">cardopa>->lc2.3 +code=pktlenlcnass= = -cx_device a> *key12.3 +code=cardkeyass=1ields */option> 123nam/opL305">6305 a><12.3 drivers/net/wan/c12.6_x25.c#12.c#L236" idopL236" 3lass12.c#>123nam/opL286">6 err.3 +code=printkerrass=1ields */option> u<12.3 dfaul0, sizeof(a12>u<>123nam/o291 a> }<12.3 drivers/net/wan/c1238_x25.c#12194"238" idopL238" class12194>123nam/opL308">6308 a> 123nam/o L244">6244 a>otion clasPlace X.25 CONNECT RESPONSE et the 2nd bit */option> 1219am/ox2206">cla a class="s nect_responscode=cycx_device" class="s nect_responscs="s1_dump_devsevice" classalu<12.3 +code=cycx_device" class="s12.">cycx_device a> *alu<12.3 +code=card" class=,d bit */option> 124nam/opL301">6301 a> 6304">666666666666665_wan_ini3opa>(struct alu<12.3 +hannel+code=inte nfigalu<12.3 +hannel2.">cycx_device a> *ahan+code=inte nfigahans="s)pL302">6302 a> 124nam/o } else { 1243am/opL232">6an_device a> *u8.3 +code=wandevunam/opcx_device a> *<12.3 +code=cardlass=[8].">npvc a> = 0u<12.3 drivers/net/wan/c1244_x25.c#12.c#L244" idopL244" class12.c#>124nam/opL314">6314 a> 124nam/opL275">6252 a> memse0ode=cycx_devicememse0ass=5cx_device a> *<12.3 +code=cardlass=,n0,n_">cof a> if (<12.3 +code=cardlass=))1ields */option> 124nam/opL286">6249 a> <12.3 +code=cardlass=[0] = <12.3 +code=cardlass=[3] = ahan+code=inte nfigahans="s"s12.">cardopa>->lc2.3 +code=pktlenlcnass=1ields */option> 124nam/opL237">6237 a> <12.3 +code=cardlass=[2] = 0x101 } else { 1248am/opL286">6249 a> <12.3 +code=cardlass=[4] = 0x0F1 } else { 124nam/opL289">6249 a> <12.3 +code=cardlass=[7] = 0xCC16aL244">6244 a>otion clasTCP/IP on> X.25, thanks Daniela et the 2nd bit */option> 1259am/opL302">6302 a> 125nam/opL301">6 ss="exec+code=inte nfigxs="execs="s1cx_device a> *alu<12.3 +code=card" class=,nterface a> == X25_CONNECT_RESPONSE12.3 +code=cardX25_CONNECT_RESPONSEass=,nterface a> == ahan+code=inte nfigahans="s"s12.">cardopa>->lin2.3 +code=printkcin2s="s,62.">m270 a> <12.3 +code=cardlass=,n8,nterface a> == NULL.3 +code=printkNULLass=,60)1ields */option> 125nam/o291 a> }<12.3 drivers/net/wan/c1253_x25.c#12194"253" idopL253" class12194>1253am/od bit */option> 125nam/o KERN_INFO aa>otion clasPlace X.25 DISCONNECT RESPONSE et the 2nd bit */option> 121nam/ox2206">cla a class="diss nect_responscode=cycx_device" class="diss nect_responscs="s1_dump_devsevice" classalu<12.3 +code=cycx_device" class="s12.">cycx_device a> *alu<12.3 +code=card" class=,ncx_device a> *u8.3 +code=wandevunam/opcx_device a> *lin2.3 +code=printkcin2s="s,lo_pvc a> + 1u<12.3 drivers/net/wan/c1216_x25.c#12.c#L256" idopL256" class12.c#>1256am/opL310">6pL232">666666666666666666L232">6an_device a> *u8.3 +code=wandevunam/opcx_device a> *lc2.3 +code=pktlenlcnass=)pL302">6302 a> 125nam/o } else { 1258am/opL286">6shar2">cardopa>-><12.3 +code=cardlass=[5].">npvc a> = 0u<12.3 drivers/net/wan/c1259_x25.c#12.c#L259" idopL259" class12.c#>125nam/opL239">6239 a><12.3 drivers/net/wan/c126x_x25.c#12194"260" idopL260" class12194>1269am/opL289">6249 a> memse0ode=cycx_devicememse0ass=5cx_device a> *<12.3 +code=cardlass=,n0,n_">cof a> if (<12.3 +code=cardlass=))1ields */option> 126nam/opL301">6p37 a> <12.3 +code=cardlass=[0] = <12.3 +code=cardlass=[3] = lc2.3 +code=pktlenlcnass=1ields */option> 126nam/opL232">6an_device a> *<12.3 +code=cardlass=[2] = 0x101 } else { 1263am/opL232">6an_device a> *d12.3 +code=cardlass=[4] = 0x171 } else { 126nam/opL314">6314 a> 121nam/opL275">6 ss="exec+code=inte nfigxs="execs="s1cx_device a> *alu<12.3 +code=card" class=,nterface a> == X25_DISCONNECT_RESPONSE12.3 +code=cardX25_DISCONNECT_RESPONSEass=,nterface a> == lin2.3 +code=printkcin2s="s,62.">m270 a> <12.3 +code=cardlass=,n5,nterface a> == NULL.3 +code=printkNULLass=,60)1ields */option> 121nam/o291 a> }<12.3 drivers/net/wan/c1267_x25.c#12194"267" idopL267" class12194>1217am/opL302">6302 a> 1268am/o KERN_INFO aa>otion clasClear X.25 >all et the 2nd bit */option> 1269am/ox2206">cla ss="clear_>all+code=inte nfigxs="clear_>alls="s1_dump_devsevice" classalu<12.3 +code=cycx_device" class="s12.">cycx_device a> *alu<12.3 +code=card" class=,ncx_device a> *u8.3 +code=wandevunam/opcx_device a> *lin2.3 +code=printkcin2s="s,6an_device a> *u8.3 +code=wandevunam/opcx_device a> *lc2.3 +code=pktlenlcnass=,6an_device a> *u8.3 +code=wandevunam/opcx_device a> *causcode=cycx_device"auscs="s,lo_pvc a> + 1u<12.3 drivers/net/wan/c127x_x25.c#12194"270" idopL270" class12194>1279am/opL268">6268 a> 666L232">6an_device a> *u8.3 +code=wandevunam/opcx_device a> *diag2.3 +code=pktlendiag2ass=)pL302">6302 a> 1211am/o } else { 127nam/opL232">6an_device a> *u8.3 +code=wandevunam/opcx_device a> *<12.3 +code=cardlass=[7]1ields */option> 1273am/od bit */option> 127nam/opL304">6249 a> memse0ode=cycx_devicememse0ass=5cx_device a> *<12.3 +code=cardlass=,n0,n_">cof a> if (<12.3 +code=cardlass=))1ields */option> 127nam/opL275">6252 a> <12.3 +code=cardlass=[0] = <12.3 +code=cardlass=[3] = lc2.3 +code=pktlenlcnass=1ields */option> 127nam/opL286">6249 a> <12.3 +code=cardlass=[2] = 0x101 } else { 127nam/opL237">6237 a> <12.3 +code=cardlass=[4] = 0x131 } else { 1278am/opL286">6249 a> <12.3 +code=cardlass=[5] = causcode=cycx_device"auscs="s1 } else { 127nam/opL289">6249 a> <12.3 +code=cardlass=[6] = 1219am/opL302">6302 a> 128nam/opL301">6 ss="exec+code=inte nfigxs="execs="s1cx_device a> *alu<12.3 +code=card" class=,nterface a> == X25_DISCONNECT_REQUEST12.3 +code=cardX25_DISCONNECT_REQUESTass=,nterface a> == lin2.3 +code=printkcin2s="s,6cx_device a> *<12.3 +code=cardlass=,n7,nterface a> == NULL.3 +code=printkNULLass=,60)1ields */option> 128nam/o291 a> }<12.3 drivers/net/wan/c1283_x25.c#12.c#L283" idopL283" class12.c#>1283am/od bit */option> 128nam/o KERN_INFO aa>otion clasSend X.25 data packe0 et the 2nd bit */option> 128nam/ox2206">cla a class="sendode=cycx_device" class="sends="s1_dump_devsevice" classalu<12.3 +code=cycx_device" class="s12.">cycx_device a> *alu<12.3 +code=card" class=,ncx_device a> *u8.3 +code=wandevunam/opcx_device a> *lin2.3 +code=printkcin2s="s,6an_device a> *u8.3 +code=wandevunam/opcx_device a> *lc2.3 +code=pktlenlcnass=,6an_device a> *u8.3 +code=wandevunam/opcx_device a> *bitm.3 +code=wandevbitms="s,lo_pvc a> + 1u<12.3 drivers/net/wan/c1286_x25.c#12188"286" idopL286" class12188>1216am/opL310">6pL232">6666666666cla le2.3 +code=pktlenlenass=,6void>ycx_device a> *buf.3 +code=wandevbufass=)pL302">6302 a> 128nam/o } else { 1288am/opL286">6249 a> u8.3 +code=wandevunam/opcx_device a> *<12.3 +code=cardlass=[] =2>KERN_INFO a> ation cquot;?\xFF\x10??cquot; the 2n1ields */option> 128nam/opL239">6239 a><12.3 drivers/net/wan/c129x_x25.c#12188"290" idopL290" class12188>1299am/opL289">6249 a> <12.3 +code=cardlass=[0] = <12.3 +code=cardlass=[3] = lc2.3 +code=pktlenlcnass=1ields */option> 129nam/opL301">6p37 a> <12.3 +code=cardlass=[4] = bitm.3 +code=wandevbitms="s1ields */option> 129nam/oields */option> 1293am/opL232">6 ss="exec+code=inte nfigxs="execs="s1cx_device a> *alu<12.3 +code=card" class=,nterface a> == X25_DATA_REQUEST12.3 +code=cardX25_DATA_REQUESTass=,nterface a> == lin2.3 +code=printkcin2s="s,62.">m270 a> <12.3 +code=cardlass=,n5,nterface a> == buf.3 +code=wandevbufass=,nterface a> == le2.3 +code=pktlenlenass=)1ields */option> 129nam/o291 a> }<12.3 drivers/net/wan/c1295_x25.c#12194"295" idopL295" class12194>129nam/opL305">6305 a><12.3 drivers/net/wan/c1296_x25.c#12194"296" idopL2 drivers/12194>1296am/o KERN_INFO aa>otion clasMiscellaneous et the 2nd bit */option> 129nam/o KERN_INFO aa>otion clasFind u<1work ss="s1 by its +hannel number et the 2nd bit */option> 1218am/ox2206">_dump_devsevice" classu<112.3 +code=cycx_deviceu<112.3 +c2.">cycx_device a> *a class="g<112.3_by_lc2.3 +code=pktlena class="g<112.3_by_lc2s="s1_dump_devsevice" class.3 12.3 +code=cycx_device.3 12.3 +c2.">cycx_device a> *wanss=+code=inte-> + 1u<12.3 drivers/net/wan/c1299_x25.c#12194"299" idopL299" class12194>129nam/opL289">6289 cx_device a> *s194"316" ide-> *lc2.3 +code=pktlenlcnass=)pL302">6302 a> 1309am/o } else { 130nam/opL301">6_dump_devsevice" classu<112.3 +code=cycx_deviceu<112.3 +c2.">cycx_device a> *ss=+code=inte->cardopa>->ss=+code=inte-> 13cnam/opL232">65_wan_ini3opa>(struct alu<12.3 +hannel+code=inte nfigalu<12.3 +hannel2.">cycx_device a> *ahan+code=inte nfigahans="s1ields */option> 13c3am/od bit */option> 130nam/opL304">6while2 a> if (ss=+code=inte-> } else { 130nam/opL275">6L274">62 a> if (ahan+code=inte nfigahans="s =2 5_wan_ini3opa>(struct alu<12.3 +hannel+code=inte nfigalu<12.3 +hannel2.">*) a> if (ss=+code=inte->cardopa>->pse +code=inte->130nam/olo_pvc a> + 1u<12.3 drivers/net/wan/c13c7_x25.c#13c94"297" idopL297" class13c94>130nam/opL307">6307 a> 312 a> if (ohan+code=inte nfigahans="s"s12.">cardopa>->lc2.3 +code=pktlenlcnass= == lc2.3 +code=pktlenlcnass=)pL302">6302 a> 130nam/opL268">66666666666666666break1ields */option> 130nam/opL289">6289 cx_device a> *ss=+code=inte->cardopa>->slavcode=cycx_deviceslavcs="s1ields */option> 1319am/opL289">6291 a> }<12.3 drivers/net/wan/c1311_x25.c#13188"311" idopL311" class13188>131nam/opL301">6 ss=+code=inte-> 131nam/o291 a> }<12.3 drivers/net/wan/c1313_x25.c#13194"313" idopL313" class13194>1313am/od bit */option> 131nam/o KERN_INFO aa>otion clasFind u<1work ss="s1 by its remote dte address et the 2nd bit */option> 131nam/ox2206">_dump_devsevice" classu<112.3 +code=cycx_deviceu<112.3 +c2.">cyd bit */option> 131nam/opL286">6249 a> a class="g<112.3_by_dte_addr.3 +code=printka class="g<112.3_by_dte_addrs="s1_dump_devsevice" class.3 12.3 +code=cycx_device.3 12.3 +c2.">cycx_device a> *wanss=+code=inte-> *dte+code=inte->6302 a> 131nam/o } else { 131nam/opL268">6_dump_devsevice" classu<112.3 +code=cycx_deviceu<112.3 +c2.">cycx_device a> *ss=+code=inte->cardopa>->ss=+code=inte-> 131nam/opL289">65_wan_ini3opa>(struct alu<12.3 +hannel+code=inte nfigalu<12.3 +hannel2.">cycx_device a> *ahan+code=inte nfigahans="s1ields */option> 1329am/opL302">6302 a> 132nam/opL301">6while2 a> if (ss=+code=inte-> } else { 132nam/opL312">6296 a> 249 a> ahan+code=inte nfigahans="s =2 5_wan_ini3opa>(struct alu<12.3 +hannel+code=inte nfigalu<12.3 +hannel2.">*) a> if (ss=+code=inte->cardopa>->pse +code=inte->1323am/od bit */option> 132nam/opL304">6307 a> 312 !">cardopa>->strcmpode=cycx_devicestrcmps="s1cx_device a> *ahan+code=inte nfigahans="s"s12.">cardopa>->addr.3 +code=printkaddrass=,nan_device a> *6302 a> 132nam/opL275">6L274">6266666666break1ields */option> 1326am/opL310">6pL232">6cx_device a> *ss=+code=inte->cardopa>->slavcode=cycx_deviceslavcs="s1ields */option> 132nam/opL307">6291 a> }<12.3 drivers/net/wan/c1328_x25.c#13.c#L228" idopL228" 3lass13.c#>1328am/opL286">6 ss=+code=inte-> 1329am/o291 a> }<12.3 drivers/net/wan/c133x_x25.c#13.c#L230" idopL230" 3lass13.c#>1339am/opL302">6302 a> 133nam/o KERN_INFO aa>otion clasInitiate "onnection on the logical +hannel. the 2nd bit */option> 133nam/o L244">6244 a>otion c * o for PVC we just g<1 +hannel "onfiguration the 2nd bit */option> 1333am/o L244">6244 a>otion c * o for SVCs place 44"X.25 >all the 2nd bit */option> 133nam/o KERN_INFO aa>otion ccycthe 2nd bit */option> 133nam/o L244">6244 a>otion c * R :286">60L286">6"onnectedcthe 2nd bit */option> 1336am/o KERN_INFO aa>otion c * s12.0286">6"onnection in progresscthe 2nd bit */option> u<12.3 dfaul0, sizeof(a13>u<>133nam/o KERN_INFO aa>otion c * sl2.0286">6failure et the 2nd bit */option> 1338am/ox2206">cla a class="shan"s nect+code=inte nfigalu<12.3 +han"s nects="s1_dump_devsevice" classu<112.3 +code=cycx_deviceu<112.3 +c2.">cycx_device a> *ss=+code=inte->6302 a> 133nam/o } else { 1349am/opL289">65_wan_ini3opa>(struct alu<12.3 +hannel+code=inte nfigalu<12.3 +hannel2.">cycx_device a> *ahan+code=inte nfigahans="s = cardopa>->pse +code=inte->134nam/opL301">6_dump_devsevice" classalu<12.3 +code=cycx_device" class="s12.">cycx_device a> *alu<12.3 +code=card" class= = ohan+code=inte nfigahans="s"s12.">cardopa>->alu<12.3 +code=card" class=1ields */option> 134nam/oields */option> 134nam/opL313">6312 a> if (ohan+code=inte nfigahans="s"s12.">cardopa>->svc+code=inte nfigsvcass=)> } else { 134nam/opL304">6307 a> 312 !">cardopa>->ahan+code=inte nfigahans="s"s12.">cardopa>->addr.3 +code=printkaddrass=[0])pL302">6302 a> 134nam/opL275">6L274">6266666666 -cx_device a> *EINVAL.3 +code=printkEINVALass=16aL244">6244 a>otion clasno destination address et the 2nd bit */option> 134nam/olo_pvc a> + 1u<12.3 drivers/net/wan/c1347_x25.c#13194"247" idopL247" class13194>134nam/opL307">6307 a> *KERN_INFO.3 +code=printkKERN_INFOam/opcKERN_INFO a> ation cquot;c#37;s: plactio"X.25 >all tosc#37;s...\ncquot; the 2n,lo_pvc a> + 1u<12.3 drivers/net/wan/c1348_x25.c#13194"248" idopL248" class13194>134nam/opL268">66666666666666666>6307 a> olu<12.3 +code=card" class="s12.">cardopa>->ss=rive12.3 +code=cardls=riveass=,ncx_device a> *ahan+code=inte nfigahans="s"s12.">cardopa>->addr.3 +code=printkaddrass=)1ields */option> 134nam/opL239">6239 a><12.3 drivers/net/wan/c135x_x25.c#13188"250" idopL250" class13188>1359am/opL268">6268 a> 312 a> if (xs="place_>all+code=inte nfigxs="place_>alls="s1 olu<12.3 +code=card" class=,ncx_device a> *ahan+code=inte nfigahans="s))pL302">6302 a> 135nam/opL301">6301 a> 6304">6 -cx_device a> *EIO.3 +code=printkEIOass=1ields */option> 135nam/oields */option> 135nam/opL313">6313 a> ni3opa>(struct alu<12.3 set_+han"x220code=cycx_device" cla2.3 set_+han"x220cs="s1 *WAN_CONNECTING+code=inte-> 135nam/opL304">6307 a> 11ields */option> 135nam/opL275">6}6elseields */option> 1356am/opL310">6pL232">6ni3opa>(struct alu<12.3 set_+han"x220code=cycx_device" cla2.3 set_+han"x220cs="s1 *WAN_CONNECTED+code=inte-> 1357am/opL302">6302 a> 1358am/opL286">6 01 } else { 1359am/o291 a> }<12.3 drivers/net/wan/c136x_x25.c#13194"260" idopL260" class13194>1369am/opL302">6302 a> 136nam/o KERN_INFO aa>otion clasDiss nect logical +hannel. the 2nd bit */option> 136nam/o L244">6244 a>otion c * o 312SVC the4">6ear X.25 >all et the 2nd bit */option> 1363am/ox2206">void> a class="shan"diss nect+code=inte nfigalu<12.3 +han"diss nects="s1_dump_devsevice" classu<112.3 +code=cycx_deviceu<112.3 +c2.">cycx_device a> *ss=+code=inte->6302 a> 136nam/o } else { 131nam/opL275">65_wan_ini3opa>(struct alu<12.3 +hannel+code=inte nfigalu<12.3 +hannel2.">cycx_device a> *ahan+code=inte nfigahans="s = cardopa>->pse +code=inte->136nam/olo_pvc a> + 1u<12.3 drivers/net/wan/c1367_x25.c#13194"267" idopL267" class13194>136nam/opL307">6312 a> if (ohan+code=inte nfigahans="s"s12.">cardopa>->svc+code=inte nfigsvcass=)> } else { 136nam/opL268">666666666 a> if (xs="clear_>all+code=inte nfigxs="clear_>alls="s1 ohan+code=inte nfigahans="s"s12.">cardopa>->alu<12.3 +code=card" class=,nterface a> == ahan+code=inte nfigahans="s"s12.">cardopa>->lin2.3 +code=printkcin2s="s,6terface a> == ahan+code=inte nfigahans="s"s12.">cardopa>->lc2.3 +code=pktlenlcnass=,60,60)1ields */option> 136nam/opL289">6289 cx_device a> *alu<12.3 set_+han"x220code=cycx_device" cla2.3 set_+han"x220cs="s1 *WAN_DISCONNECTING+code=inte-> 1379am/opL268">6}6elseields */option> 137nam/opL301">6301 a> cx_device a> *alu<12.3 set_+han"x220code=cycx_device" cla2.3 set_+han"x220cs="s1 *WAN_DISCONNECTED+code=inte-> 137nam/o291 a> }<12.3 drivers/net/wan/c1373_x25.c#13.c#L273" idopL273" class13.c#>1373am/od bit */option> 137nam/o KERN_INFO aa>otion clasCalled by kernel timer et the 2nd bit */option> 137nam/ox2206">void> a class="shan"timer+code=inte nfigalu<12.3 +han"timers="s1unsigned long6p37 a> <12.3 +code=cardlass=)pL302">6302 a> 137nam/o } else { 137nam/opL237">6_dump_devsevice" classu<112.3 +code=cycx_deviceu<112.3 +c2.">cycx_device a> *ss=+code=inte->cy) a> if (s12.3 +code=cardlass=1ields */option> 137nam/opL268">6_dump_devsevice" classalu<12.3 +hannel+code=inte nfigalu<12.3 +hannel2.">cycx_device a> *ahan+code=inte nfigahans="s = cardopa>->pse +code=inte->137nam/opL239">6239 a><12.3 drivers/net/wan/c138x_x25.c#13194"280" idopL280" class13194>138cam/opL268">6312 a> if (ohan+code=inte nfigahans="s"s12.">cardopa>->s220code=cycx_devicex220cs="s == WAN_CONNECTED+code=inte->6239 a><12.3 drivers/net/wan/c1381_x25.c#13194"281" idopL281" class13194>138nam/opL301">6301 a> cx_device a> *alu<12.3 shan"diss nect+code=inte nfigalu<12.3 +han"diss nects="s1cx_device a> *ss=+code=inte-> 138nam/opL312">6elseields */option> 138nam/opL313">6313 a> ni3opa>(struct patitk.3 +code=printkpatitks="s1cx_device a> *KERN_ERR.3 +code=printkKERN_ERRam/opcKERN_INFO a> ation cquot;c#37;s: c#37;s for svc (c#37;s) not6"onnected!\ncquot; the 2n,lo_pvc a> + 1u<12.3 drivers/net/wan/c1384_x25.c#13.c#L284" idopL284" class13.c#>138nam/opL304">6307 a> pL301">6301 a> cx_device a> *ahan+code=inte nfigahans="s"s12.">cardopa>->alu<12.3 +code=card" class="s12.">cardopa>->ss=rive12.3 +code=cardls=riveass=,ncx_device a> *__func__12.3 +code=card__func__ass=,ncx_device a> *cardopa>->rive12.3 +code=cardriveass=)1ields */option> 138nam/o291 a> }<12.3 drivers/net/wan/c1386_x25.c#13188"286" idopL286" class13188>138nam/olo_pvc a> + 1u<12.3 drivers/net/wan/c1387_x25.c#13194"287" idopL287" class13194>138nam/o KERN_INFO aa>otion clasSet logical +hannel x220c et the 2nd bit */option> 1388am/ox2206">void> a class="set_+han"x220code=cycx_device" cla2.3 set_+han"x220cs="s1_dump_devsevice" classu<112.3 +code=cycx_deviceu<112.3 +c2.">cycx_device a> *ss=+code=inte-> *u8.3 +code=wandevunam/opcx_device a> *s220code=cycx_devicex220cs="s)pL239">6239 a><12.3 drivers/net/wan/c1389_x25.c#13.c#L289" idopL289" class13.c#>138nam/o } else { 1399am/opL289">65_wan_ini3opa>(struct alu<12.3 +hannel+code=inte nfigalu<12.3 +hannel2.">cycx_device a> *ahan+code=inte nfigahans="s = cardopa>->pse +code=inte->139nam/opL301">6_dump_devsevice" classalu<12.3 +code=cycx_device" class="s12.">cycx_device a> *alu<12.3 +code=card" class= = ohan+code=inte nfigahans="s"s12.">cardopa>->alu<12.3 +code=card" class=1ields */option> 139nam/opL312">6unsigned long6p37 a> flags12.3 +code=cardflagsass=1ields */option> 1393am/opL232">6shar2ycx_device a> *> atio"x220code=cycx_device> atio"x220cass= = NULL.3 +code=printkNULLass=1ields */option> 139nam/opL314">6314 a> 139nam/opL275">6252 a> spin_lock_irqsavcode=cycx_devicespin_lock_irqsavcs="s12.">m270 a> olu<12.3 +code=card" class="s12.">cardopa>->lock.3 +code=pktlenlockass=,6an_device a> *flags12.3 +code=cardflagsass=)1ields */option> 139nam/olo_pvc a> + 1u<12.3 drivers/net/wan/c1397_x25.c#13194"297" idopL297" class13194>139nam/opL307">6312 a> if (ohan+code=inte nfigahans="s"s12.">cardopa>->s220code=cycx_devicex220cs="s != s220code=cycx_devicex220cs="s)> } else { 139nam/opL268">666666666312 a> if (ohan+code=inte nfigahans="s"s12.">cardopa>->svc+code=inte nfigsvcass=62.">m2.">m ohan+code=inte nfigahans="s"s12.">cardopa>->s220code=cycx_devicex220cs="s == WAN_CONNECTED+code=inte->6239 a><12.3 drivers/net/wan/c1399_x25.c#13194"299" idopL299" class13194>139nam/opL289">6289 m270 a> ohan+code=inte nfigahans="s"s12.">cardopa>->timer+code=inte nfigtimers="s)1ields */option> 1409am/opL302">6302 a> 140nam/opL301">6301 a> switch2 a> if (s220code=cycx_devicex220cs="s)> } else { 140nam/opL312">6296 a> case WAN_CONNECTED+code=inte->140nam/opL313">6313 a> pL275">6252 a> s atio"x220code=cycx_device> atio"x220cass= = KERN_INFO a> ation cquot;"onnected!cquot; the 2n1ields */option> 140nam/opL304">6307 a> pL301">6* a> if (__be194"316" ide-><__be19am/o*) a> if (ss=+code=inte->cardopa>->2.3_addr.3 +code=printk2.3_addrass= = htons12.3 +code=cardhtonss="s1 ohan+code=inte nfigahans="s"s12.">cardopa>->lc2.3 +code=pktlenlcnass=)1ields */option> 140nam/opL275">6L274">62pL275">6252 a> u<1if_wake_queucode=cycx_deviceu<1if_wake_queucs="s1cx_device a> *ss=+code=inte-> 1406am/opL310">6pL232">666666666cx_device a> *reset_timer+code=inte nfigreset_timers="s1cx_device a> *ss=+code=inte-> 1407am/opL302">6302 a> 140nam/opL268">66666666666666666312 a> if (ohan+code=inte nfigahans="s"s12.">cardopa>->protocol+code=inte nfigprotocols="s == ETH_P_X.c#L225" idprintkETH_P_X.cass=)pL239">6239 a><12.3 drivers/net/wan/c14c9_x25.c#14c94"299" idopL299" class14c94>140nam/opL289">6289 pL232">666666666cx_device a> *alu<12.3 +han"send_evion code=inte nfigalu<12.3 +han"send_evions="s1 1419am/opL302">6302 a> 141nam/opL301">6301 a> 6304">6break1ields */option> 141nam/opL312">6296 a> case WAN_CONNECTING+code=inte->141nam/opL313">6313 a> pL275">6252 a> s atio"x220code=cycx_device> atio"x220cass= = KERN_INFO a> ation cquot;"onnecttio...cquot; the 2n1ields */option> 141nam/opL304">6307 a> pL301">6break1ields */option> 141nam/opL275">6L274">62case WAN_DISCONNECTING+code=inte->1416am/opL310">6pL232">666666666cx_device a> *s atio"x220code=cycx_device> atio"x220cass= = KERN_INFO a> ation cquot;diss necttio...cquot; the 2n1ields */option> 141nam/opL307">6307 a> pL301">6break1ields */option> 141nam/opL268">666666666case WAN_DISCONNECTED+code=inte->141nam/opL289">6289 s atio"x220code=cycx_device> atio"x220cass= = KERN_INFO a> ation cquot;diss nected!cquot; the 2n1ields */option> 1429am/opL302">6302 a> 142nam/opL301">6301 a> 6304">6312 a> if (ohan+code=inte nfigahans="s"s12.">cardopa>->svc+code=inte nfigsvcass=)> } else { 142nam/opL312">6296 a> *1unsigned short*) a> if (ss=+code=inte->cardopa>->2.3_addr.3 +code=printk2.3_addrass= = 01 } else { 142nam/opL313">6313 a> pL275">6 ohan+code=inte nfigahans="s"s12.">cardopa>->lc2.3 +code=pktlenlcnass= = 01 } else { 142nam/opL304">6307 a> 291 a> }<12.3 drivers/net/wan/c1425_x25.c#14.c#L225" idopL225" 3lass14.c#>142nam/opL305">6305 a><12.3 drivers/net/wan/c1426_x25.c#14.c#L226" idopL226" 3lass14.c#>1426am/opL310">6pL232">6 6304">6312 a> if (ohan+code=inte nfigahans="s"s12.">cardopa>->protocol+code=inte nfigprotocols="s == ETH_P_X.c#L225" idprintkETH_P_X.cass=)pL239">6239 a><12.3 drivers/net/wan/c1427_x25.c#14194"227" idopL227" 3lass14194>142nam/opL307">6307 a> pL301">6 olu<12.3 +han"send_evion code=inte nfigalu<12.3 +han"send_evions="s1 1428am/oields */option> 142nam/opL289">6289 u<1if_wake_queucode=cycx_deviceu<1if_wake_queucs="s1cx_device a> *ss=+code=inte-> 1439am/opL268">6268 a> 666L232"break1ields */option> 143nam/opL301">6301 a> 291 a> }<12.3 drivers/net/wan/c14.2_x25.c#14194"232" idopL232" 3lass14194>143nam/oields */option> 143nam/opL313">6313 a> ni3opa>(struct patitk.3 +code=printkpatitks="s1cx_device a> *KERN_INFO.3 +code=printkKERN_INFOam/opcKERN_INFO a> ation cquot;c#37;s: titerface c#37;s c#37;s\ncquot; the 2n, olu<12.3 +code=card" class="s12.">cardopa>->ss=rive12.3 +code=cardls=riveass=,ields */option> 143nam/opL304">6307 a> pL301">6301 a> >6cx_device a> *ss=+code=inte->cardopa>->rive12.3 +code=cardriveass=, s atio"x220code=cycx_device> atio"x220cass=)1ields */option> 143nam/opL275">6L274">62 a> if (ahan+code=inte nfigahans="s"s12.">cardopa>->s220code=cycx_devicex220cs="s = s220code=cycx_devicex220cs="s1ields */option> 1436am/opL310">6291 a> }<12.3 drivers/net/wan/c14.7_x25.c#14>u<12.3 dfaul0, sizeof(a14>u<>1437am/opL302">6302 a> 1438am/opL286">6249 a> spin_unlock_irqrestorcode=cycx_devicespin_unlock_irqrestorcs="s12.">m270 a> olu<12.3 +code=card" class="s12.">cardopa>->lock.3 +code=pktlenlockass=,6an_device a> *flags12.3 +code=cardflagsass=)1ields */option> 1439am/o291 a> }<12.3 drivers/net/wan/c144x_x25.c#14194"240" idopL240" class14194>1449am/opL302">6302 a> 144nam/o KERN_INFO aa>otion clasSend packe0 on a logical +hannel. the 2nd bit */option> 144nam/o L244">6244 a>otion c * Whe4"this function is >alled, tx_skb field of the +hannel data L24s12.he 2nd bit */option> 1443am/o L244">6244 a>otion c * potits tosthe transmit socke0 buffer Whe4"transmission is >omplete,2.he 2nd bit */option> 144nam/o KERN_INFO aa>otion ccy release socke0 buffer and reset c#39;tbusyc#39; flag. the 2nd bit */option> 144nam/o L244">6244 a>otion c * the 2nd bit */option> 1446am/o KERN_INFO aa>otion c * R :286">60L286">6-"transmission >omplete the 2nd bit */option> 144nam/o KERN_INFO aa>otion c * 1L286">6-"busy the 2nd bit */option> 144nam/o L244">6244 a>otion c * the 2nd bit */option> 144nam/o KERN_INFO aa>otion c * Notes: the 2nd bit */option> 1459am/o KERN_INFO aa>otion c * 1. If packe0 length is greatersthRN_MTU for this +hannel, wec#39;ll fragmions=he 2nd bit */option> 145nam/o KERN_INFO aa>otion c * the packe0 tito c#39;>omplete sequencec#39; ustio"M-bit. the 2nd bit */option> 145nam/o L244">6244 a>otion c * 2. Whe4"transmission is >omplete, 44"evion notification should be issuedcthe 2nd bit */option> 1453am/o L244">6244 a>otion c * tosthe router et the 2nd bit */option> 145nam/ox2206">cla a class="shan"sendode=cycx_device" class="shan"sends="s1_dump_devsevice" classu<112.3 +code=cycx_deviceu<112.3 +c2.">cycx_device a> *ss=+code=inte->cycx_device a> *skbode=cycx_deviceskbass=)pL239">6239 a><12.3 drivers/net/wan/c1455_x25.c#14.c#L255" idopL255" class14.c#>145nam/o } else { 1456am/opL310">65_wan_ini3opa>(struct alu<12.3 +hannel+code=inte nfigalu<12.3 +hannel2.">cycx_device a> *ahan+code=inte nfigahans="s = cardopa>->pse +code=inte->145nam/opL237">6_dump_devsevice" classalu<12.3 +code=cycx_device" class="s12.">cycx_device a> *alu<12.3 +code=card" class= = ohan+code=inte nfigahans="s"s12.">cardopa>->alu<12.3 +code=card" class=1ields */option> 1458am/opL286">6cla bitm.3 +code=wandevbitms="s = 01">6L274">62 KERN_INFO aa>otion clasfinal packe0 et the 2nd bit */option> 145nam/opL289">6unsigned ">cardopa>->le2.3 +code=pktlenlenass= = skbode=cycx_deviceskbass="s12.">cardopa>->le2.3 +code=pktlenlenass=1ields */option> 1469am/opL302">6302 a> 146nam/opL301">6312 a> if (skbode=cycx_deviceskbass="s12.">cardopa>->le2.3 +code=pktlenlenass= s12. olu<12.3 +code=card" class="s12.">cardopa>->wanss=+code=inte->cardopa>->mtu+code=inte-> } else { 146nam/opL312">6296 a> 249 a> le2.3 +code=pktlenlenass= = olu<12.3 +code=card" class="s12.">cardopa>->wanss=+code=inte->cardopa>->mtu+code=inte-> 146nam/opL313">6313 a> ni3opa>(struct bitm.3 +code=wandevbitms="s = 0x101">6L274">622 KERN_INFO aa>otion classet M-bit (more data) et the 2nd bit */option> 146nam/opL304">6291 a> }<12.3 drivers/net/wan/c1465_x25.c#14194"265" idopL265" class14194>146nam/opL305">6305 a><12.3 drivers/net/wan/c1466_x25.c#14.c#L266" idopL266" class14.c#>1466am/opL301">6312 a> if (" cla2.3 sendode=cycx_device" class="sends="s1 olu<12.3 +code=card" class=,nterface a> == ahan+code=inte nfigahans="s"s12.">cardopa>->lin2.3 +code=printkcin2s="s,6terface a> == ahan+code=inte nfigahans="s"s12.">cardopa>->lc2.3 +code=pktlenlcnass=,6ni3opa>(struct bitm.3 +code=wandevbitms="s,nterface a> == le2.3 +code=pktlenlenass=, skbode=cycx_deviceskbass="s12.">cardopa>->data+code=inte->6239 a><12.3 drivers/net/wan/c1467_x25.c#14194"267" idopL267" class14194>146nam/opL307">6307 a> 11ields */option> 1468am/oields */option> 146nam/opL289">6312 a> if (bitm.3 +code=wandevbitms="s)> } else { 1479am/opL268">6268 a> skb_pull+code=inte nfigskb_pulls="s1 skbode=cycx_deviceskbass=,nterface a> == le2.3 +code=pktlenlenass=)1ields */option> 147nam/opL301">6301 a> 11ields */option> 1472am/opL304">6291 a> }<12.3 drivers/net/wan/c1473_x25.c#14.c#L273" idopL273" class14.c#>1473am/od bit */option> 147nam/opL304">6++terface a> == ahan+code=inte nfigahans="s"s12.">cardopa>->ifx220s12.3 +code=cardifx220sass=.">cardopa>->tx_packe0s12.3 +code=cardtx_packe0sass=1ields */option> 147nam/opL275">6252 a> ahan+code=inte nfigahans="s"s12.">cardopa>->ifx220s12.3 +code=cardifx220sass=.">cardopa>->tx_bytes12.3 +code=cardtx_bytesam/op+= le2.3 +code=pktlenlenass=1ields */option> 147nam/olo_pvc a> + 1u<12.3 drivers/net/wan/c14.7_x25.c#14.c#L277" idopL277" class14.c#>147nam/opL237">6 01 } else { 147nam/o291 a> }<12.3 drivers/net/wan/c1479_x25.c#14194"279" idopL279" class14194>147nam/opL239">6239 a><12.3 drivers/net/wan/c148x_x25.c#14194"280" idopL280" class14194>1489am/o KERN_INFO aa>otion clasSend evion ("onnection, diss nectton, etc) tosX.25 socke0 layer et the 2nd bit */option> 148nam/od bit */option> 148nam/ox2206">void> a class="shan"send_evion code=inte nfigalu<12.3 +han"send_evions="s1_dump_devsevice" classu<112.3 +code=cycx_deviceu<112.3 +c2.">cycx_device a> *ss=+code=inte-> *u8.3 +code=wandevunam/opcx_device a> *evion code=inte nfigevions="s)pL239">6239 a><12.3 drivers/net/wan/c1483_x25.c#14.c#L283" idopL283" class14.c#>148nam/o } else { 148nam/opL304">6_dump_devsevice" classsk_buffode=cycx_devicesk_buff2.">cycx_device a> *skbode=cycx_deviceskbass=1 } else { 148nam/opL275">6unsigned shar2ycx_device a> *ptr.3 +code=printkptrass=1 } else { 148nam/olo_pvc a> + 1u<12.3 drivers/net/wan/c1487_x25.c#14194"287" idopL287" class14194>148nam/opL307">6312 1 skbode=cycx_deviceskbass= = } else { 148nam/opL268">666666666 a> if (patitk.3 +code=printkpatitks="s1cx_device a> *KERN_ERR.3 +code=printkKERN_ERRam/opcKERN_INFO a> ation cquot;c#37;s: out of memory\ncquot; the 2n, __func__12.3 +code=card__func__ass=)1ields */option> 148nam/opL289">6289 1ields */option> 1499am/opL289">6291 a> }<12.3 drivers/net/wan/c1411_x25.c#14188"291" idopL291" class14188>149nam/od bit */option> 149nam/opL312">6cx_device a> *ptr.3 +code=printkptrass= = skb_pun code=inte nfigskb_puns="s1 skbode=cycx_deviceskbass=,n1)1ields */option> 1493am/opL232">6ycx_device a> *ptr.3 +code=printkptrass= = evion code=inte nfigevions="s1ields */option> 149nam/opL314">6314 a> 149nam/opL275">6252 a> skbode=cycx_deviceskbass="s12.">cardopa>->protocol+code=inte nfigprotocols="s =6 a> if (xs="type_trans+code=inte nfigxs="type_transs="s1 skbode=cycx_deviceskbass=,nterface a> == ss=+code=inte-> 1496am/opL275">6252 a> u<1if_rxode=cycx_deviceu<1if_rxs="s1 skbode=cycx_deviceskbass=)1ields */option> 149nam/opL307">6 cardopa>->de=t_rxode=cycx_devicede=t_rxs="s =6 a> if (jiffies12.3 +code=cardjiffiess="s1666666666 KERN_INFO aa>otion clastimex22mp et the 2nd bit */option> 149nam/o291 a> }<12.3 drivers/net/wan/c1499_x25.c#14194"299" idopL299" class14194>149nam/opL239">6239 a><12.3 drivers/net/wan/c15cx_x25.c#15cx_x299" idopL299" class15cx_>1509am/o KERN_INFO aa>otion clasCona><0 lpL2 speed in bps tosa number used by rs/lom 2x if et the 2nd bit */option> 150nam/ox2206">an_device a> *u8.3 +code=wandevunam/opcx_device a> *bps_to_speed_ a> .3 +code=wandevbps_to_speed_ a> s="s1 u194"232" idwandevu3nam/opcx_device a> *bps.3 +code=wandevbpss="s)pL239">6239 a><12.3 drivers/net/wan/c15c2_x25.c#15c94"292" idopL292" class15c94>150nam/o } else { 150nam/opL313">6an_device a> *u8.3 +code=wandevunam/opcx_device a> *numberode=cycx_deviceuumbers="s = 01" KERN_INFO aa>otion clasdefaults tosthe lowex2 (1200) speed ;s12. et the 2nd bit */option> 150nam/opL314">6314 a> 150nam/opL275">6L274"312 a> if (bps.3 +code=wandevbpss="s s12.= 512000) cx_device a> *numberode=cycx_deviceuumbers="s = 81ields */option> 1506am/opL310">6else"312 a> if (bps.3 +code=wandevbpss="s s12.= 256000) cx_device a> *numberode=cycx_deviceuumbers="s = 71ields */option> 1507am/opL310">6else"312 a> if (bps.3 +code=wandevbpss="s s12.= 64000) cx_device a> *numberode=cycx_deviceuumbers="s = 61ields */option> 150nam/opL268">6else"312 a> if (bps.3 +code=wandevbpss="s s12.= 38400) cx_device a> *numberode=cycx_deviceuumbers="s = 51ields */option> 150nam/opL289">6else"312 a> if (bps.3 +code=wandevbpss="s s12.= 19200) cx_device a> *numberode=cycx_deviceuumbers="s = 41ields */option> 1510am/opL289">6else"312 a> if (bps.3 +code=wandevbpss="s s12.= 9600) cx_device a> *numberode=cycx_deviceuumbers="s = 31ields */option> 151nam/opL301">6else"312 a> if (bps.3 +code=wandevbpss="s s12.= 4800) cx_device a> *numberode=cycx_deviceuumbers="s = 21ields */option> 151nam/opL312">6else"312 a> if (bps.3 +code=wandevbpss="s s12.= 2400) cx_device a> *numberode=cycx_deviceuumbers="s = 11ields */option> 1513am/od bit */option> 151nam/opL304">6 cx_device a> *numberode=cycx_deviceuumbers="s1ields */option> 151nam/o291 a> }<12.3 drivers/net/wan/c1516_x25.c#15194"316" idopL316" class15194>151nam/olo_pvc a> + 1u<12.3 drivers/net/wan/c1517_x25.c#15188"317" idopL317" class15188>151nam/o KERN_INFO aa>otion claslog base 2 et the 2nd bit */option> 1518am/ox2206">an_device a> *u8.3 +code=wandevunam/opcx_device a> *riverlog94"232" idwandevriverlog9s="s1 u194"232" idwandevu3nam/opcx_device a> *2.3 +code=pktlenns="s)pL239">6239 a><12.3 drivers/net/wan/c1519_x25.c#15194"319" idopL3212.3 36"15194>151nam/o } else { 1520am/opL289">6an_device a> *u8.3 +code=wandevunam/opcx_device a> *logode=cycx_devicedogs="s = 01 } else { 152nam/od bit */option> 152nam/opL312">6312 !cx_device a> *2.3 +code=pktlenns="s)pL239">6239 a><12.3 drivers/net/wan/c1523_x25.c#15.c#L223" idopL223" 3lass15.c#>152nam/opL313">6313 a> 01 } else { 152nam/opL314">6314 a> 152nam/opL275">6while2 a> if (2.3 +code=pktlenns="s s12. 1)> } else { 1526am/opL310">6pL232">6 a> if (2.3 +code=pktlenns="s s12.s12.= 11 } else { 152nam/opL307">6307 a> ++terface a> == logode=cycx_devicedogs="s1 } else { 152nam/opL268">6291 a> }<12.3 drivers/net/wan/c1529_x25.c#15.c#L229" idopL229" 3lass15.c#>152nam/opL239">6239 a><12.3 drivers/net/wan/c153x_x25.c#15.c#L230" idopL230" 3lass15.c#>1539am/opL268">6 cx_device a> *logode=cycx_devicedogs="s1 } else { 153nam/o291 a> }<12.3 drivers/net/wan/c15.2_x25.c#15194"232" idopL232" 3lass15194>153nam/oields */option> 1533am/o L244">6244 a>otion clasCona><0 decimal x2atio tosunsigned titeger. the 2nd bit */option> 153nam/o KERN_INFO aa>otion ccy If len != 0 the4"only c#39;lenc#39; sharact> < of the x2atio are6"ona><0ed et the 2nd bit */option> 153nam/ox2206">unsigned ">cardopa>->dec_to_uion code=inte nfigdec_to_uions="s1 u8.3 +code=wandevunam/opycx_device a> *str.3 +code=printkstrass=,6cla le2.3 +code=pktlenlenass=)d bit */option> 153nam/o } else { u<12.3 dfaul0, sizeof(a15>u<>153nam/opL307">6unsigned ">cardopa>->val+code=inte nfigvals="s = 01 } else { 1538am/oields */option> 153nam/opL289">6312 !cx_device a> *le2.3 +code=pktlenlenass=)d bit */option> 1549am/opL268">6268 a> le2.3 +code=pktlenlenass= = strle2.3 +code=pktlenstrle2s="s1 str.3 +code=printkstrass=)1ields */option> 154nam/od bit */option> 154nam/opL312">6for (. le2.3 +code=pktlenlenass= s.">m2.">m isdigin code=inte nfigisdigins="s1ycx_device a> *str.3 +code=printkstrass=); ++terface a> == str.3 +code=printkstrass=,6--cx_device a> *le2.3 +code=pktlenlenass=)d bit */option> 154nam/opL313">6313 a> ni3opa>(struct val+code=inte nfigvals="s = 1 val+code=inte nfigvals="s * 10) + 1ycx_device a> *str.3 +code=printkstrass= - 1unsigned)pcKERN_INFO a> ation c#39;0c#39; the 2n)1ields */option> 154nam/opL314">6314 a> 154nam/opL275">6 cx_device a> *val+code=inte nfigvals="s1ields */option> 1546am/o291 a> }<12.3 drivers/net/wan/c1547_x25.c#15194"247" idopL247" class15194>1547am/opL302">6302 a> 1548am/ox2206">void> reset_timer+code=inte nfigreset_timers="s1_dump_devsevice" classu<112.3 +code=cycx_deviceu<112.3 +c2.">cycx_device a> *ss=+code=inte-> 154nam/o } else { 1559am/opL289">65_wan_ini3opa>(struct alu<12.3 +hannel+code=inte nfigalu<12.3 +hannel2.">cycx_device a> *ahan+code=inte nfigahans="s = cardopa>->pse +code=inte->155nam/od bit */option> 155nam/opL312">6312 cx_device a> *ahan+code=inte nfigahans="s"s12.">cardopa>->svc+code=inte nfigsvcass=)d bit */option> 155nam/opL313">6313 a> ni3opa>(struct mod_timer+code=inte nfigmod_timers="s12.">m270 a> ohan+code=inte nfigahans="s"s12.">cardopa>->timer+code=inte nfigtimers="s,nterface a> == jiffies12.3 +code=cardjiffiess="s+terface a> == ahan+code=inte nfigahans="s"s12.">cardopa>->idle_tmoun code=inte nfigidle_tmouns="sycx_device a> *HZ code=inte nfigHZass=)1ields */option> 155nam/o291 a> }<12.3 drivers/net/wan/c1555_x25.c#15.c#L255" idopL255" class15.c#>155nam/o#ifdefnterface a> == CYCLOMX_X.c_DEBUG+code=inte-> 1556am/ox2206">void> a class="dump_"onfigode=cycx_devicea class="dump_"onfigs="s1_dump_devsevice" classalu<12.3 +onfigode=cycx_devicea class=""onfigs="scycx_device a> *aonfode=cycx_deviceaonfass=)d bit */option> 155nam/o } else { 1558am/opL286">6249 a> patitk.3 +code=printkpatitks="s1cx_device a> *KERN_INFO.3 +code=printkKERN_INFOam/opcKERN_INFO a> ation cquot;X.25 "onfiguration\ncquot; the 2n)1ields */option> 155nam/opL289">6249 a> patitk.3 +code=printkpatitks="s1cx_device a> *KERN_INFO.3 +code=printkKERN_INFOam/opcKERN_INFO a> ation cquot;-----------------\ncquot; the 2n)1ields */option> 1560am/opL289">6an_device a> *patitk.3 +code=printkpatitks="s1cx_device a> *KERN_INFO.3 +code=printkKERN_INFOam/opcKERN_INFO a> ation cquot;cin2 number=c#37;d\ncquot; the 2n, oonfode=cycx_deviceaonfass="s12.">cardopa>->lin2.3 +code=printkcin2s="s)1ields */option> 156nam/opL301">6an_device a> *patitk.3 +code=printkpatitks="s1cx_device a> *KERN_INFO.3 +code=printkKERN_INFOam/opcKERN_INFO a> ation cquot;cin2 speed=c#37;d\ncquot; the 2n, oonfode=cycx_deviceaonfass="s12.">cardopa>->speed+code=inte nfigspeeds="s)1ields */option> 156nam/opL312">6an_device a> *patitk.3 +code=printkpatitks="s1cx_device a> *KERN_INFO.3 +code=printkKERN_INFOam/opcKERN_INFO a> ation cquot;clock=c#37;sternal\ncquot; the 2n, oonfode=cycx_deviceaonfass="s12.">cardopa>->clock.3 +code=pktlenclockass= == 8 ?pcKERN_INFO a> ation cquot;Excquot; the 2n :pcKERN_INFO a> ation cquot;Incquot; the 2n)1ields */option> 156nam/opL313">6an_device a> *patitk.3 +code=printkpatitks="s1cx_device a> *KERN_INFO.3 +code=printkKERN_INFOam/opcKERN_INFO a> ation cquot;# level 26 ransm.=c#37;d\ncquot; the 2n, oonfode=cycx_deviceaonfass="s12.">cardopa>->n94"232" idwandevn2s="s)1ields */option> 156nam/opL304">6an_device a> *patitk.3 +code=printkpatitks="s1cx_device a> *KERN_INFO.3 +code=printkKERN_INFOam/opcKERN_INFO a> ation cquot;cevel 26window=c#37;d\ncquot; the 2n, oonfode=cycx_deviceaonfass="s12.">cardopa>->n9win4"232" idwandevn2wins="s)1ields */option> 156nam/opL275">6252 a> patitk.3 +code=printkpatitks="s1cx_device a> *KERN_INFO.3 +code=printkKERN_INFOam/opcKERN_INFO a> ation cquot;cevel 36window=c#37;d\ncquot; the 2n, oonfode=cycx_deviceaonfass="s12.">cardopa>->n3win4"232" idwandevn3wins="s)1ields */option> 1566am/opL275">6252 a> patitk.3 +code=printkpatitks="s1cx_device a> *KERN_INFO.3 +code=printkKERN_INFOam/opcKERN_INFO a> ation cquot;# logical +hannels=c#37;d\ncquot; the 2n, oonfode=cycx_deviceaonfass="s12.">cardopa>->nvc+code=inte nfignvcass=)1ields */option> 156nam/opL307">6 patitk.3 +code=printkpatitks="s1cx_device a> *KERN_INFO.3 +code=printkKERN_INFOam/opcKERN_INFO a> ation cquot;cevel 36pk0 len=c#37;d\ncquot; the 2n, oonfode=cycx_deviceaonfass="s12.">cardopa>->pk0le2.3 +code=pktlenpk0le2ass=)1ields */option> 1568am/opL286">6249 a> patitk.3 +code=printkpatitks="s1cx_device a> *KERN_INFO.3 +code=printkKERN_INFOam/opcKERN_INFO a> ation cquot;my address=c#37;d\ncquot; the 2n, oonfode=cycx_deviceaonfass="s12.">cardopa>->locaddr.3 +code=printklocaddrass=)1ields */option> 156nam/opL289">6249 a> patitk.3 +code=printkpatitks="s1cx_device a> *KERN_INFO.3 +code=printkKERN_INFOam/opcKERN_INFO a> ation cquot;remote address=c#37;d\ncquot; the 2n, oonfode=cycx_deviceaonfass="s12.">cardopa>->remaddr.3 +code=printkremaddrass=)1ields */option> 1570am/opL289">6an_device a> *patitk.3 +code=printkpatitks="s1cx_device a> *KERN_INFO.3 +code=printkKERN_INFOam/opcKERN_INFO a> ation cquot;t1=c#37;d seaonds\ncquot; the 2n, oonfode=cycx_deviceaonfass="s12.">cardopa>->t1ode=cycx_devicet1ass=)1ields */option> 157nam/opL301">6an_device a> *patitk.3 +code=printkpatitks="s1cx_device a> *KERN_INFO.3 +code=printkKERN_INFOam/opcKERN_INFO a> ation cquot;t2=c#37;d seaonds\ncquot; the 2n, oonfode=cycx_deviceaonfass="s12.">cardopa>->t94"232" idwandevt2s="s)1ields */option> 157nam/opL312">6an_device a> *patitk.3 +code=printkpatitks="s1cx_device a> *KERN_INFO.3 +code=printkKERN_INFOam/opcKERN_INFO a> ation cquot;t21=c#37;d seaonds\ncquot; the 2n, oonfode=cycx_deviceaonfass="s12.">cardopa>->t21ode=cycx_devicet21ass=)1ields */option> 157nam/opL313">6an_device a> *patitk.3 +code=printkpatitks="s1cx_device a> *KERN_INFO.3 +code=printkKERN_INFOam/opcKERN_INFO a> ation cquot;# PVCs=c#37;d\ncquot; the 2n, oonfode=cycx_deviceaonfass="s12.">cardopa>->npvc+code=inte nfignpvcass=)1ields */option> 157nam/opL304">6an_device a> *patitk.3 +code=printkpatitks="s1cx_device a> *KERN_INFO.3 +code=printkKERN_INFOam/opcKERN_INFO a> ation cquot;t23=c#37;d seaonds\ncquot; the 2n, oonfode=cycx_deviceaonfass="s12.">cardopa>->t23ode=cycx_devicet23ass=)1ields */option> 157nam/opL275">6252 a> patitk.3 +code=printkpatitks="s1cx_device a> *KERN_INFO.3 +code=printkKERN_INFOam/opcKERN_INFO a> ation cquot;flags=0xc#37;x\ncquot; the 2n, oonfode=cycx_deviceaonfass="s12.">cardopa>->flags12.3 +code=cardflagsass=)1ields */option> 1576am/o291 a> }<12.3 drivers/net/wan/c15.7_x25.c#15.c#L277" idopL277" class15.c#>1577am/opL302">6302 a> 1578am/ox2206">void> a class="dump_x220s12.3 +code=carda class="dump_x220ss="s1_dump_devsevice" classalu<12.3 x220s12.3 +code=carda class="x220ss="spycx_device a> *st20s12.3 +code=cardx220ss="s)d bit */option> 157nam/o } else { 1580am/opL289">6an_device a> *patitk.3 +code=printkpatitks="s1cx_device a> *KERN_INFO.3 +code=printkKERN_INFOam/opcKERN_INFO a> ation cquot;X.25 s2206s06"s\ncquot; the 2n)1ields */option> 158nam/opL301">6an_device a> *patitk.3 +code=printkpatitks="s1cx_device a> *KERN_INFO.3 +code=printkKERN_INFOam/opcKERN_INFO a> ation cquot;--------------\ncquot; the 2n)1ields */option> 158nam/opL312">6an_device a> *patitk.3 +code=printkpatitks="s1cx_device a> *KERN_INFO.3 +code=printkKERN_INFOam/opcKERN_INFO a> ation cquot;rx_crc_errors=c#37;d\ncquot; the 2n, st20s12.3 +code=cardx220ss="s"s12.">cardopa>->rx_crc_errors.3 +code=printkrx_crc_errorsass=)1ields */option> 158nam/opL313">6an_device a> *patitk.3 +code=printkpatitks="s1cx_device a> *KERN_INFO.3 +code=printkKERN_INFOam/opcKERN_INFO a> ation cquot;rx_on> _errors=c#37;d\ncquot; the 2n, st20s12.3 +code=cardx220ss="s"s12.">cardopa>->rx_on> _errors.3 +code=printkrx_on> _errorsass=)1ields */option> 158nam/opL304">6an_device a> *patitk.3 +code=printkpatitks="s1cx_device a> *KERN_INFO.3 +code=printkKERN_INFOam/opcKERN_INFO a> ation cquot;n2_tx_fr cls=c#37;d\ncquot; the 2n, st20s12.3 +code=cardx220ss="s"s12.">cardopa>->n2_tx_fr cls4"232" idwandevn2_tx_fr clsass=)1ields */option> 158nam/opL275">6252 a> patitk.3 +code=printkpatitks="s1cx_device a> *KERN_INFO.3 +code=printkKERN_INFOam/opcKERN_INFO a> ation cquot;n2_rx_fr cls=c#37;d\ncquot; the 2n, st20s12.3 +code=cardx220ss="s"s12.">cardopa>->n2_rx_fr cls4"232" idwandevn2_rx_fr clsass=)1ields */option> 1586am/opL275">6252 a> patitk.3 +code=printkpatitks="s1cx_device a> *KERN_INFO.3 +code=printkKERN_INFOam/opcKERN_INFO a> ation cquot;tx_timeouts=c#37;d\ncquot; the 2n, st20s12.3 +code=cardx220ss="s"s12.">cardopa>->tx_timeoutsode=cycx_devicetx_timeoutsass=)1ields */option> 158nam/opL307">6 patitk.3 +code=printkpatitks="s1cx_device a> *KERN_INFO.3 +code=printkKERN_INFOam/opcKERN_INFO a> ation cquot;rx_timeouts=c#37;d\ncquot; the 2n, st20s12.3 +code=cardx220ss="s"s12.">cardopa>->rx_timeoutsode=cycx_devicerx_timeoutsass=)1ields */option> 1588am/opL286">6249 a> patitk.3 +code=printkpatitks="s1cx_device a> *KERN_INFO.3 +code=printkKERN_INFOam/opcKERN_INFO a> ation cquot;n3_tx_packe0s=c#37;d\ncquot; the 2n, st20s12.3 +code=cardx220ss="s"s12.">cardopa>->n3_tx_packe0s4"232" idwandevn3_tx_packe0sass=)1ields */option> 158nam/opL289">6249 a> patitk.3 +code=printkpatitks="s1cx_device a> *KERN_INFO.3 +code=printkKERN_INFOam/opcKERN_INFO a> ation cquot;n3_rx_packe0s=c#37;d\ncquot; the 2n, st20s12.3 +code=cardx220ss="s"s12.">cardopa>->n3_rx_packe0s4"232" idwandevn3_rx_packe0sass=)1ields */option> 1590am/opL289">6an_device a> *patitk.3 +code=printkpatitks="s1cx_device a> *KERN_INFO.3 +code=printkKERN_INFOam/opcKERN_INFO a> ation cquot;tx_aborts=c#37;d\ncquot; the 2n, st20s12.3 +code=cardx220ss="s"s12.">cardopa>->tx_abortsode=cycx_devicetx_abortsass=)1ields */option> 159nam/opL301">6an_device a> *patitk.3 +code=printkpatitks="s1cx_device a> *KERN_INFO.3 +code=printkKERN_INFOam/opcKERN_INFO a> ation cquot;rx_aborts=c#37;d\ncquot; the 2n, st20s12.3 +code=cardx220ss="s"s12.">cardopa>->rx_abortsode=cycx_devicerx_abortsass=)1ields */option> 159nam/o291 a> }<12.3 drivers/net/wan/c1593_x25.c#15.c#L293" idopL293" class15.c#>1593am/od bit */option> 159nam/ox2206">void> a class="dump_devs12.3 +code=carda class="dump_devss="s1_dump_devsevice" class.3 _2.3 +code=cycx_device.3 _2.3 +cs="spycx_device a> *wanss=+code=inte-> 159nam/o } else { 1596am/opL275">6_dump_devsevice" classu<112.3 +code=cycx_deviceu<112.3 +c2.">cycx_device a> *ss=+code=inte->cardopa>->ds=+code=inte-> 1597am/opL302">6302 a> 1598am/opL286">6249 a> patitk.3 +code=printkpatitks="s1cx_device a> *KERN_INFO.3 +code=printkKERN_INFOam/opcKERN_INFO a> ation cquot;X.25 ss= s220es\ncquot; the 2n)1ields */option> 159nam/opL289">6249 a> patitk.3 +code=printkpatitks="s1cx_device a> *KERN_INFO.3 +code=printkKERN_INFOam/opcKERN_INFO a> ation cquot;n cl: addr: txoff: protocol:\ncquot; the 2n)1ields */option> 1600am/opL289">6an_device a> *patitk.3 +code=printkpatitks="s1cx_device a> *KERN_INFO.3 +code=printkKERN_INFOam/opcKERN_INFO a> ation cquot;---------------------------------------\ncquot; the 2n)1ields */option> 160nam/od bit */option> 160nam/opL312">6while1cx_device a> *ss=+code=inte-> } else { 160nam/opL313">6pL275">6_dump_devsevice" classalu<12.3 +hannel+code=inte nfigalu<12.3 +hannel2.">cycx_device a> *ahan+code=inte nfigahans="s = cardopa>->pse +code=inte->160nam/opL314">6314 a> 160nam/opL275">6L274"">6an_device a> *patitk.3 +code=printkpatitks="s1cx_device a> *KERN_INFO.3 +code=printkKERN_INFOam/opcKERN_INFO a> ation cquot;c#37;-5.5s c#37;-15.15s c#37;d ETH_P_c#37;s\ncquot; the 2n,pL314">6314 a> 1606am/opL310">66666666666666666666666666cx_device a> *ahan+code=inte nfigahans="s"s12.">cardopa>->niveode=cycx_deviceuives="s,6terface a> == ahan+code=inte nfigahans="s"s12.">cardopa>->addr.3 +code=printkaddrass=,6terface a> == u<1if_queue_stopped+code=inte nfigu<1if_queue_stoppeds="s1cx_device a> *ss=+code=inte->6314 a> 160nam/opL307">6307 a> 66666666666666666cx_device a> *ahan+code=inte nfigahans="s"s12.">cardopa>->protocol+code=inte nfigprotocols="s == ETH_P_IP+code=inte nfigETH_P_IPs="s ?pcKERN_INFO a> ation cquot;IPcquot; the 2n :pcKERN_INFO a> ation cquot;X25cquot; the 2n)1ields */option> 160nam/opL268">666666666 a> if (ss=+code=inte->cardopa>->slaveode=cycx_deviceslaves="s1ields */option> 160nam/opL289">6291 a> }<12.3 drivers/net/wan/c161x_x25.c#16194"310" idopL310" class16194>1610am/o291 a> }<12.3 drivers/net/wan/c1611_x25.c#16188"311" idopL311" class16188>161nam/od bit */option> 161nam/o#endif" KERN_INFO aa>otion clasCYCLOMX_X.c_DEBUG et the 2nd bit */option> 1613am/o L244">6244 a>otion clasEnd et the 2nd bit */option> 161nam/o The original LXR software6by the bit */ophttp://sourceforge.u<12projects/lxr">LXR a>otunityass=,6this experitional n> lxr@opLux.noass=. lxr.opLux.no kindly hosted by bit */ophttp://www.redpill-opLpro.no">Redpill LpLpro ASass=,6provider of LpLux "onsulttio and operations ser3 +cs since 1995.