aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/em
diff options
context:
space:
mode:
authorJack F Vogel <jfv@FreeBSD.org>2007-05-23 20:41:20 +0000
committerJack F Vogel <jfv@FreeBSD.org>2007-05-23 20:41:20 +0000
commitca2a8b584f64b86c9cab0db1951f32d7cf35618c (patch)
tree0c14b288c08a82c1d1a186b7bbd84cde162c2fac /sys/dev/em
parenta250f3820c863f17a22f383d9d92b42fc920c740 (diff)
Notes
Diffstat (limited to 'sys/dev/em')
-rw-r--r--sys/dev/em/if_em.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/dev/em/if_em.c b/sys/dev/em/if_em.c
index 8447b762560f..0267d6de6c28 100644
--- a/sys/dev/em/if_em.c
+++ b/sys/dev/em/if_em.c
@@ -1020,8 +1020,9 @@ em_ioctl(struct ifnet *ifp, u_long command, caddr_t data)
case e1000_80003es2lan: /* Limit Jumbo Frame size */
max_frame_size = 9234;
break;
+ /* Adapters that do not support jumbo frames */
+ case e1000_82542:
case e1000_ich8lan:
- /* ICH8 does not support jumbo frames */
max_frame_size = ETHER_MAX_LEN;
break;
default:
@@ -1884,7 +1885,7 @@ em_encap(struct adapter *adapter, struct mbuf **m_headp)
if (++i == adapter->num_tx_desc)
i = 0;
} else {
- ctxd->buffer_addr = seg_addr;
+ ctxd->buffer_addr = htole64(seg_addr);
ctxd->lower.data = htole32(
adapter->txd_cmd | txd_lower | seg_len);
ctxd->upper.data =