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()
1405 lp->adapter_cnf = 0; in cs89x0_probe1()
1409 lp->adapter_cnf |= A_CNF_DC_DC_POLARITY; in cs89x0_probe1()
1412 lp->adapter_cnf |= A_CNF_EXTND_10B_2 | A_CNF_LOW_RX_SQUELCH; in cs89x0_probe1()
1415 lp->adapter_cnf |= A_CNF_10B_T | A_CNF_MEDIA_10B_T; in cs89x0_probe1()
1418 lp->adapter_cnf |= A_CNF_AUI | A_CNF_MEDIA_AUI; in cs89x0_probe1()
1421 lp->adapter_cnf |= A_CNF_AUI | A_CNF_10B_T | in cs89x0_probe1()
1425 dev->name, i, lp->adapter_cnf); in cs89x0_probe1()
1458 if (!lp->adapter_cnf) in cs89x0_probe1()
1459 lp->adapter_cnf = eeprom_buff[ADAPTER_CNF_OFFSET / 2]; in cs89x0_probe1()
1471 dev->name, lp->adapter_cnf); in cs89x0_probe1()
1478 lp->adapter_cnf |= A_CNF_10B_T; in cs89x0_probe1()
1482 lp->adapter_cnf |= A_CNF_AUI; in cs89x0_probe1()
1486 lp->adapter_cnf |= A_CNF_10B_2; in cs89x0_probe1()
1490 lp->adapter_cnf |= A_CNF_MEDIA_AUTO; in cs89x0_probe1()
1492 lp->adapter_cnf |= A_CNF_MEDIA_10B_T; in cs89x0_probe1()
1494 lp->adapter_cnf |= A_CNF_MEDIA_AUI; in cs89x0_probe1()
1496 lp->adapter_cnf |= A_CNF_MEDIA_10B_2; in cs89x0_probe1()
1500 dev->name, lp->force, lp->adapter_cnf); in cs89x0_probe1()
1511 (lp->adapter_cnf & A_CNF_10B_T) ? "RJ-45," : "", in cs89x0_probe1()
1512 (lp->adapter_cnf & A_CNF_AUI) ? "AUI," : "", in cs89x0_probe1()
1513 (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 init_module()
1792 lp->adapter_cnf = A_CNF_MEDIA_AUI | A_CNF_AUI; in init_module()
1794 lp->adapter_cnf = A_CNF_MEDIA_10B_2 | A_CNF_10B_2; in init_module()
1796 lp->adapter_cnf = A_CNF_MEDIA_10B_T | A_CNF_10B_T; in init_module()