Home | History | Annotate | Download | only in netboot

Lines Matching full:ioaddr

246 static unsigned short		ioaddr, irq, scb_base;
311 outb(0, ioaddr + I82586_ATTN);
328 outb(0x20, ioaddr + MISC_CTRL);
345 outb(0xA0, ioaddr + MISC_CTRL);
350 outb(0, ioaddr + I82586_ATTN);
363 outb(0, ioaddr + I82586_ATTN);
367 outb(0x80, ioaddr + MISC_CTRL);
488 outb(0, ioaddr + I82586_ATTN);
490 outb(0, ioaddr + NI52_RESET);
497 static int t507_probe1(struct nic *nic, unsigned short ioaddr)
504 if (inb(ioaddr) != '*' || inb(ioaddr+1) != '3'
505 || inb(ioaddr+2) != 'C' || inb(ioaddr+3) != 'O')
507 irq = inb(ioaddr + IRQ_CONFIG) & 0x0f;
508 mem_config = inb(ioaddr + MEM_CONFIG);
522 if_port = inb(ioaddr + ROM_CONFIG) & 0x80;
524 outb(0x01, ioaddr + MISC_CTRL);
527 nic->node_addr[i] = inb(ioaddr+i);
529 printf("\n3c507 ioaddr %#hX, IRQ %d, mem [%#X-%#X], %sternal xcvr, addr %!\n",
530 ioaddr, irq, mem_start, mem_end, if_port ? "in" : "ex", nic->node_addr);
563 for (p = probe_addrs; (ioaddr = *p) != 0; ++p)
564 if (t507_probe1(nic, ioaddr))
566 if (ioaddr != 0)
601 outb(0, ioaddr + NI52_RESET);
602 outb(0, ioaddr + I82586_ATTN);
616 outb(0, ioaddr + I82586_ATTN);
632 if (inb(ioaddr + 6) != 0x0 || inb(ioaddr + 7) != 0x55)
643 nic->node_addr[i] = inb(ioaddr+i);
645 printf("\nNI5210 ioaddr %#hX, mem [%#X-%#X], addr %!\n",
646 ioaddr, mem_start, mem_end, nic->node_addr);
670 for (p = probe_addrs; (ioaddr = *p) != 0; ++p)
673 if (ioaddr != 0)
750 outb(0, ioaddr + EXOS205_RESET);
751 outb(0, ioaddr + I82586_ATTN);
764 outb(0, ioaddr + I82586_ATTN);
787 nic->node_addr[i] = inb(ioaddr+i);
789 printf("\nEXOS205 ioaddr %#hX, mem [%#X-%#X], addr %!\n",
790 ioaddr, mem_start, mem_end, nic->node_addr);
806 for (p = probe_addrs; (ioaddr = *p) != 0; ++p)
809 if (ioaddr != 0)