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