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:
@@ -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;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user