Home | History | Annotate | Download | only in netboot

Lines Matching refs:cur_rx

58 static unsigned int cur_rx;
625 cur_rx = 0;
993 u32 rx_status = rxd[cur_rx].cmdsts;
997 printf("sis900_poll: cur_rx:%d, status:%X\n", cur_rx, rx_status);
1003 printf("sis900_poll: got a packet: cur_rx:%d, status:%X\n",
1004 cur_rx, rx_status);
1015 memcpy(nic->packet, (rxb + cur_rx*RX_BUF_SIZE), nic->packetlen);
1020 rxd[cur_rx].cmdsts = RX_BUF_SIZE;
1021 rxd[cur_rx].bufptr = (u32) &rxb[cur_rx*RX_BUF_SIZE];
1023 if (++cur_rx == NUM_RX_DESC)
1024 cur_rx = 0;