Lines Matching refs:adapter_cnf
141 int adapter_cnf; /* adapter configuration from EEPROM */ member
497 if (((lp->adapter_cnf & A_CNF_DC_DC_POLARITY) != 0) ^ on_not_off) in control_dc_dc()
934 if ((lp->adapter_cnf & A_CNF_EXTND_10B_2) && in net_open()
935 (lp->adapter_cnf & A_CNF_LOW_RX_SQUELCH)) in net_open()
941 switch (lp->adapter_cnf & A_CNF_MEDIA_TYPE) { in net_open()
943 result = lp->adapter_cnf & A_CNF_10B_T; in net_open()
946 result = lp->adapter_cnf & A_CNF_AUI; in net_open()
949 result = lp->adapter_cnf & A_CNF_10B_2; in net_open()
952 result = lp->adapter_cnf & (A_CNF_10B_T | in net_open()
973 switch (lp->adapter_cnf & A_CNF_MEDIA_TYPE) { in net_open()
1001 if (lp->adapter_cnf & A_CNF_10B_T) { in net_open()
1006 if (lp->adapter_cnf & A_CNF_AUI) { in net_open()
1011 if (lp->adapter_cnf & A_CNF_10B_2) { in net_open()
1407 lp->adapter_cnf = 0; in cs89x0_probe1()
1411 lp->adapter_cnf |= A_CNF_DC_DC_POLARITY; in cs89x0_probe1()
1414 lp->adapter_cnf |= A_CNF_EXTND_10B_2 | A_CNF_LOW_RX_SQUELCH; in cs89x0_probe1()
1417 lp->adapter_cnf |= A_CNF_10B_T | A_CNF_MEDIA_10B_T; in cs89x0_probe1()
1420 lp->adapter_cnf |= A_CNF_AUI | A_CNF_MEDIA_AUI; in cs89x0_probe1()
1423 lp->adapter_cnf |= A_CNF_AUI | A_CNF_10B_T | in cs89x0_probe1()
1427 dev->name, i, lp->adapter_cnf); in cs89x0_probe1()
1460 if (!lp->adapter_cnf) in cs89x0_probe1()
1461 lp->adapter_cnf = eeprom_buff[ADAPTER_CNF_OFFSET / 2]; in cs89x0_probe1()
1474 dev->name, lp->adapter_cnf); in cs89x0_probe1()
1481 lp->adapter_cnf |= A_CNF_10B_T; in cs89x0_probe1()
1485 lp->adapter_cnf |= A_CNF_AUI; in cs89x0_probe1()
1489 lp->adapter_cnf |= A_CNF_10B_2; in cs89x0_probe1()
1493 lp->adapter_cnf |= A_CNF_MEDIA_AUTO; in cs89x0_probe1()
1495 lp->adapter_cnf |= A_CNF_MEDIA_10B_T; in cs89x0_probe1()
1497 lp->adapter_cnf |= A_CNF_MEDIA_AUI; in cs89x0_probe1()
1499 lp->adapter_cnf |= A_CNF_MEDIA_10B_2; in cs89x0_probe1()
1503 dev->name, lp->force, lp->adapter_cnf); in cs89x0_probe1()
1514 (lp->adapter_cnf & A_CNF_10B_T) ? "RJ-45," : "", in cs89x0_probe1()
1515 (lp->adapter_cnf & A_CNF_AUI) ? "AUI," : "", in cs89x0_probe1()
1516 (lp->adapter_cnf & A_CNF_10B_2) ? "BNC," : ""); in cs89x0_probe1()
1790 lp->adapter_cnf = A_CNF_MEDIA_10B_T | A_CNF_10B_T; in cs89x0_isa_init_module()
1792 lp->adapter_cnf = A_CNF_MEDIA_AUI | A_CNF_AUI; in cs89x0_isa_init_module()
1794 lp->adapter_cnf = A_CNF_MEDIA_10B_2 | A_CNF_10B_2; in cs89x0_isa_init_module()
1796 lp->adapter_cnf = A_CNF_MEDIA_10B_T | A_CNF_10B_T; in cs89x0_isa_init_module()