PDP11, Qbus VAX: Avoid incorrect packet length when multiple RBDLs are used
As discussed in #563
This commit is contained in:
parent
2363300e64
commit
a3c40cd290
1 changed files with 1 additions and 1 deletions
|
@ -1258,7 +1258,7 @@ t_stat xq_process_rbdl(CTLR* xq)
|
|||
xq->var->rbdl_buf[4] |= XQ_RST_ESETUP;/* loopback flag */
|
||||
break;
|
||||
case ETH_ITM_NORMAL: /* normal packet */
|
||||
rbl -= 60; /* keeps max packet size in 11 bits */
|
||||
rbl = item->packet.len - 60; /* keeps max packet size in 11 bits */
|
||||
xq->var->rbdl_buf[4] = (rbl & 0x0700); /* high bits of rbl */
|
||||
xq->var->rbdl_buf[4] |= 0x00f8; /* set reserved bits to 1 */
|
||||
break;
|
||||
|
|
Loading…
Add table
Reference in a new issue