aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/etherswitch
diff options
context:
space:
mode:
authorAdrian Chadd <adrian@FreeBSD.org>2018-02-02 22:08:03 +0000
committerAdrian Chadd <adrian@FreeBSD.org>2018-02-02 22:08:03 +0000
commit84a5558c389c99e849fafa4d9b05820da8a09935 (patch)
tree1b056ab0c50d506967170f944be40b7a88fe1aa4 /sys/dev/etherswitch
parent8a9493deb25827ff94bfc6fc9e759e9cad9955b6 (diff)
Notes
Diffstat (limited to 'sys/dev/etherswitch')
-rw-r--r--sys/dev/etherswitch/arswitch/arswitch_9340.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/sys/dev/etherswitch/arswitch/arswitch_9340.c b/sys/dev/etherswitch/arswitch/arswitch_9340.c
index 13cc4b77c5b07..7fbf60627f224 100644
--- a/sys/dev/etherswitch/arswitch/arswitch_9340.c
+++ b/sys/dev/etherswitch/arswitch/arswitch_9340.c
@@ -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 |