Searched refs:this_dev (Results 1 – 5 of 5) sorted by relevance
/drivers/net/ethernet/8390/ |
D | ne.c | 804 int err, this_dev = pdev->id; in ne_drv_probe() local 820 if (this_dev < 0 || this_dev >= MAX_NE_CARDS) { in ne_drv_probe() 824 dev->base_addr = io[this_dev]; in ne_drv_probe() 825 dev->irq = irq[this_dev]; in ne_drv_probe() 826 dev->mem_end = bad[this_dev]; in ne_drv_probe() 840 io[this_dev] = dev->base_addr; in ne_drv_probe() 841 irq[this_dev] = dev->irq; in ne_drv_probe() 871 int this_dev; in ne_loop_rm_unreg() local 873 for (this_dev = 0; this_dev < MAX_NE_CARDS; this_dev++) { in ne_loop_rm_unreg() 874 pdev = pdev_ne[this_dev]; in ne_loop_rm_unreg() [all …]
|
D | wd.c | 526 int this_dev, found = 0; in init_module() local 528 for (this_dev = 0; this_dev < MAX_WD_CARDS; this_dev++) { in init_module() 529 if (io[this_dev] == 0) { in init_module() 530 if (this_dev != 0) break; /* only autoprobe 1st one */ in init_module() 536 dev->irq = irq[this_dev]; in init_module() 537 dev->base_addr = io[this_dev]; in init_module() 538 dev->mem_start = mem[this_dev]; in init_module() 539 dev->mem_end = mem_end[this_dev]; in init_module() 545 printk(KERN_WARNING "wd.c: No wd80x3 card found (i/o = 0x%x).\n", io[this_dev]); in init_module() 563 int this_dev; in cleanup_module() local [all …]
|
D | smc-ultra.c | 580 int this_dev, found = 0; in init_module() local 582 for (this_dev = 0; this_dev < MAX_ULTRA_CARDS; this_dev++) { in init_module() 583 if (io[this_dev] == 0) { in init_module() 584 if (this_dev != 0) break; /* only autoprobe 1st one */ in init_module() 590 dev->irq = irq[this_dev]; in init_module() 591 dev->base_addr = io[this_dev]; in init_module() 597 printk(KERN_WARNING "smc-ultra.c: No SMC Ultra card found (i/o = 0x%x).\n", io[this_dev]); in init_module() 620 int this_dev; in cleanup_module() local 622 for (this_dev = 0; this_dev < MAX_ULTRA_CARDS; this_dev++) { in cleanup_module() 623 struct net_device *dev = dev_ultra[this_dev]; in cleanup_module()
|
/drivers/net/ethernet/amd/ |
D | lance.c | 333 int this_dev, found = 0; in init_module() local 335 for (this_dev = 0; this_dev < MAX_CARDS; this_dev++) { in init_module() 336 if (io[this_dev] == 0) { in init_module() 337 if (this_dev != 0) /* only complain once */ in init_module() 345 dev->irq = irq[this_dev]; in init_module() 346 dev->base_addr = io[this_dev]; in init_module() 347 dev->dma = dma[this_dev]; in init_module() 373 int this_dev; in cleanup_module() local 375 for (this_dev = 0; this_dev < MAX_CARDS; this_dev++) { in cleanup_module() 376 struct net_device *dev = dev_lance[this_dev]; in cleanup_module()
|
/drivers/net/ethernet/dec/tulip/ |
D | de4x5.c | 2130 struct pci_dev *this_dev; in srom_search() local 2132 list_for_each_entry(this_dev, &pdev->bus->devices, bus_list) { in srom_search() 2133 vendor = this_dev->vendor; in srom_search() 2134 device = this_dev->device << 8; in srom_search() 2138 pb = this_dev->bus->number; in srom_search() 2141 lp->device = PCI_SLOT(this_dev->devfn); in srom_search() 2146 device = ((this_dev->revision & CFRV_RN) < DC2114x_BRK in srom_search() 2152 iobase = pci_resource_start(this_dev, 0); in srom_search() 2155 irq = this_dev->irq; in srom_search() 2159 pci_read_config_word(this_dev, PCI_COMMAND, &status); in srom_search()
|