svn commit: r303339 - head/sys/dev/etherswitch/arswitch

Adrian Chadd adrian at FreeBSD.org
Tue Jul 26 16:40:04 UTC 2016


Author: adrian
Date: Tue Jul 26 16:40:03 2016
New Revision: 303339
URL: https://svnweb.freebsd.org/changeset/base/303339

Log:
  Update my TODO items.

Modified:
  head/sys/dev/etherswitch/arswitch/arswitch_7240.c
  head/sys/dev/etherswitch/arswitch/arswitch_8316.c

Modified: head/sys/dev/etherswitch/arswitch/arswitch_7240.c
==============================================================================
--- head/sys/dev/etherswitch/arswitch/arswitch_7240.c	Tue Jul 26 15:34:26 2016	(r303338)
+++ head/sys/dev/etherswitch/arswitch/arswitch_7240.c	Tue Jul 26 16:40:03 2016	(r303339)
@@ -97,6 +97,8 @@ ar7240_hw_global_setup(struct arswitch_s
 	    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);

Modified: head/sys/dev/etherswitch/arswitch/arswitch_8316.c
==============================================================================
--- head/sys/dev/etherswitch/arswitch/arswitch_8316.c	Tue Jul 26 15:34:26 2016	(r303338)
+++ head/sys/dev/etherswitch/arswitch/arswitch_8316.c	Tue Jul 26 16:40:03 2016	(r303339)
@@ -137,6 +137,7 @@ ar8316_hw_global_setup(struct arswitch_s
 	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);
 


More information about the svn-src-head mailing list