summaryrefslogtreecommitdiffstats
path: root/sys/dev/fxp
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2009-09-08 13:16:55 +0000
committerphk <phk@FreeBSD.org>2009-09-08 13:16:55 +0000
commit2314521104388ada19392a3b2cdaca4ba6f82243 (patch)
tree861cbfaa866bcf3864607e709a7f079f8e0b8b88 /sys/dev/fxp
parent3f6c5f153b139d0086f063e076f19f4f76da1927 (diff)
downloadFreeBSD-src-2314521104388ada19392a3b2cdaca4ba6f82243.zip
FreeBSD-src-2314521104388ada19392a3b2cdaca4ba6f82243.tar.gz
Add necessary include.
Diffstat (limited to 'sys/dev/fxp')
-rw-r--r--sys/dev/fxp/if_fxp.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/dev/fxp/if_fxp.c b/sys/dev/fxp/if_fxp.c
index 4fb890f..57ac1fb 100644
--- a/sys/dev/fxp/if_fxp.c
+++ b/sys/dev/fxp/if_fxp.c
@@ -1597,6 +1597,7 @@ fxp_encap(struct fxp_softc *sc, struct mbuf **m_head)
cbp->tbd_number = nseg;
/* Configure TSO. */
if (m->m_pkthdr.csum_flags & CSUM_TSO) {
+ /* XXX: FlexeLint: negative subscript */
cbp->tbd[-1].tb_size = htole32(m->m_pkthdr.tso_segsz << 16);
cbp->tbd[1].tb_size |= htole32(tcp_payload << 16);
cbp->ipcb_ip_schedule |= FXP_IPCB_LARGESEND_ENABLE |
OpenPOWER on IntegriCloud