svn commit: r349865 - head/sys/dev/cxgbe

Navdeep Parhar np at FreeBSD.org
Tue Jul 9 19:32:32 UTC 2019


Author: np
Date: Tue Jul  9 19:32:31 2019
New Revision: 349865
URL: https://svnweb.freebsd.org/changeset/base/349865

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

Modified:
  head/sys/dev/cxgbe/t4_main.c

Modified: head/sys/dev/cxgbe/t4_main.c
==============================================================================
--- head/sys/dev/cxgbe/t4_main.c	Tue Jul  9 18:33:01 2019	(r349864)
+++ head/sys/dev/cxgbe/t4_main.c	Tue Jul  9 19:32:31 2019	(r349865)
@@ -4009,10 +4009,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-head mailing list