taglinefilesource code
nic_base220drivers/net/hp.cint nic_base = dev->base_addr;
nic_base221drivers/net/hp.cint saved_config = inb_p(nic_base - NIC_OFFSET + HP_CONFIGURE);
nic_base224drivers/net/hp.coutb_p(saved_config | HP_DATAON, nic_base - NIC_OFFSET + HP_CONFIGURE);
nic_base225drivers/net/hp.coutb_p(E8390_NODMA+E8390_PAGE0+E8390_START, nic_base);
nic_base226drivers/net/hp.coutb_p(count & 0xff, nic_base + EN0_RCNTLO);
nic_base227drivers/net/hp.coutb_p(count >> 8, nic_base + EN0_RCNTHI);
nic_base228drivers/net/hp.coutb_p(ring_offset & 0xff, nic_base + EN0_RSARLO);
nic_base229drivers/net/hp.coutb_p(ring_offset >> 8, nic_base + EN0_RSARHI);
nic_base230drivers/net/hp.coutb_p(E8390_RREAD+E8390_START, nic_base);
nic_base232drivers/net/hp.cinsw(nic_base - NIC_OFFSET + HP_DATAPORT,buf,count>>1);
nic_base234drivers/net/hp.cbuf[count-1] = inb(nic_base - NIC_OFFSET + HP_DATAPORT), xfer_count++;
nic_base236drivers/net/hp.cinsb(nic_base - NIC_OFFSET + HP_DATAPORT, buf, count);
nic_base240drivers/net/hp.cint high = inb_p(nic_base + EN0_RSARHI);
nic_base241drivers/net/hp.cint low = inb_p(nic_base + EN0_RSARLO);
nic_base248drivers/net/hp.coutb_p(saved_config & (~HP_DATAON), nic_base - NIC_OFFSET + HP_CONFIGURE);
nic_base256drivers/net/hp.cint nic_base = dev->base_addr;
nic_base257drivers/net/hp.cint saved_config = inb_p(nic_base - NIC_OFFSET + HP_CONFIGURE);
nic_base259drivers/net/hp.coutb_p(saved_config | HP_DATAON, nic_base - NIC_OFFSET + HP_CONFIGURE);
nic_base266drivers/net/hp.coutb_p(E8390_PAGE0+E8390_START+E8390_NODMA, nic_base);
nic_base271drivers/net/hp.coutb_p(0x42, nic_base + EN0_RCNTLO);
nic_base272drivers/net/hp.coutb_p(0,  nic_base + EN0_RCNTHI);
nic_base273drivers/net/hp.coutb_p(0xff, nic_base + EN0_RSARLO);
nic_base274drivers/net/hp.coutb_p(0x00, nic_base + EN0_RSARHI);
nic_base281drivers/net/hp.coutb_p(count & 0xff, nic_base + EN0_RCNTLO);
nic_base282drivers/net/hp.coutb_p(count >> 8,   nic_base + EN0_RCNTHI);
nic_base283drivers/net/hp.coutb_p(0x00, nic_base + EN0_RSARLO);
nic_base284drivers/net/hp.coutb_p(start_page, nic_base + EN0_RSARHI);
nic_base286drivers/net/hp.coutb_p(E8390_RWRITE+E8390_START, nic_base);
nic_base289drivers/net/hp.coutsw(nic_base - NIC_OFFSET + HP_DATAPORT, buf, count>>1);
nic_base291drivers/net/hp.coutsb(nic_base - NIC_OFFSET + HP_DATAPORT, buf, count);
nic_base298drivers/net/hp.cint high = inb_p(nic_base + EN0_RSARHI);
nic_base299drivers/net/hp.cint low  = inb_p(nic_base + EN0_RSARLO);
nic_base305drivers/net/hp.coutb_p(saved_config & (~HP_DATAON), nic_base - NIC_OFFSET + HP_CONFIGURE);
nic_base293drivers/net/ne.cint nic_base = dev->base_addr;
nic_base303drivers/net/ne.coutb_p(E8390_NODMA+E8390_PAGE0+E8390_START, nic_base+ NE_CMD);
nic_base304drivers/net/ne.coutb_p(count & 0xff, nic_base + EN0_RCNTLO);
nic_base305drivers/net/ne.coutb_p(count >> 8, nic_base + EN0_RCNTHI);
nic_base306drivers/net/ne.coutb_p(ring_offset & 0xff, nic_base + EN0_RSARLO);
nic_base307drivers/net/ne.coutb_p(ring_offset >> 8, nic_base + EN0_RSARHI);
nic_base308drivers/net/ne.coutb_p(E8390_RREAD+E8390_START, nic_base + NE_CMD);
nic_base326drivers/net/ne.cint high = inb_p(nic_base + EN0_RSARHI);
nic_base327drivers/net/ne.cint low = inb_p(nic_base + EN0_RSARLO);
nic_base346drivers/net/ne.cint nic_base = NE_BASE;
nic_base362drivers/net/ne.coutb_p(E8390_PAGE0+E8390_START+E8390_NODMA, nic_base + NE_CMD);
nic_base370drivers/net/ne.coutb_p(0x42, nic_base + EN0_RCNTLO);
nic_base371drivers/net/ne.coutb_p(0x00,   nic_base + EN0_RCNTHI);
nic_base372drivers/net/ne.coutb_p(0x42, nic_base + EN0_RSARLO);
nic_base373drivers/net/ne.coutb_p(0x00, nic_base + EN0_RSARHI);
nic_base374drivers/net/ne.coutb_p(E8390_RREAD+E8390_START, nic_base + NE_CMD);
nic_base382drivers/net/ne.coutb_p(count & 0xff, nic_base + EN0_RCNTLO);
nic_base383drivers/net/ne.coutb_p(count >> 8,   nic_base + EN0_RCNTHI);
nic_base384drivers/net/ne.coutb_p(0x00, nic_base + EN0_RSARLO);
nic_base385drivers/net/ne.coutb_p(start_page, nic_base + EN0_RSARHI);
nic_base387drivers/net/ne.coutb_p(E8390_RWRITE+E8390_START, nic_base + NE_CMD);
nic_base401drivers/net/ne.cint high = inb_p(nic_base + EN0_RSARHI);
nic_base402drivers/net/ne.cint low = inb_p(nic_base + EN0_RSARLO);