Lines Matching defs:options
112 * to internal options
133 #define MAX_UNITS 8 /* More are supported, limit only on options */
134 static int options[MAX_UNITS];
267 int options;
451 if (lp->options & PCNET32_PORT_ASEL)
457 if (lp->options & PCNET32_PORT_FD) {
459 if (lp->options ==
462 } else if (lp->options & PCNET32_PORT_ASEL) {
477 if ((lp->options & PCNET32_PORT_PORTSEL) == PCNET32_PORT_GPSI)
481 if (lp->mii && !(lp->options & PCNET32_PORT_ASEL)) {
483 if (lp->options & PCNET32_PORT_FD)
485 if (lp->options & PCNET32_PORT_100)
489 if (lp->options & PCNET32_PORT_ASEL) { /* enable auto negotiate, setup, disable fd */
510 le16_to_cpu((lp->options & PCNET32_PORT_PORTSEL) << 7);
857 || ((unsigned int) options[cards_found] > sizeof(options_mapping)))
858 lp->options = PCNET32_PORT_ASEL;
860 lp->options = options_mapping[options[cards_found]];
862 if (fdx && !(lp->options & PCNET32_PORT_ASEL) &&
864 lp->options |= PCNET32_PORT_FD;
875 lp->options = PCNET32_PORT_FD | PCNET32_PORT_GPSI;