summaryrefslogtreecommitdiff
path: root/sys/dev/etherswitch/arswitch
diff options
context:
space:
mode:
authorAdrian Chadd <adrian@FreeBSD.org>2016-07-26 16:40:03 +0000
committerAdrian Chadd <adrian@FreeBSD.org>2016-07-26 16:40:03 +0000
commita68401914fcc9bcbc67f0317b942caf11de8a1c7 (patch)
tree59085329e256992dee8ab2e437d15980e816c160 /sys/dev/etherswitch/arswitch
parent8ee0bdb9fbe20d98e3714b42d20dc390fa4f30ea (diff)
Notes
Diffstat (limited to 'sys/dev/etherswitch/arswitch')
-rw-r--r--sys/dev/etherswitch/arswitch/arswitch_7240.c2
-rw-r--r--sys/dev/etherswitch/arswitch/arswitch_8316.c1
2 files changed, 3 insertions, 0 deletions
diff --git a/sys/dev/etherswitch/arswitch/arswitch_7240.c b/sys/dev/etherswitch/arswitch/arswitch_7240.c
index 3d2543a7017f..01ea9b3e9c1b 100644
--- a/sys/dev/etherswitch/arswitch/arswitch_7240.c
+++ b/sys/dev/etherswitch/arswitch/arswitch_7240.c
@@ -97,6 +97,8 @@ ar7240_hw_global_setup(struct arswitch_softc *sc)
AR7240_GLOBAL_CTRL_MTU_MASK,
SM(1536, AR7240_GLOBAL_CTRL_MTU_MASK));
+ /* XXX ARP? Frame Age enable? */
+
/* Service Tag */
arswitch_modifyreg(sc->sc_dev, AR8X16_REG_SERVICE_TAG,
AR8X16_SERVICE_TAG_MASK, 0);
diff --git a/sys/dev/etherswitch/arswitch/arswitch_8316.c b/sys/dev/etherswitch/arswitch/arswitch_8316.c
index d646e182f80c..54d6618bd805 100644
--- a/sys/dev/etherswitch/arswitch/arswitch_8316.c
+++ b/sys/dev/etherswitch/arswitch/arswitch_8316.c
@@ -137,6 +137,7 @@ ar8316_hw_global_setup(struct arswitch_softc *sc)
arswitch_writereg(sc->sc_dev, AR8X16_REG_TAG_PRIO, 0xfa50);
/* Enable ARP frame acknowledge. */
+ /* XXX TODO: aging? */
arswitch_modifyreg(sc->sc_dev, AR8X16_REG_AT_CTRL, 0,
AR8X16_AT_CTRL_ARP_EN);