Home
last modified time | relevance | path

Searched refs:emac (Results 1 – 1 of 1) sorted by relevance

/linux-2.4.37.9/drivers/net/
Dbig_sur_ge.c91 big_sur_ge *emac; /* GE driver structure */ member
267 int big_sur_tx(big_sur_ge *emac, u8 *buffer, unsigned long byte_cnt) in big_sur_tx() argument
271 if ( (!emac->started) && (emac->polled) && in big_sur_tx()
272 (emac->dma_sg) ) in big_sur_tx()
276 int_status = BIG_SUR_GE_READ(emac->base_address + XIIF_V123B_IISR_OFFSET); in big_sur_tx()
285 if ((BIG_SUR_GE_GET_COUNT(&emac->send_fifo) * sizeof(unsigned long)) < byte_cnt) { in big_sur_tx()
290 if (emac->has_dma == 0) { in big_sur_tx()
292 if (packet_fifo_write(&emac->send_fifo, buffer, byte_cnt) == -1) { in big_sur_tx()
298 BIG_SUR_GE_WRITE(emac->base_address + 0x1FF4, (byte_cnt & 0xff00)); in big_sur_tx()
301 BIG_SUR_GE_WRITE(emac->base_address + 0x1FF8, (byte_cnt & 0x00ff)); in big_sur_tx()
[all …]