taglinefilesource code
nic_base221drivers/net/hp.cint nic_base = dev->base_addr;
nic_base222drivers/net/hp.cint saved_config = inb_p(nic_base - NIC_OFFSET + HP_CONFIGURE);
nic_base225drivers/net/hp.coutb_p(saved_config | HP_DATAON, nic_base - NIC_OFFSET + HP_CONFIGURE);
nic_base226drivers/net/hp.coutb_p(E8390_NODMA+E8390_PAGE0+E8390_START, nic_base);
nic_base227drivers/net/hp.coutb_p(count & 0xff, nic_base + EN0_RCNTLO);
nic_base228drivers/net/hp.coutb_p(count >> 8, nic_base + EN0_RCNTHI);
nic_base229drivers/net/hp.coutb_p(ring_offset & 0xff, nic_base + EN0_RSARLO);
nic_base230drivers/net/hp.coutb_p(ring_offset >> 8, nic_base + EN0_RSARHI);
nic_base231drivers/net/hp.coutb_p(E8390_RREAD+E8390_START, nic_base);
nic_base233drivers/net/hp.cinsw(nic_base - NIC_OFFSET + HP_DATAPORT,buf,count>>1);
nic_base235drivers/net/hp.cbuf[count-1] = inb(nic_base - NIC_OFFSET + HP_DATAPORT), xfer_count++;
nic_base237drivers/net/hp.cinsb(nic_base - NIC_OFFSET + HP_DATAPORT, buf, count);
nic_base241drivers/net/hp.cint high = inb_p(nic_base + EN0_RSARHI);
nic_base242drivers/net/hp.cint low = inb_p(nic_base + EN0_RSARLO);
nic_base249drivers/net/hp.coutb_p(saved_config & (~HP_DATAON), nic_base - NIC_OFFSET + HP_CONFIGURE);
nic_base257drivers/net/hp.cint nic_base = dev->base_addr;
nic_base258drivers/net/hp.cint saved_config = inb_p(nic_base - NIC_OFFSET + HP_CONFIGURE);
nic_base260drivers/net/hp.coutb_p(saved_config | HP_DATAON, nic_base - NIC_OFFSET + HP_CONFIGURE);
nic_base267drivers/net/hp.coutb_p(E8390_PAGE0+E8390_START+E8390_NODMA, nic_base);
nic_base272drivers/net/hp.coutb_p(0x42, nic_base + EN0_RCNTLO);
nic_base273drivers/net/hp.coutb_p(0,  nic_base + EN0_RCNTHI);
nic_base274drivers/net/hp.coutb_p(0xff, nic_base + EN0_RSARLO);
nic_base275drivers/net/hp.coutb_p(0x00, nic_base + EN0_RSARHI);
nic_base282drivers/net/hp.coutb_p(count & 0xff, nic_base + EN0_RCNTLO);
nic_base283drivers/net/hp.coutb_p(count >> 8,   nic_base + EN0_RCNTHI);
nic_base284drivers/net/hp.coutb_p(0x00, nic_base + EN0_RSARLO);
nic_base285drivers/net/hp.coutb_p(start_page, nic_base + EN0_RSARHI);
nic_base287drivers/net/hp.coutb_p(E8390_RWRITE+E8390_START, nic_base);
nic_base290drivers/net/hp.coutsw(nic_base - NIC_OFFSET + HP_DATAPORT, buf, count>>1);
nic_base292drivers/net/hp.coutsb(nic_base - NIC_OFFSET + HP_DATAPORT, buf, count);
nic_base299drivers/net/hp.cint high = inb_p(nic_base + EN0_RSARHI);
nic_base300drivers/net/hp.cint low  = inb_p(nic_base + EN0_RSARLO);
nic_base306drivers/net/hp.coutb_p(saved_config & (~HP_DATAON), nic_base - NIC_OFFSET + HP_CONFIGURE);
nic_base322drivers/net/ne.cint nic_base = dev->base_addr;
nic_base333drivers/net/ne.coutb_p(E8390_NODMA+E8390_PAGE0+E8390_START, nic_base+ NE_CMD);
nic_base334drivers/net/ne.coutb_p(count & 0xff, nic_base + EN0_RCNTLO);
nic_base335drivers/net/ne.coutb_p(count >> 8, nic_base + EN0_RCNTHI);
nic_base336drivers/net/ne.coutb_p(ring_offset & 0xff, nic_base + EN0_RSARLO);
nic_base337drivers/net/ne.coutb_p(ring_offset >> 8, nic_base + EN0_RSARHI);
nic_base338drivers/net/ne.coutb_p(E8390_RREAD+E8390_START, nic_base + NE_CMD);
nic_base356drivers/net/ne.cint high = inb_p(nic_base + EN0_RSARHI);
nic_base357drivers/net/ne.cint low = inb_p(nic_base + EN0_RSARLO);
nic_base376drivers/net/ne.cint nic_base = NE_BASE;
nic_base393drivers/net/ne.coutb_p(E8390_PAGE0+E8390_START+E8390_NODMA, nic_base + NE_CMD);
nic_base401drivers/net/ne.coutb_p(0x42, nic_base + EN0_RCNTLO);
nic_base402drivers/net/ne.coutb_p(0x00,   nic_base + EN0_RCNTHI);
nic_base403drivers/net/ne.coutb_p(0x42, nic_base + EN0_RSARLO);
nic_base404drivers/net/ne.coutb_p(0x00, nic_base + EN0_RSARHI);
nic_base405drivers/net/ne.coutb_p(E8390_RREAD+E8390_START, nic_base + NE_CMD);
nic_base413drivers/net/ne.coutb_p(count & 0xff, nic_base + EN0_RCNTLO);
nic_base414drivers/net/ne.coutb_p(count >> 8,   nic_base + EN0_RCNTHI);
nic_base415drivers/net/ne.coutb_p(0x00, nic_base + EN0_RSARLO);
nic_base416drivers/net/ne.coutb_p(start_page, nic_base + EN0_RSARHI);
nic_base418drivers/net/ne.coutb_p(E8390_RWRITE+E8390_START, nic_base + NE_CMD);
nic_base432drivers/net/ne.cint high = inb_p(nic_base + EN0_RSARHI);
nic_base433drivers/net/ne.cint low = inb_p(nic_base + EN0_RSARLO);