Searched refs:ptxb (Results 1 – 3 of 3) sorted by relevance
/illumos-gate/usr/src/grub/grub-0.97/netboot/ |
H A D | r8169.c | 509 u8 *ptxb; in r8169_transmit() local 513 ptxb = tpc->Tx_skbuff[entry * MAX_ETH_FRAME_SIZE]; in r8169_transmit() 514 memcpy(ptxb, d, ETH_ALEN); in r8169_transmit() 515 memcpy(ptxb + ETH_ALEN, nic->node_addr, ETH_ALEN); in r8169_transmit() 517 memcpy(ptxb + 2 * ETH_ALEN, (u8 *) & nstype, 2); in r8169_transmit() 518 memcpy(ptxb + ETH_HLEN, p, s); in r8169_transmit() 522 ptxb[s++] = '\0'; in r8169_transmit() 524 tpc->TxDescArray[entry].buf_addr = virt_to_bus(ptxb); in r8169_transmit()
|
H A D | forcedeth.c | 842 u8 *ptxb; in forcedeth_transmit() local 849 ptxb = txb + (nr * RX_NIC_BUFSIZE); in forcedeth_transmit() 853 memcpy(ptxb, d, ETH_ALEN); /* dst */ in forcedeth_transmit() 854 memcpy(ptxb + ETH_ALEN, nic->node_addr, ETH_ALEN); /* src */ in forcedeth_transmit() 856 memcpy(ptxb + 2 * ETH_ALEN, (u8 *) & nstype, 2); /* type */ in forcedeth_transmit() 857 memcpy(ptxb + ETH_HLEN, p, s); in forcedeth_transmit() 861 ptxb[s++] = '\0'; in forcedeth_transmit() 863 tx_ring[nr].PacketBuffer = (u32) virt_to_le32desc(ptxb); in forcedeth_transmit()
|
H A D | pcnet32.c | 588 u8 *ptxb; in pcnet32_transmit() local 595 ptxb = txb + (lp->cur_tx * PKT_BUF_SZ); in pcnet32_transmit() 598 memcpy(ptxb, d, ETH_ALEN); /* dst */ in pcnet32_transmit() 599 memcpy(ptxb + ETH_ALEN, nic->node_addr, ETH_ALEN); /* src */ in pcnet32_transmit() 601 memcpy(ptxb + 2 * ETH_ALEN, (u8 *) & nstype, 2); /* type */ in pcnet32_transmit() 602 memcpy(ptxb + ETH_HLEN, p, s); in pcnet32_transmit() 606 ptxb[s++] = '\0'; in pcnet32_transmit() 610 tx_ring[entry].base = (u32) virt_to_le32desc(ptxb); in pcnet32_transmit()
|