svn commit: r235370 - head/sys/dev/etherswitch/arswitch
Adrian Chadd
adrian at FreeBSD.org
Sat May 12 20:40:14 UTC 2012
Author: adrian
Date: Sat May 12 20:40:13 2012
New Revision: 235370
URL: http://svn.freebsd.org/changeset/base/235370
Log:
.. oops, include setting the MTU.
Modified:
head/sys/dev/etherswitch/arswitch/arswitch_7240.c
Modified: head/sys/dev/etherswitch/arswitch/arswitch_7240.c
==============================================================================
--- head/sys/dev/etherswitch/arswitch/arswitch_7240.c Sat May 12 20:39:41 2012 (r235369)
+++ head/sys/dev/etherswitch/arswitch/arswitch_7240.c Sat May 12 20:40:13 2012 (r235370)
@@ -98,7 +98,10 @@ ar7240_hw_global_setup(struct arswitch_s
/* 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 */
More information about the svn-src-head
mailing list