Lines Matching refs:options
528 if (qeth_get_card_by_name(dev_name)->options.ena_ipat!= in qeth_add_ipato_entry()
619 if (card->options.ena_ipat!=ENABLE_TAKEOVER) { in qeth_is_ipa_covered_by_ipato_entries()
787 (card->options.async_iqd==ASYNC_IQD) ) { in qeth_get_prioqueue()
798 if (card->options.do_prio_queueing) { in qeth_get_prioqueue()
800 if (card->options.do_prio_queueing== in qeth_get_prioqueue()
820 if (card->options.do_prio_queueing== in qeth_get_prioqueue()
830 return card->options.default_queue; in qeth_get_prioqueue()
831 } else return card->options.default_queue; in qeth_get_prioqueue()
1129 int max_buffers=card->options.inbound_buffer_count; in qeth_get_empty_buffer_pool_entry()
1435 if (card->options.fake_ll==FAKE_LL) { in qeth_get_next_skb()
1640 if (card->options.fake_ll==FAKE_LL) { in qeth_read_in_buffer()
1696 if (card->options.checksum_type==HW_CHECKSUMMING) { in qeth_read_in_buffer()
1736 skb->ip_summed=card->options.checksum_type; in qeth_read_in_buffer()
3133 cmd->rel_adapter_no=(__u8)card->options.portno; in qeth_fill_ipa_cmd()
5368 card->options.broadcast_mode); in qeth_do_setadapterparms_stuff()
5377 } else if (card->options.broadcast_mode) { in qeth_do_setadapterparms_stuff()
5388 card->options.macaddr_mode); in qeth_do_setadapterparms_stuff()
5397 } else if (card->options.macaddr_mode) { in qeth_do_setadapterparms_stuff()
5510 if (card->options.fake_ll==FAKE_LL) { in qeth_softsetup_card()
5696 if (card->options.checksum_type==HW_CHECKSUMMING) { in qeth_softsetup_card()
5703 card->options.checksum_type=SW_CHECKSUMMING; in qeth_softsetup_card()
5718 card->options.checksum_type= in qeth_softsetup_card()
5735 card->options.checksum_type= in qeth_softsetup_card()
5747 if (card->options.routing_type4) { in qeth_softsetup_card()
5749 card->options.routing_type4); in qeth_softsetup_card()
5751 result=qeth_send_setrtg(card,card->options. in qeth_softsetup_card()
5804 ( (card->options.routing_type6&ROUTER_MASK) == in qeth_softsetup_card()
5809 } else if (card->options.routing_type6) { in qeth_softsetup_card()
5811 card->options.routing_type6); in qeth_softsetup_card()
5813 result=qeth_send_setrtg(card,card->options. in qeth_softsetup_card()
6790 element_count=(card->options.memusage==MEMUSAGE_DISCONTIG)? in qeth_free_card()
6792 for (i=0;i<card->options.inbound_buffer_count;i++) { in qeth_free_card()
7392 *(QETH_ULP_ENABLE_LINKNUM(card->send_buf))=(__u8)card->options.portno; in qeth_ulp_enable()
7400 card->options.portname,9); in qeth_ulp_enable()
7550 init_data.min_input_threshold=card->options.polltime; in qeth_qdio_establish()
7551 init_data.max_input_threshold=card->options.polltime; in qeth_qdio_establish()
7679 if ( (card->options.routing_type4 == PRIMARY_ROUTER) || in qeth_correct_routing_status()
7680 (card->options.routing_type4 == SECONDARY_ROUTER) in qeth_correct_routing_status()
7683 (card->options.routing_type6 == PRIMARY_ROUTER) || in qeth_correct_routing_status()
7684 (card->options.routing_type6 == SECONDARY_ROUTER) in qeth_correct_routing_status()
7689 card->options.routing_type4=NO_ROUTER; in qeth_correct_routing_status()
7691 card->options.routing_type6=NO_ROUTER; in qeth_correct_routing_status()
7694 card->options.do_prio_queueing=NO_PRIO_QUEUEING; in qeth_correct_routing_status()
7698 card->options.routing_type4 == MULTICAST_ROUTER)) || in qeth_correct_routing_status()
7699 (card->options.routing_type4 == PRIMARY_CONNECTOR) || in qeth_correct_routing_status()
7700 (card->options.routing_type4 == SECONDARY_CONNECTOR) in qeth_correct_routing_status()
7704 card->options.routing_type6 == MULTICAST_ROUTER)) || in qeth_correct_routing_status()
7705 (card->options.routing_type6 == PRIMARY_CONNECTOR) || in qeth_correct_routing_status()
7706 (card->options.routing_type6 == SECONDARY_CONNECTOR) in qeth_correct_routing_status()
7712 card->options.routing_type4=NO_ROUTER; in qeth_correct_routing_status()
7714 card->options.routing_type6=NO_ROUTER; in qeth_correct_routing_status()
7900 (card->options.fake_ll==FAKE_LL)?qeth_fake_header: in qeth_init_dev()
7925 (card->options.fake_broadcast==FAKE_BROADCAST)|| in qeth_init_dev()
7946 card->options.add_hhlen; in qeth_init_dev()
8088 for (i=0;i<card->options.inbound_buffer_count;i++) { in qeth_clear_card_structures()
8127 if (i<card->options.inbound_buffer_count) { in qeth_init_input_buffers()
8351 if (card->options.memusage==MEMUSAGE_CONTIG) { in qeth_hardsetup_card()
8425 sprintf(dbf_text,"%s",card->options.portname+1); in qeth_hardsetup_card()
8442 if (card->options.portname[0]) { in qeth_hardsetup_card()
8598 card->options.portname[0]=0; in qeth_fill_qeth_card_options()
8600 card->options.portname[i]=_ascebc[' ']; in qeth_fill_qeth_card_options()
8601 strcpy(card->options.devname," "); in qeth_fill_qeth_card_options()
8602 card->options.routing_type4=NO_ROUTER; in qeth_fill_qeth_card_options()
8604 card->options.routing_type6=NO_ROUTER; in qeth_fill_qeth_card_options()
8606 card->options.portno=0; in qeth_fill_qeth_card_options()
8607 card->options.checksum_type=QETH_CHECKSUM_DEFAULT; in qeth_fill_qeth_card_options()
8608 card->options.do_prio_queueing=0; in qeth_fill_qeth_card_options()
8609 card->options.default_queue=QETH_DEFAULT_QUEUE; in qeth_fill_qeth_card_options()
8610 card->options.inbound_buffer_count=DEFAULT_BUFFER_COUNT; in qeth_fill_qeth_card_options()
8611 card->options.polltime=QETH_MAX_INPUT_THRESHOLD; in qeth_fill_qeth_card_options()
8612 card->options.memusage=MEMUSAGE_DISCONTIG; in qeth_fill_qeth_card_options()
8613 card->options.macaddr_mode=MACADDR_NONCANONICAL; in qeth_fill_qeth_card_options()
8614 card->options.broadcast_mode=BROADCAST_ALLRINGS; in qeth_fill_qeth_card_options()
8615 card->options.fake_broadcast=DONT_FAKE_BROADCAST; in qeth_fill_qeth_card_options()
8616 card->options.ena_ipat=ENABLE_TAKEOVER; in qeth_fill_qeth_card_options()
8617 card->options.add_hhlen=DEFAULT_ADD_HHLEN; in qeth_fill_qeth_card_options()
8618 card->options.fake_ll=DONT_FAKE_LL; in qeth_fill_qeth_card_options()
8619 card->options.async_iqd=SYNC_IQD; in qeth_fill_qeth_card_options()
8770 discont_mem=(card->options.memusage==MEMUSAGE_DISCONTIG); in qeth_init_ringbuffers2()
8774 for (i=0;i<card->options.inbound_buffer_count;i++) { in qeth_init_ringbuffers2()
8786 for (i=0;i<card->options.inbound_buffer_count;i++) { in qeth_init_ringbuffers2()
8800 for (i=0;i<card->options.inbound_buffer_count;i++) { in qeth_init_ringbuffers2()
8846 if (card->options.ena_ipat==ENABLE_TAKEOVER) in qeth_determine_card_type()
8906 a_p= &card->options.already_parsed[parse_category]; in qeth_setvalue_if_possible()
8911 if ( (card->options.already_parsed[PARSE_ROUTING_TYPE4]) || in qeth_setvalue_if_possible()
8912 (card->options.already_parsed[PARSE_ROUTING_TYPE6]) ) in qeth_setvalue_if_possible()
8919 if ( (card->options.already_parsed[PARSE_ROUTING_TYPE4]) && in qeth_setvalue_if_possible()
8920 (card->options.already_parsed[PARSE_ROUTING_TYPE6]) ) in qeth_setvalue_if_possible()
8927 if ( (card->options.already_parsed[PARSE_ROUTING_TYPE4]) && in qeth_setvalue_if_possible()
8928 (card->options.already_parsed[PARSE_ROUTING_TYPE6]) ) in qeth_setvalue_if_possible()
8959 card->options.routing_type4,NO_ROUTER, in qeth_parse_option()
8960 card->options.routing_type6,NO_ROUTER); in qeth_parse_option()
8962 card->options.routing_type4,PRIMARY_ROUTER, in qeth_parse_option()
8963 card->options.routing_type6,PRIMARY_ROUTER); in qeth_parse_option()
8965 card->options.routing_type4,SECONDARY_ROUTER, in qeth_parse_option()
8966 card->options.routing_type6,SECONDARY_ROUTER); in qeth_parse_option()
8968 card->options.routing_type4,MULTICAST_ROUTER, in qeth_parse_option()
8969 card->options.routing_type6,MULTICAST_ROUTER); in qeth_parse_option()
8971 card->options.routing_type4,PRIMARY_CONNECTOR, in qeth_parse_option()
8972 card->options.routing_type6,PRIMARY_CONNECTOR); in qeth_parse_option()
8974 card->options.routing_type4,SECONDARY_CONNECTOR, in qeth_parse_option()
8975 card->options.routing_type6,SECONDARY_CONNECTOR); in qeth_parse_option()
8978 card->options.routing_type4,NO_ROUTER); in qeth_parse_option()
8980 card->options.routing_type4,PRIMARY_ROUTER); in qeth_parse_option()
8982 card->options.routing_type4,SECONDARY_ROUTER); in qeth_parse_option()
8984 card->options.routing_type4,MULTICAST_ROUTER); in qeth_parse_option()
8986 card->options.routing_type4,PRIMARY_CONNECTOR); in qeth_parse_option()
8988 card->options.routing_type4,SECONDARY_CONNECTOR); in qeth_parse_option()
8992 card->options.routing_type4,NO_ROUTER); in qeth_parse_option()
8994 card->options.routing_type4,PRIMARY_ROUTER); in qeth_parse_option()
8996 card->options.routing_type4,SECONDARY_ROUTER); in qeth_parse_option()
8998 card->options.routing_type4,MULTICAST_ROUTER); in qeth_parse_option()
9000 card->options.routing_type4,PRIMARY_CONNECTOR); in qeth_parse_option()
9002 card->options.routing_type4,SECONDARY_CONNECTOR); in qeth_parse_option()
9006 card->options.routing_type6,NO_ROUTER); in qeth_parse_option()
9008 card->options.routing_type6,PRIMARY_ROUTER); in qeth_parse_option()
9010 card->options.routing_type6,SECONDARY_ROUTER); in qeth_parse_option()
9012 card->options.routing_type6,MULTICAST_ROUTER); in qeth_parse_option()
9014 card->options.routing_type6,PRIMARY_CONNECTOR); in qeth_parse_option()
9016 card->options.routing_type6,SECONDARY_CONNECTOR); in qeth_parse_option()
9020 card->options.checksum_type,SW_CHECKSUMMING); in qeth_parse_option()
9022 card->options.checksum_type,HW_CHECKSUMMING); in qeth_parse_option()
9024 card->options.checksum_type,NO_CHECKSUMMING); in qeth_parse_option()
9027 card->options.do_prio_queueing,PRIO_QUEUEING_PREC); in qeth_parse_option()
9029 card->options.do_prio_queueing,PRIO_QUEUEING_TOS); in qeth_parse_option()
9032 card->options.memusage,MEMUSAGE_DISCONTIG); in qeth_parse_option()
9034 card->options.memusage,MEMUSAGE_CONTIG); in qeth_parse_option()
9037 card->options.broadcast_mode,BROADCAST_ALLRINGS); in qeth_parse_option()
9039 card->options.broadcast_mode,BROADCAST_LOCAL); in qeth_parse_option()
9042 card->options.macaddr_mode,MACADDR_NONCANONICAL); in qeth_parse_option()
9044 card->options.macaddr_mode,MACADDR_CANONICAL); in qeth_parse_option()
9047 card->options.ena_ipat,ENABLE_TAKEOVER); in qeth_parse_option()
9049 card->options.ena_ipat,DISABLE_TAKEOVER); in qeth_parse_option()
9052 card->options.fake_broadcast,FAKE_BROADCAST); in qeth_parse_option()
9054 card->options.fake_broadcast,DONT_FAKE_BROADCAST); in qeth_parse_option()
9057 card->options.fake_ll,FAKE_LL); in qeth_parse_option()
9059 card->options.fake_ll,DONT_FAKE_LL); in qeth_parse_option()
9062 card->options.async_iqd,SYNC_IQD); in qeth_parse_option()
9064 card->options.async_iqd,ASYNC_IQD); in qeth_parse_option()
9067 card->options.do_prio_queueing,NO_PRIO_QUEUEING, in qeth_parse_option()
9068 card->options.default_queue,0); in qeth_parse_option()
9070 card->options.do_prio_queueing,NO_PRIO_QUEUEING, in qeth_parse_option()
9071 card->options.default_queue,1); in qeth_parse_option()
9073 card->options.do_prio_queueing,NO_PRIO_QUEUEING, in qeth_parse_option()
9074 card->options.default_queue,2); in qeth_parse_option()
9076 card->options.do_prio_queueing,NO_PRIO_QUEUEING, in qeth_parse_option()
9077 card->options.default_queue,3); in qeth_parse_option()
9079 card->options.do_prio_queueing,NO_PRIO_QUEUEING, in qeth_parse_option()
9080 card->options.default_queue,QETH_DEFAULT_QUEUE); in qeth_parse_option()
9090 &card->options.polltime,i); in qeth_parse_option()
9106 &card->options.portno,i); in qeth_parse_option()
9122 &card->options.add_hhlen,i); in qeth_parse_option()
9126 a_p=&card->options.already_parsed[PARSE_PORTNAME]; in qeth_parse_option()
9137 card->options.portname[0]=strlen(option)-9; in qeth_parse_option()
9140 card->options.portname[i]=' '; in qeth_parse_option()
9141 strcpy(card->options.portname+1,option+9); in qeth_parse_option()
9143 card->options.portname[i]= in qeth_parse_option()
9145 card->options.portname[i]]; in qeth_parse_option()
9381 card->options.portno = probeinfo->port_protocol_no; in qeth_attach_handler()
9383 card->options.portno = 0; in qeth_attach_handler()
9411 QETH_DBF_HEX2(0,misc,&card->options,QETH_DBF_MISC_LEN); in qeth_attach_handler()
9451 card->options.inbound_buffer_count= in qeth_attach_handler()
9454 card->options.memory_usage_in_k= in qeth_attach_handler()
9459 -card->options.inbound_buffer_count* in qeth_attach_handler()
9639 -card->options.memory_usage_in_k; in qeth_probe()
9641 card->options.portno, in qeth_probe()
9942 (card->options.checksum_type==SW_CHECKSUMMING)?"SW": in qeth_procfile_open()
9943 (card->options.checksum_type==HW_CHECKSUMMING)?"HW": in qeth_procfile_open()
9945 if (card->options.do_prio_queueing==NO_PRIO_QUEUEING) { in qeth_procfile_open()
9947 card->options.default_queue); in qeth_procfile_open()
9949 strcpy(queueing_str,(card->options.do_prio_queueing in qeth_procfile_open()
9964 else if ( ((card->options.routing_type4&ROUTER_MASK)== in qeth_procfile_open()
9968 ( ((card->options.routing_type6&ROUTER_MASK)== in qeth_procfile_open()
9975 if ( ((card->options.routing_type4&ROUTER_MASK)== in qeth_procfile_open()
9979 ( ((card->options.routing_type6&ROUTER_MASK)== in qeth_procfile_open()
9986 if ( ((card->options.routing_type4&ROUTER_MASK)== in qeth_procfile_open()
9990 ( ((card->options.routing_type6&ROUTER_MASK)== in qeth_procfile_open()
10000 if ( ((card->options.routing_type4&ROUTER_MASK)== in qeth_procfile_open()
10004 ( ((card->options.routing_type6&ROUTER_MASK)== in qeth_procfile_open()
10014 if ( ((card->options.routing_type4&ROUTER_MASK)== in qeth_procfile_open()
10018 ( ((card->options.routing_type6&ROUTER_MASK)== in qeth_procfile_open()
10028 if ( ((card->options.routing_type4&ROUTER_MASK)== in qeth_procfile_open()
10032 ( ((card->options.routing_type6&ROUTER_MASK)== in qeth_procfile_open()
10057 card->options.portno); in qeth_procfile_open()
10068 card->options.portno); in qeth_procfile_open()
10078 card->options.portno, in qeth_procfile_open()
10081 (card->options.memusage== in qeth_procfile_open()
10083 card->options.inbound_buffer_count); in qeth_procfile_open()
10222 card->options.routing_type4=PRIMARY_ROUTER| in qeth_procfile_write()
10225 card->options.routing_type6=PRIMARY_ROUTER| in qeth_procfile_write()
10241 card->options.routing_type4=PRIMARY_ROUTER| in qeth_procfile_write()
10253 card->options.routing_type6=PRIMARY_ROUTER| in qeth_procfile_write()
10265 card->options.routing_type4=SECONDARY_ROUTER| in qeth_procfile_write()
10268 card->options.routing_type6=SECONDARY_ROUTER| in qeth_procfile_write()
10284 card->options.routing_type4=SECONDARY_ROUTER| in qeth_procfile_write()
10296 card->options.routing_type6=SECONDARY_ROUTER| in qeth_procfile_write()
10308 card->options.routing_type4=MULTICAST_ROUTER| in qeth_procfile_write()
10311 card->options.routing_type6=MULTICAST_ROUTER| in qeth_procfile_write()
10327 card->options.routing_type4=MULTICAST_ROUTER| in qeth_procfile_write()
10339 card->options.routing_type6=MULTICAST_ROUTER| in qeth_procfile_write()
10351 card->options.routing_type4=PRIMARY_CONNECTOR| in qeth_procfile_write()
10354 card->options.routing_type6=PRIMARY_CONNECTOR| in qeth_procfile_write()
10370 card->options.routing_type4=PRIMARY_CONNECTOR| in qeth_procfile_write()
10382 card->options.routing_type6=PRIMARY_CONNECTOR| in qeth_procfile_write()
10394 card->options.routing_type4=SECONDARY_CONNECTOR| in qeth_procfile_write()
10397 card->options.routing_type6=SECONDARY_CONNECTOR| in qeth_procfile_write()
10413 card->options.routing_type4=SECONDARY_CONNECTOR| in qeth_procfile_write()
10425 card->options.routing_type6=SECONDARY_CONNECTOR| in qeth_procfile_write()
10437 card->options.routing_type4=NO_ROUTER| in qeth_procfile_write()
10440 card->options.routing_type6=NO_ROUTER| in qeth_procfile_write()
10455 card->options.routing_type4=NO_ROUTER| in qeth_procfile_write()
10466 card->options.routing_type6=NO_ROUTER| in qeth_procfile_write()