summaryrefslogtreecommitdiffstats
path: root/sys/dev/etherswitch/arswitch/arswitchvar.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/etherswitch/arswitch/arswitchvar.h')
-rw-r--r--sys/dev/etherswitch/arswitch/arswitchvar.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/sys/dev/etherswitch/arswitch/arswitchvar.h b/sys/dev/etherswitch/arswitch/arswitchvar.h
index 060a52c..f79185b 100644
--- a/sys/dev/etherswitch/arswitch/arswitchvar.h
+++ b/sys/dev/etherswitch/arswitch/arswitchvar.h
@@ -76,6 +76,12 @@ struct arswitch_softc {
/* Port functions */
void (* arswitch_port_init) (struct arswitch_softc *, int);
+
+ /* VLAN functions */
+ int (* arswitch_port_vlan_setup) (struct arswitch_softc *,
+ etherswitch_port_t *);
+ int (* arswitch_port_vlan_get) (struct arswitch_softc *,
+ etherswitch_port_t *);
} hal;
};
OpenPOWER on IntegriCloud