mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-21 11:13:30 +00:00
Update arswitch to the new API.
This commit is contained in:
parent
833addedf8
commit
03d48af292
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=249775
@ -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…
Reference in New Issue
Block a user