Searched refs:use_mmio (Results 1 – 2 of 2) sorted by relevance
/drivers/net/ethernet/3com/ |
D | typhoon.c | 54 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) in typhoon_init_one() 2333 use_mmio = typhoon_test_mmio(pdev); in typhoon_init_one() 2335 ioaddr = pci_iomap(pdev, use_mmio, 128); in typhoon_init_one() 2464 use_mmio ? "MMIO" : "IO", in typhoon_init_one() 2465 (unsigned long long)pci_resource_start(pdev, use_mmio), in typhoon_init_one()
|
D | 3c59x.c | 793 static int use_mmio[MAX_UNITS] = {[0 ... MAX_UNITS-1] = -1 }; variable 821 module_param_array(use_mmio, int, NULL, 0); 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)) { in vortex_init_one() 1024 } else if (unit < MAX_UNITS && use_mmio[unit] >= 0) in vortex_init_one() 1025 pci_bar = use_mmio[unit] ? 1 : 0; in vortex_init_one()
|