Update arswitch to the new API.

This commit is contained in:
adrian 2013-04-22 18:58:12 +00:00
parent 6460865378
commit 59d305acc5

View File

@ -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) {