svn commit: r256832 - head/sys/net

Andrey V. Elsukov ae at FreeBSD.org
Mon Oct 21 07:49:37 UTC 2013


Author: ae
Date: Mon Oct 21 07:49:36 2013
New Revision: 256832
URL: http://svnweb.freebsd.org/changeset/base/256832

Log:
  Add a note that lacp_compose_key() should be updated, when new media
  types will be added.
  
  Submitted by:	melifaro
  X-MFC after:	r256689

Modified:
  head/sys/net/if_media.h

Modified: head/sys/net/if_media.h
==============================================================================
--- head/sys/net/if_media.h	Mon Oct 21 06:55:07 2013	(r256831)
+++ head/sys/net/if_media.h	Mon Oct 21 07:49:36 2013	(r256832)
@@ -153,7 +153,10 @@ uint64_t	ifmedia_baudrate(int);
 #define	IFM_40G_CR4	27		/* 40GBase-CR4 */
 #define	IFM_40G_SR4	28		/* 40GBase-SR4 */
 #define	IFM_40G_LR4	29		/* 40GBase-LR4 */
-
+/*
+ * Please update ieee8023ad_lacp.c:lacp_compose_key()
+ * after adding new Ethernet media types.
+ */
 /* note 31 is the max! */
 
 #define	IFM_ETH_MASTER	0x00000100	/* master mode (1000baseT) */


More information about the svn-src-head mailing list