aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/etherswitch
diff options
context:
space:
mode:
authorAdrian Chadd <adrian@FreeBSD.org>2012-05-12 20:40:13 +0000
committerAdrian Chadd <adrian@FreeBSD.org>2012-05-12 20:40:13 +0000
commit22814a7515e37564f516254cbd652e49e8b127c3 (patch)
tree9c67ed62b204272f0b293c11d6f4afc3af6bdc92 /sys/dev/etherswitch
parent031f3eaed408fd5e2052e5a25a07df55d3d206bb (diff)
Notes
Diffstat (limited to 'sys/dev/etherswitch')
-rw-r--r--sys/dev/etherswitch/arswitch/arswitch_7240.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/dev/etherswitch/arswitch/arswitch_7240.c b/sys/dev/etherswitch/arswitch/arswitch_7240.c
index 32769f69bcc9f..8809e07378a4e 100644
--- a/sys/dev/etherswitch/arswitch/arswitch_7240.c
+++ b/sys/dev/etherswitch/arswitch/arswitch_7240.c
@@ -98,7 +98,10 @@ ar7240_hw_global_setup(struct arswitch_softc *sc)
/* Setup TAG priority mapping */
arswitch_writereg(sc->sc_dev, AR7240_REG_TAG_PRIORITY, 0xfa50);
- /* XXX MTU */
+ /* MTU */
+ arswitch_modifyreg(sc->sc_dev, AR8X16_REG_GLOBAL_CTRL,
+ AR7240_GLOBAL_CTRL_MTU_MASK,
+ SM(1536, AR7240_GLOBAL_CTRL_MTU_MASK));
/* XXX Service Tag */