[go: nahoru, domu]

Searched refs:use_mmio (Results 1 - 2 of 2) sorted by relevance

/drivers/net/ethernet/3com/
H A Dtyphoon.c54 static unsigned int use_mmio = 2; variable
137 MODULE_PARM_DESC(use_mmio, "Use MMIO (1) or PIO(0) to access the NIC. "
140 module_param(use_mmio, int, 0);
315 do { if(likely(use_mmio)) ioread32(x+TYPHOON_REG_HEARTBEAT); } while(0)
2332 if(use_mmio != 0 && use_mmio != 1)
2333 use_mmio = typhoon_test_mmio(pdev);
2335 ioaddr = pci_iomap(pdev, use_mmio, 128);
2461 use_mmio ? "MMIO" : "IO",
2462 (unsigned long long)pci_resource_start(pdev, use_mmio),
[all...]
H A D3c59x.c793 static int use_mmio[MAX_UNITS] = {[0 ... MAX_UNITS-1] = -1 }; variable
821 module_param_array(use_mmio, int, NULL, 0);
837 MODULE_PARM_DESC(global_use_mmio, "3c59x: same as use_mmio, but applies to all NICs if options is unset");
838 MODULE_PARM_DESC(use_mmio, "3c59x: use memory-mapped PCI I/O resource (0-1)");
1020 if (global_use_mmio < 0 && (unit >= MAX_UNITS || use_mmio[unit] < 0)) {
1024 } else if (unit < MAX_UNITS && use_mmio[unit] >= 0)
1025 pci_bar = use_mmio[unit] ? 1 : 0;

Completed in 64 milliseconds