Lines Matching defs:options
46 the feature may be turned on using 'options'. */
309 int options; /* User-settable misc. driver options. */
390 /* This driver uses 'options' to pass the media type, full-duplex flag, etc. */
392 static int options[MAX_UNITS] = { -1, -1, -1, -1, -1, -1, -1, -1, };
398 module_param_array(options, int, NULL, 0);
402 MODULE_PARM_DESC(options, "3c515: Bits 0-2: media type, bit 3: full duplex, bit 4: bus mastering");
587 vp->options = dev->mem_start;
590 if (!vp->options) {
592 vp->options = -1;
594 vp->options = options[card_number];
597 if (vp->options >= 0) {
598 vp->media_override = vp->options & 7;
601 vp->full_duplex = (vp->options & 8) ? 1 : 0;
602 vp->bus_master = (vp->options & 16) ? 1 : 0;