/osnet-11/usr/src/grub/grub-0.97/netboot/ |
H A D | via-rhine.c | 50 /* define all ioaddr */ 52 #define byPAR0 ioaddr 53 #define byRCR ioaddr + 6 54 #define byTCR ioaddr + 7 55 #define byCR0 ioaddr + 8 56 #define byCR1 ioaddr + 9 57 #define byISR0 ioaddr + 0x0c 58 #define byISR1 ioaddr + 0x0d 59 #define byIMR0 ioaddr + 0x0e 60 #define byIMR1 ioaddr 640 unsigned short ioaddr; member in struct:rhine_private 713 QueryAuto(int ioaddr) argument 739 ReadMII(int byMIIIndex, int ioaddr) argument 777 WriteMII(char byMIISetByte, char byMIISetBit, char byMIIOP, int ioaddr) argument 936 int ioaddr = tp->ioaddr; local 947 rhine_probe1(struct nic *nic, int ioaddr, int chip_id, int options) argument 1076 int ioaddr = tp->ioaddr; local 1095 int ioaddr = tp->ioaddr; local 1253 int ioaddr = tp->ioaddr; local [all...] |
H A D | rtl8139.c | 198 nic->ioaddr = pci->ioaddr & ~3; 206 outb(0x00, nic->ioaddr + Config1); 212 speed10 = inb(nic->ioaddr + MediaStatus) & MSRSpeed10; 213 fullduplex = inw(nic->ioaddr + MII_BMCR) & BMCRDuplex; 214 printf("ioaddr %#hX, irq %d, addr %! %sMbps %s-duplex\n", nic->ioaddr, 220 if (inb(nic->ioaddr + MediaStatus) & MSRLinkFail) { 260 long ee_addr = nic->ioaddr + Cfg9346; 304 outl(rtl8139_rx_config | rx_mode, nic->ioaddr [all...] |
H A D | eepro100.c | 102 static int ioaddr; variable 291 ioaddr + SCBCtrlMDI); 295 val = inl(ioaddr + SCBCtrlMDI); 312 outl(0x08000000 | (location<<16) | (phy_id<<21), ioaddr + SCBCtrlMDI); 316 val = inl(ioaddr + SCBCtrlMDI); 336 long ee_addr = ioaddr + SCBeeprom; 397 status = inw(ioaddr + SCBStatus); 399 outw(status & 0xfc00, ioaddr + SCBStatus); 403 t, s, status, inw (ioaddr + SCBCmd)); 428 outl(virt_to_bus(&txfd), ioaddr [all...] |
H A D | natsemi.c | 192 static unsigned long ioaddr; variable 236 * leaves the ioaddress of the natsemi chip in the variable ioaddr. 250 if (pci->ioaddr == 0) 258 nic->ioaddr = pci->ioaddr & ~3; 260 ioaddr = pci->ioaddr & ~3; 278 prev_eedata = eeprom_read(ioaddr, 6); 280 int eedata = eeprom_read(ioaddr, i + 7); 286 printf("\nnatsemi_probe: MAC addr %! at ioaddr [all...] |
H A D | pcnet32.c | 64 static u32 ioaddr; /* Globally used for the card's io address */ variable 444 lp->a.reset(ioaddr); 447 lp->a.write_bcr(ioaddr, 20, 2); 450 val = lp->a.read_bcr(ioaddr, 2) & ~2; 453 lp->a.write_bcr(ioaddr, 2, val); 456 val = lp->a.read_bcr(ioaddr, 9) & ~3; 465 read_csr(ioaddr, 466 88) | (lp->a.read_csr(ioaddr, 472 lp->a.write_bcr(ioaddr, 9, val); 476 val = lp->a.read_csr(ioaddr, 12 [all...] |
H A D | tulip.c | 392 static u32 ioaddr; variable 481 static int read_eeprom(unsigned long ioaddr, int location, int addr_len); 571 long mdio_addr = ioaddr + CSR9; 579 outl(0x60020000 + (phy_id<<23) + (location<<18), ioaddr + 0xA0); 580 inl(ioaddr + 0xA0); 581 inl(ioaddr + 0xA0); 583 if ( ! ((retval = inl(ioaddr + 0xA0)) & 0x80000000)) 591 return inl(ioaddr + 0xB4 + (location<<2)); 593 return inl(ioaddr + 0xD0); 595 return inl(ioaddr 690 read_eeprom(unsigned long ioaddr, int location, int addr_len) argument [all...] |
H A D | sis900.c | 57 static unsigned long ioaddr; variable 201 /* long ioaddr = net_dev->base_addr; */ 202 long ee_addr = ioaddr + mear; 282 rfcrSave = inl(rfcr + ioaddr); 284 outl(rfcrSave | RELOAD, ioaddr + cr); 285 outl(0, ioaddr + cr); 288 outl(rfcrSave & ~RFEN, rfcr + ioaddr); 292 outl((i << RFADDR_shift), ioaddr + rfcr); 293 *( ((u16 *)nic->node_addr) + i) = inw(ioaddr + rfdr); 297 outl(rfcrSave | RFEN, rfcr + ioaddr); [all...] |
H A D | davicom.c | 133 static unsigned long ioaddr; variable 156 static int read_eeprom(unsigned long ioaddr, int location, int addr_len); 219 io_dcr9 = ioaddr + CSR9; 263 io_dcr9 = ioaddr + CSR9; 358 outl(csr6, ioaddr + CSR6); 377 outl(csr6, ioaddr + CSR6); 393 static int read_eeprom(unsigned long ioaddr, int location, int addr_len) 397 long ee_addr = ioaddr + CSR9; 488 outl(inl(ioaddr + CSR6) & ~0x00002002, ioaddr 389 read_eeprom(unsigned long ioaddr, int location, int addr_len) argument [all...] |
H A D | epic100.c | 62 static int ioaddr; variable 105 if (pci->ioaddr == 0) 113 ioaddr = pci->ioaddr; 115 nic->ioaddr = pci->ioaddr & ~3; 118 command = ioaddr + COMMAND; /* Control Register */ 119 intstat = ioaddr + INTSTAT; /* Interrupt Status */ 120 intmask = ioaddr + INTMASK; /* Interrupt Mask */ 121 genctl = ioaddr [all...] |
H A D | 3c90x.c | 255 a3c90x_internal_IssueCommand(int ioaddr, int cmd, int param) argument 265 outw(val, ioaddr + regCommandIntStatus_w); 268 while (inw(ioaddr + regCommandIntStatus_w) & INT_CMDINPROGRESS); 277 a3c90x_internal_SetWindow(int ioaddr, int window) argument 284 a3c90x_internal_IssueCommand(ioaddr, cmdSelectRegisterWindow, window); 294 a3c90x_internal_ReadEeprom(int ioaddr, int address) argument 302 while((1<<15) & inw(ioaddr + regEepromCommand_0_w)); 305 outw(address + ((0x02)<<6), ioaddr + regEepromCommand_0_w); 306 while((1<<15) & inw(ioaddr + regEepromCommand_0_w)); 307 val = inw(ioaddr [all...] |
H A D | w89c840.c | 259 static int ioaddr; variable 264 static int eeprom_read(long ioaddr, int location); 309 writel(0x00000001, ioaddr + PCIBusCfg); 313 writel(virt_to_bus(w840private.rx_ring), ioaddr + RxRingPtr); 314 writel(virt_to_bus(w840private.tx_ring), ioaddr + TxRingPtr); 317 writeb(nic->node_addr[i], ioaddr + StationAddr + i); 331 writel(0xE010, ioaddr + PCIBusCfg); 333 writel(0, ioaddr + RxStartDemand); 340 writel(0x1A0F5, ioaddr + IntrStatus); 341 writel(0x1A0F5, ioaddr [all...] |
H A D | nic.h | 35 unsigned int ioaddr; member in struct:nic
|
H A D | pnic.c | 58 outw ( input_length, nic->ioaddr + PNIC_REG_LEN ); 61 outb( ((char*)input)[i], nic->ioaddr + PNIC_REG_DATA ); 65 outw ( command, nic->ioaddr + PNIC_REG_CMD ); 67 status = inw ( nic->ioaddr + PNIC_REG_STAT ); 69 _output_length = inw ( nic->ioaddr + PNIC_REG_LEN ); 89 inb ( nic->ioaddr + PNIC_REG_DATA ); 227 nic->ioaddr = pci->ioaddr & ~3; 245 nic->ioaddr );
|
H A D | pci.c | 269 uint32_t l, membase, ioaddr, romaddr; local 361 /* Get the ``ioaddr'' */ 363 pcibios_read_config_dword(bus, devfn, reg, &ioaddr); 364 if ((ioaddr & PCI_BASE_ADDRESS_IO_MASK) == 0 || (ioaddr & PCI_BASE_ADDRESS_SPACE_IO) == 0) 369 ioaddr &= PCI_BASE_ADDRESS_IO_MASK; 372 dev->ioaddr = ioaddr;
|
H A D | r8169.c | 64 static u32 ioaddr; variable 121 #define RTL_W8(reg, val8) writeb ((val8), ioaddr + (reg)) 122 #define RTL_W16(reg, val16) writew ((val16), ioaddr + (reg)) 123 #define RTL_W32(reg, val32) writel ((val32), ioaddr + (reg)) 124 #define RTL_R8(reg) readb (ioaddr + (reg)) 125 #define RTL_R16(reg) readw (ioaddr + (reg)) 126 #define RTL_R32(reg) ((unsigned long) readl (ioaddr + (reg))) 381 ioaddr = (unsigned long) ioremap(rtreg_base, rtreg_len); 382 if (ioaddr == 0) 385 tpc->mmio_addr = &ioaddr; [all...] |
H A D | sundance.c | 309 static int eeprom_read(long ioaddr, int location); 454 intr_status = inw(nic->ioaddr + IntrStatus); 458 outw(intr_status, nic->ioaddr + IntrEnable); 485 intr_status = inw(nic->ioaddr + IntrStatus); 486 outw(intr_status, nic->ioaddr + IntrStatus); 508 nic->ioaddr + IntrStatus); 593 if (pci->ioaddr == 0) 597 BASE = pci->ioaddr; 627 printf("%s: %! at ioaddr %hX, ", pci->name, nic->node_addr, BASE); 747 nic->ioaddr 754 eeprom_read(long ioaddr, int location) argument [all...] |
H A D | 3c595.c | 476 if (pci->ioaddr == 0) 479 eth_nic_base = pci->ioaddr; 482 nic->ioaddr = pci->ioaddr & ~3;
|
H A D | ns83820.c | 821 if (pci->ioaddr == 0) 842 nic->ioaddr = pci->ioaddr & ~3; 984 printf("%! at ioaddr 0x%hX, ", nic->node_addr, ns->base); 994 nic->node_addr, pci->ioaddr));
|
H A D | ns8390.c | 620 unsigned short pci_probe_addrs[] = { pci->ioaddr, 0 }; 653 nic->ioaddr = eth_nic_base; 818 nic->ioaddr = eth_nic_base; 923 nic->ioaddr = eth_nic_base;
|
H A D | pci.h | 272 /* membase and ioaddr are silly and depricated */ 274 unsigned int ioaddr; member in struct:pci_device
|
H A D | tlan.c | 845 if (pci->ioaddr == 0) 849 nic->ioaddr = pci->ioaddr & ~3; 851 BASE = pci->ioaddr;
|
H A D | forcedeth.c | 935 if (pci->ioaddr == 0) 942 nic->ioaddr = pci->ioaddr & ~3;
|
H A D | e1000.c | 3591 nic->ioaddr = p->ioaddr & ~3;
|
H A D | tg3.c | 3171 nic->ioaddr = pdev->ioaddr & ~3;
|