summaryrefslogtreecommitdiffstats
path: root/sys/dev/etherswitch
diff options
context:
space:
mode:
authoradrian <adrian@FreeBSD.org>2013-04-22 18:58:12 +0000
committeradrian <adrian@FreeBSD.org>2013-04-22 18:58:12 +0000
commit59d305acc54bb29b94352d082c4da77a89760a72 (patch)
tree2c15f8780d8713ae8495f1efdccf32f700431704 /sys/dev/etherswitch
parent64608653783c8a30e0750684e2ab2bc293ce888d (diff)
downloadFreeBSD-src-59d305acc54bb29b94352d082c4da77a89760a72.zip
FreeBSD-src-59d305acc54bb29b94352d082c4da77a89760a72.tar.gz
Update arswitch to the new API.
Diffstat (limited to 'sys/dev/etherswitch')
-rw-r--r--sys/dev/etherswitch/arswitch/arswitch.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/etherswitch/arswitch/arswitch.c b/sys/dev/etherswitch/arswitch/arswitch.c
index 001b54e..de84dc3 100644
--- a/sys/dev/etherswitch/arswitch/arswitch.c
+++ b/sys/dev/etherswitch/arswitch/arswitch.c
@@ -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) {
OpenPOWER on IntegriCloud