Add a new method to set up the individual port in question.
The AR8327 requires some different setup code.
This commit is contained in:
parent
af3c3253f5
commit
135fe0a255
@ -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;
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user