Date: Fri, 2 Feb 2018 22:08:04 +0000 (UTC) From: Adrian Chadd <adrian@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r328814 - head/sys/dev/etherswitch/arswitch Message-ID: <201802022208.w12M84Xd035386@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: adrian Date: Fri Feb 2 22:08:03 2018 New Revision: 328814 URL: https://svnweb.freebsd.org/changeset/base/328814 Log: [arswitch] Stub out the ATU table dump in AR9340 switches until I implement this. Modified: head/sys/dev/etherswitch/arswitch/arswitch_9340.c Modified: head/sys/dev/etherswitch/arswitch/arswitch_9340.c ============================================================================== --- head/sys/dev/etherswitch/arswitch/arswitch_9340.c Fri Feb 2 22:06:15 2018 (r328813) +++ head/sys/dev/etherswitch/arswitch/arswitch_9340.c Fri Feb 2 22:08:03 2018 (r328814) @@ -183,6 +183,16 @@ ar9340_hw_global_setup(struct arswitch_softc *sc) return (0); } +static int +ar9340_atu_fetch_table(struct arswitch_softc *sc, etherswitch_atu_entry_t *e, + int atu_fetch_op) +{ + + /* XXX TODO */ + return (ENXIO); +} + + /* * The AR9340 switch probes (almost) the same as the AR7240 on-chip switch. * @@ -213,6 +223,7 @@ ar9340_attach(struct arswitch_softc *sc) sc->hal.arswitch_hw_setup = ar9340_hw_setup; sc->hal.arswitch_hw_global_setup = ar9340_hw_global_setup; sc->hal.arswitch_atu_learn_default = ar9340_atu_learn_default; + sc->hal.arswitch_atu_fetch_table = ar9340_atu_fetch_table; /* Set the switch vlan capabilities. */ sc->info.es_vlan_caps = ETHERSWITCH_VLAN_DOT1Q |
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201802022208.w12M84Xd035386>