Searched refs:tx_buffer (Results 1 - 2 of 2) sorted by relevance
/illumos-gate/usr/src/grub/grub-0.97/netboot/ |
H A D | pnic.c | 34 static uint8_t tx_buffer[ETH_FRAME_LEN]; variable 171 memcpy ( tx_buffer, dest, ETH_ALEN ); 172 memcpy ( tx_buffer + ETH_ALEN, nic->node_addr, ETH_ALEN ); 173 memcpy ( tx_buffer + 2 * ETH_ALEN, &nstype, 2 ); 174 memcpy ( tx_buffer + ETH_HLEN, data, size ); 176 pnic_command ( nic, PNIC_CMD_XMIT, tx_buffer, ETH_HLEN + size,
|
H A D | rtl8139.c | 172 static unsigned char tx_buffer[TX_BUF_SIZE] __attribute__((aligned(4))); variable 375 memcpy(tx_buffer, destaddr, ETH_ALEN); 376 memcpy(tx_buffer + ETH_ALEN, nic->node_addr, ETH_ALEN); 377 memcpy(tx_buffer + 2 * ETH_ALEN, &nstype, 2); 378 memcpy(tx_buffer + ETH_HLEN, data, len); 388 tx_buffer[len++] = '\0'; 391 outl((unsigned long)virt_to_bus(tx_buffer), nic->ioaddr + TxAddr0 + cur_tx*4);
|
Completed in 45 milliseconds