svn commit: r350262 - stable/12/sys/dev/cxgbe

Navdeep Parhar np at FreeBSD.org
Tue Jul 23 21:14:24 UTC 2019


Author: np
Date: Tue Jul 23 21:14:24 2019
New Revision: 350262
URL: https://svnweb.freebsd.org/changeset/base/350262

Log:
  MFC r349865:
  
  cxgbe(4): Use the simplest configuration possible when falling back from
  the default configuration.
  
  Sponsored by:	Chelsio Communications

Modified:
  stable/12/sys/dev/cxgbe/t4_main.c
Directory Properties:
  stable/12/   (props changed)

Modified: stable/12/sys/dev/cxgbe/t4_main.c
==============================================================================
--- stable/12/sys/dev/cxgbe/t4_main.c	Tue Jul 23 21:12:32 2019	(r350261)
+++ stable/12/sys/dev/cxgbe/t4_main.c	Tue Jul 23 21:14:24 2019	(r350262)
@@ -4012,10 +4012,8 @@ retry:
 		    rc, cfg_file);
 		snprintf(cfg_file, sizeof(cfg_file), "%s", BUILTIN_CF);
 		bzero(&caps_allowed, sizeof(caps_allowed));
-		COPY_CAPS(nbm);
-		COPY_CAPS(link);
 		COPY_CAPS(switch);
-		COPY_CAPS(nic);
+		caps_allowed.niccaps = FW_CAPS_CONFIG_NIC;
 		fallback = false;
 		goto retry;
 	}


More information about the svn-src-stable-12 mailing list