Add a new method to set up the individual port in question.

The AR8327 requires some different setup code.
This commit is contained in:
adrian 2014-02-19 06:01:40 +00:00
parent af3c3253f5
commit 135fe0a255

View File

@ -70,8 +70,12 @@ struct arswitch_softc {
uint32_t vlan_mode;
struct {
/* Global setup */
int (* arswitch_hw_setup) (struct arswitch_softc *);
int (* arswitch_hw_global_setup) (struct arswitch_softc *);
/* Port functions */
void (* arswitch_port_init) (struct arswitch_softc *, int);
} hal;
};