[arswitch] add a new debug section for upcoming address table management.

This commit is contained in:
Adrian Chadd 2018-01-31 07:20:34 +00:00
parent d32802f0c3
commit 676e92f22d

View File

@ -97,6 +97,8 @@ struct arswitch_softc {
/* ATU functions */
int (* arswitch_atu_flush) (struct arswitch_softc *);
int (* arswitch_atu_flush_port) (struct arswitch_softc *, int);
int (* arswitch_atu_learn_default) (struct arswitch_softc *);
/* VLAN functions */
int (* arswitch_port_vlan_setup) (struct arswitch_softc *,
@ -151,6 +153,7 @@ struct arswitch_softc {
#define ARSWITCH_DBG_PHYIO 0x00000004
#define ARSWITCH_DBG_POLL 0x00000008
#define ARSWITCH_DBG_VLAN 0x00000010
#define ARSWITCH_DBG_ATU 0x00000020
#define ARSWITCH_DBG_ANY 0xffffffff
#if 1