svn commit: r249775 - head/sys/dev/etherswitch/arswitch

Adrian Chadd adrian at FreeBSD.org
Mon Apr 22 18:58:12 UTC 2013


Author: adrian
Date: Mon Apr 22 18:58:12 2013
New Revision: 249775
URL: http://svnweb.freebsd.org/changeset/base/249775

Log:
  Update arswitch to the new API.

Modified:
  head/sys/dev/etherswitch/arswitch/arswitch.c

Modified: head/sys/dev/etherswitch/arswitch/arswitch.c
==============================================================================
--- head/sys/dev/etherswitch/arswitch/arswitch.c	Mon Apr 22 18:53:36 2013	(r249774)
+++ head/sys/dev/etherswitch/arswitch/arswitch.c	Mon Apr 22 18:58:12 2013	(r249775)
@@ -435,7 +435,7 @@ arswitch_getport(device_t dev, etherswit
 	
 	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) {


More information about the svn-src-head mailing list