Fix a couple of typos that sneaked in with Poul's ETHER_* mega-commit.

Reviewed by:	phk
This commit is contained in:
Joerg Wunsch 1996-08-18 07:58:13 +00:00
parent 9f11e77a5b
commit 8a4f8ad912
1 changed files with 2 additions and 2 deletions

View File

@ -433,12 +433,12 @@ eth_transmit(d,t,s,p)
}
inb(0x84);
bcopy(d, eth_bmem, 6); /* dst */
bcopy(eth_node_addr, eth_bmem+6, ETHER_ADDR_SIZE); /* src */
bcopy(eth_node_addr, eth_bmem+6, ETHER_ADDR_LEN); /* src */
*(eth_bmem+12) = t>>8; /* type */
*(eth_bmem+13) = t;
bcopy(p, eth_bmem+14, s);
s += 14;
while (s < ETHER_MIN_LAN) *(eth_bmem+(s++)) = 0;
while (s < ETHER_MIN_LEN) *(eth_bmem+(s++)) = 0;
if (eth_flags & FLAG_790) {
outb(eth_asic_base + WD_MSR, 0);
inb(0x84);