Lines Matching refs:rx_fifo
232 register short rx_fifo;
259 rx_fifo = status & RX_BYTES_MASK;
260 if (rx_fifo==0)
267 printf("[l=%d",rx_fifo);
269 insw(BASE + VX_W1_RX_PIO_RD_1, nic->packet, rx_fifo / 2);
270 if(rx_fifo & 1)
271 nic->packet[rx_fifo-1]=inb(BASE + VX_W1_RX_PIO_RD_1);
272 nic->packetlen=rx_fifo;
279 rx_fifo = status & RX_BYTES_MASK;
281 if(rx_fifo>0) {
282 insw(BASE + VX_W1_RX_PIO_RD_1, nic->packet+nic->packetlen, rx_fifo / 2);
283 if(rx_fifo & 1)
284 nic->packet[nic->packetlen+rx_fifo-1]=inb(BASE + VX_W1_RX_PIO_RD_1);
285 nic->packetlen+=rx_fifo;
287 printf("+%d",rx_fifo);