david/ipxe
david
/
ipxe
Archived
1
0
Fork 0

Add 4 bytes to maximum frame length to allow for the frame checksum.

(This actually matters once you try using TCP, because you *will*
receive full-sized frames.)
This commit is contained in:
Michael Brown 2006-06-16 14:30:41 +00:00
parent 7c76791730
commit 52de4935f9
1 changed files with 1 additions and 1 deletions

View File

@ -557,7 +557,7 @@ static void mentormac_init ( struct efab_nic *efab,
udelay ( 10 );
/* Max frame len register */
EFAB_POPULATE_DWORD_1 ( reg, GM_MAX_FLEN, ETH_FRAME_LEN );
EFAB_POPULATE_DWORD_1 ( reg, GM_MAX_FLEN, ETH_FRAME_LEN + 4 /* FCS */);
efab->op->mac_writel ( efab, &reg, GM_MAX_FLEN_REG_MAC );
udelay ( 10 );