Update arswitch to the new API.
This commit is contained in:
parent
6460865378
commit
59d305acc5
@ -435,7 +435,7 @@ arswitch_getport(device_t dev, etherswitch_port_t *p)
|
||||
|
||||
if (p->es_port < 0 || p->es_port >= AR8X16_NUM_PORTS)
|
||||
return (ENXIO);
|
||||
p->es_vlangroup = 0;
|
||||
p->es_pvid = 0;
|
||||
|
||||
mii = arswitch_miiforport(sc, p->es_port);
|
||||
if (p->es_port == 0) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user