Searched refs:tx_packet (Results 1 - 2 of 2) sorted by relevance

/osnet-11/usr/src/grub/grub-0.97/netboot/
H A Dw89c840.c262 static char tx_packet[PKT_BUF_SZ * TX_RING_SIZE]; variable
501 memcpy (tx_packet, d, ETH_ALEN); /* dst */
502 memcpy (tx_packet + ETH_ALEN, nic->node_addr, ETH_ALEN);/* src */
504 *((char *) tx_packet + 12) = t >> 8; /* type */
505 *((char *) tx_packet + 13) = t;
507 memcpy (tx_packet + ETH_HLEN, p, s);
511 *((char *) tx_packet + ETH_HLEN + (s++)) = 0;
513 w840private.tx_ring[entry].buffer1 = virt_to_le32desc(tx_packet);
H A Depic100.c90 static unsigned char tx_packet[PKT_BUF_SZ * TX_RING_SIZE]; variable
285 tx_ring[i].bufaddr = virt_to_bus(&tx_packet[i * PKT_BUF_SZ]);
319 txp = tx_packet + (entry * PKT_BUF_SZ);

Completed in 25 milliseconds