Lines Matching refs:adapter_cnf
142 int adapter_cnf; /* adapter configuration from EEPROM */ member
498 if (((lp->adapter_cnf & A_CNF_DC_DC_POLARITY) != 0) ^ on_not_off) in control_dc_dc()
935 if ((lp->adapter_cnf & A_CNF_EXTND_10B_2) && in net_open()
936 (lp->adapter_cnf & A_CNF_LOW_RX_SQUELCH)) in net_open()
942 switch (lp->adapter_cnf & A_CNF_MEDIA_TYPE) { in net_open()
944 result = lp->adapter_cnf & A_CNF_10B_T; in net_open()
947 result = lp->adapter_cnf & A_CNF_AUI; in net_open()
950 result = lp->adapter_cnf & A_CNF_10B_2; in net_open()
953 result = lp->adapter_cnf & (A_CNF_10B_T | in net_open()
974 switch (lp->adapter_cnf & A_CNF_MEDIA_TYPE) { in net_open()
1002 if (lp->adapter_cnf & A_CNF_10B_T) { in net_open()
1007 if (lp->adapter_cnf & A_CNF_AUI) { in net_open()
1012 if (lp->adapter_cnf & A_CNF_10B_2) { in net_open()
1408 lp->adapter_cnf = 0; in cs89x0_probe1()
1412 lp->adapter_cnf |= A_CNF_DC_DC_POLARITY; in cs89x0_probe1()
1415 lp->adapter_cnf |= A_CNF_EXTND_10B_2 | A_CNF_LOW_RX_SQUELCH; in cs89x0_probe1()
1418 lp->adapter_cnf |= A_CNF_10B_T | A_CNF_MEDIA_10B_T; in cs89x0_probe1()
1421 lp->adapter_cnf |= A_CNF_AUI | A_CNF_MEDIA_AUI; in cs89x0_probe1()
1424 lp->adapter_cnf |= A_CNF_AUI | A_CNF_10B_T | in cs89x0_probe1()
1428 dev->name, i, lp->adapter_cnf); in cs89x0_probe1()
1461 if (!lp->adapter_cnf) in cs89x0_probe1()
1462 lp->adapter_cnf = eeprom_buff[ADAPTER_CNF_OFFSET / 2]; in cs89x0_probe1()
1475 dev->name, lp->adapter_cnf); in cs89x0_probe1()
1482 lp->adapter_cnf |= A_CNF_10B_T; in cs89x0_probe1()
1486 lp->adapter_cnf |= A_CNF_AUI; in cs89x0_probe1()
1490 lp->adapter_cnf |= A_CNF_10B_2; in cs89x0_probe1()
1494 lp->adapter_cnf |= A_CNF_MEDIA_AUTO; in cs89x0_probe1()
1496 lp->adapter_cnf |= A_CNF_MEDIA_10B_T; in cs89x0_probe1()
1498 lp->adapter_cnf |= A_CNF_MEDIA_AUI; in cs89x0_probe1()
1500 lp->adapter_cnf |= A_CNF_MEDIA_10B_2; in cs89x0_probe1()
1504 dev->name, lp->force, lp->adapter_cnf); in cs89x0_probe1()
1515 (lp->adapter_cnf & A_CNF_10B_T) ? "RJ-45," : "", in cs89x0_probe1()
1516 (lp->adapter_cnf & A_CNF_AUI) ? "AUI," : "", in cs89x0_probe1()
1517 (lp->adapter_cnf & A_CNF_10B_2) ? "BNC," : ""); in cs89x0_probe1()
1791 lp->adapter_cnf = A_CNF_MEDIA_10B_T | A_CNF_10B_T; in cs89x0_isa_init_module()
1793 lp->adapter_cnf = A_CNF_MEDIA_AUI | A_CNF_AUI; in cs89x0_isa_init_module()
1795 lp->adapter_cnf = A_CNF_MEDIA_10B_2 | A_CNF_10B_2; in cs89x0_isa_init_module()
1797 lp->adapter_cnf = A_CNF_MEDIA_10B_T | A_CNF_10B_T; in cs89x0_isa_init_module()