1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-18 10:35:55 +00:00

Add methods for the VLAN port set/get routines.

The registers (and perhaps the flags) are different for the AR8327, so
I'll stub those out until they're written.

Tested:

* DB120 - both on-chip AR9340 and AR8327 switches.
This commit is contained in:
Adrian Chadd 2014-02-19 06:35:17 +00:00
parent ddbc44200a
commit 2bddba6a60
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=262207

View File

@ -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;
};