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;
 };
 
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "[email protected]"

Reply via email to