Date: Wed, 19 Feb 2014 06:01:41 +0000 (UTC) From: Adrian Chadd <adrian@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r262204 - head/sys/dev/etherswitch/arswitch Message-ID: <201402190601.s1J61fjF063762@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: adrian Date: Wed Feb 19 06:01:40 2014 New Revision: 262204 URL: http://svnweb.freebsd.org/changeset/base/262204 Log: Add a new method to set up the individual port in question. The AR8327 requires some different setup code. Modified: head/sys/dev/etherswitch/arswitch/arswitchvar.h Modified: head/sys/dev/etherswitch/arswitch/arswitchvar.h ============================================================================== --- head/sys/dev/etherswitch/arswitch/arswitchvar.h Wed Feb 19 05:35:41 2014 (r262203) +++ head/sys/dev/etherswitch/arswitch/arswitchvar.h Wed Feb 19 06:01:40 2014 (r262204) @@ -70,8 +70,12 @@ struct arswitch_softc { uint32_t vlan_mode; struct { + /* Global setup */ int (* arswitch_hw_setup) (struct arswitch_softc *); int (* arswitch_hw_global_setup) (struct arswitch_softc *); + + /* Port functions */ + void (* arswitch_port_init) (struct arswitch_softc *, int); } hal; };
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201402190601.s1J61fjF063762>