taglinefilesource code
nic_base251drivers/net/hp.cint nic_base = dev->base_addr;
nic_base252drivers/net/hp.cint saved_config = inb_p(nic_base - NIC_OFFSET + HP_CONFIGURE);
nic_base254drivers/net/hp.coutb_p(saved_config | HP_DATAON, nic_base - NIC_OFFSET + HP_CONFIGURE);
nic_base255drivers/net/hp.coutb_p(E8390_NODMA+E8390_PAGE0+E8390_START, nic_base);
nic_base256drivers/net/hp.coutb_p(sizeof(struct e8390_pkt_hdr), nic_base + EN0_RCNTLO);
nic_base257drivers/net/hp.coutb_p(0, nic_base + EN0_RCNTHI);
nic_base258drivers/net/hp.coutb_p(0, nic_base + EN0_RSARLO);  /* On page boundary */
nic_base259drivers/net/hp.coutb_p(ring_page, nic_base + EN0_RSARHI);
nic_base260drivers/net/hp.coutb_p(E8390_RREAD+E8390_START, nic_base);
nic_base263drivers/net/hp.cinsw(nic_base - NIC_OFFSET + HP_DATAPORT, hdr, sizeof(struct e8390_pkt_hdr)>>1);
nic_base265drivers/net/hp.cinsb(nic_base - NIC_OFFSET + HP_DATAPORT, hdr, sizeof(struct e8390_pkt_hdr));
nic_base267drivers/net/hp.coutb_p(saved_config & (~HP_DATAON), nic_base - NIC_OFFSET + HP_CONFIGURE);
nic_base278drivers/net/hp.cint nic_base = dev->base_addr;
nic_base279drivers/net/hp.cint saved_config = inb_p(nic_base - NIC_OFFSET + HP_CONFIGURE);
nic_base283drivers/net/hp.coutb_p(saved_config | HP_DATAON, nic_base - NIC_OFFSET + HP_CONFIGURE);
nic_base284drivers/net/hp.coutb_p(E8390_NODMA+E8390_PAGE0+E8390_START, nic_base);
nic_base285drivers/net/hp.coutb_p(count & 0xff, nic_base + EN0_RCNTLO);
nic_base286drivers/net/hp.coutb_p(count >> 8, nic_base + EN0_RCNTHI);
nic_base287drivers/net/hp.coutb_p(ring_offset & 0xff, nic_base + EN0_RSARLO);
nic_base288drivers/net/hp.coutb_p(ring_offset >> 8, nic_base + EN0_RSARHI);
nic_base289drivers/net/hp.coutb_p(E8390_RREAD+E8390_START, nic_base);
nic_base291drivers/net/hp.cinsw(nic_base - NIC_OFFSET + HP_DATAPORT,buf,count>>1);
nic_base293drivers/net/hp.cbuf[count-1] = inb(nic_base - NIC_OFFSET + HP_DATAPORT), xfer_count++;
nic_base295drivers/net/hp.cinsb(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_base307drivers/net/hp.coutb_p(saved_config & (~HP_DATAON), nic_base - NIC_OFFSET + HP_CONFIGURE);
nic_base314drivers/net/hp.cint nic_base = dev->base_addr;
nic_base315drivers/net/hp.cint saved_config = inb_p(nic_base - NIC_OFFSET + HP_CONFIGURE);
nic_base317drivers/net/hp.coutb_p(saved_config | HP_DATAON, nic_base - NIC_OFFSET + HP_CONFIGURE);
nic_base324drivers/net/hp.coutb_p(E8390_PAGE0+E8390_START+E8390_NODMA, nic_base);
nic_base329drivers/net/hp.coutb_p(0x42, nic_base + EN0_RCNTLO);
nic_base330drivers/net/hp.coutb_p(0,  nic_base + EN0_RCNTHI);
nic_base331drivers/net/hp.coutb_p(0xff, nic_base + EN0_RSARLO);
nic_base332drivers/net/hp.coutb_p(0x00, nic_base + EN0_RSARHI);
nic_base334drivers/net/hp.coutb_p(E8390_RREAD+E8390_START, nic_base + NE_CMD);
nic_base340drivers/net/hp.coutb_p(count & 0xff, nic_base + EN0_RCNTLO);
nic_base341drivers/net/hp.coutb_p(count >> 8,   nic_base + EN0_RCNTHI);
nic_base342drivers/net/hp.coutb_p(0x00, nic_base + EN0_RSARLO);
nic_base343drivers/net/hp.coutb_p(start_page, nic_base + EN0_RSARHI);
nic_base345drivers/net/hp.coutb_p(E8390_RWRITE+E8390_START, nic_base);
nic_base348drivers/net/hp.coutsw(nic_base - NIC_OFFSET + HP_DATAPORT, buf, count>>1);
nic_base350drivers/net/hp.coutsb(nic_base - NIC_OFFSET + HP_DATAPORT, buf, count);
nic_base357drivers/net/hp.cint high = inb_p(nic_base + EN0_RSARHI);
nic_base358drivers/net/hp.cint low  = inb_p(nic_base + EN0_RSARLO);
nic_base364drivers/net/hp.coutb_p(saved_config & (~HP_DATAON), nic_base - NIC_OFFSET + HP_CONFIGURE);
nic_base414drivers/net/ne.cint nic_base = dev->base_addr;
nic_base426drivers/net/ne.coutb_p(E8390_NODMA+E8390_PAGE0+E8390_START, nic_base+ NE_CMD);
nic_base427drivers/net/ne.coutb_p(sizeof(struct e8390_pkt_hdr), nic_base + EN0_RCNTLO);
nic_base428drivers/net/ne.coutb_p(0, nic_base + EN0_RCNTHI);
nic_base429drivers/net/ne.coutb_p(0, nic_base + EN0_RSARLO);    /* On page boundary */
nic_base430drivers/net/ne.coutb_p(ring_page, nic_base + EN0_RSARHI);
nic_base431drivers/net/ne.coutb_p(E8390_RREAD+E8390_START, nic_base + NE_CMD);
nic_base438drivers/net/ne.coutb_p(ENISR_RDC, nic_base + EN0_ISR);  /* Ack intr. */
nic_base453drivers/net/ne.cint nic_base = dev->base_addr;
nic_base465drivers/net/ne.coutb_p(E8390_NODMA+E8390_PAGE0+E8390_START, nic_base+ NE_CMD);
nic_base466drivers/net/ne.coutb_p(count & 0xff, nic_base + EN0_RCNTLO);
nic_base467drivers/net/ne.coutb_p(count >> 8, nic_base + EN0_RCNTHI);
nic_base468drivers/net/ne.coutb_p(ring_offset & 0xff, nic_base + EN0_RSARLO);
nic_base469drivers/net/ne.coutb_p(ring_offset >> 8, nic_base + EN0_RSARHI);
nic_base470drivers/net/ne.coutb_p(E8390_RREAD+E8390_START, nic_base + NE_CMD);
nic_base493drivers/net/ne.cint high = inb_p(nic_base + EN0_RSARHI);
nic_base494drivers/net/ne.cint low = inb_p(nic_base + EN0_RSARLO);
nic_base505drivers/net/ne.coutb_p(ENISR_RDC, nic_base + EN0_ISR);  /* Ack intr. */
nic_base513drivers/net/ne.cint nic_base = NE_BASE;
nic_base535drivers/net/ne.coutb_p(E8390_PAGE0+E8390_START+E8390_NODMA, nic_base + NE_CMD);
nic_base546drivers/net/ne.coutb_p(0x42, nic_base + EN0_RCNTLO);
nic_base547drivers/net/ne.coutb_p(0x00,   nic_base + EN0_RCNTHI);
nic_base548drivers/net/ne.coutb_p(0x42, nic_base + EN0_RSARLO);
nic_base549drivers/net/ne.coutb_p(0x00, nic_base + EN0_RSARHI);
nic_base550drivers/net/ne.coutb_p(E8390_RREAD+E8390_START, nic_base + NE_CMD);
nic_base557drivers/net/ne.coutb_p(ENISR_RDC, nic_base + EN0_ISR);
nic_base560drivers/net/ne.coutb_p(count & 0xff, nic_base + EN0_RCNTLO);
nic_base561drivers/net/ne.coutb_p(count >> 8,   nic_base + EN0_RCNTHI);
nic_base562drivers/net/ne.coutb_p(0x00, nic_base + EN0_RSARLO);
nic_base563drivers/net/ne.coutb_p(start_page, nic_base + EN0_RSARHI);
nic_base565drivers/net/ne.coutb_p(E8390_RWRITE+E8390_START, nic_base + NE_CMD);
nic_base580drivers/net/ne.cint high = inb_p(nic_base + EN0_RSARHI);
nic_base581drivers/net/ne.cint low = inb_p(nic_base + EN0_RSARLO);
nic_base596drivers/net/ne.cwhile ((inb_p(nic_base + EN0_ISR) & ENISR_RDC) == 0)
nic_base604drivers/net/ne.coutb_p(ENISR_RDC, nic_base + EN0_ISR);  /* Ack intr. */