From 22814a7515e37564f516254cbd652e49e8b127c3 Mon Sep 17 00:00:00 2001 From: Adrian Chadd Date: Sat, 12 May 2012 20:40:13 +0000 Subject: [PATCH] .. oops, include setting the MTU. --- sys/dev/etherswitch/arswitch/arswitch_7240.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/sys/dev/etherswitch/arswitch/arswitch_7240.c b/sys/dev/etherswitch/arswitch/arswitch_7240.c index 32769f69bcc9..8809e07378a4 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 */