Author: np
Date: Sat Nov 30 19:35:20 2019
New Revision: 355243
URL: https://svnweb.freebsd.org/changeset/base/355243

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

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

Modified: stable/11/sys/dev/cxgbe/t4_main.c
==============================================================================
--- stable/11/sys/dev/cxgbe/t4_main.c   Sat Nov 30 19:33:14 2019        
(r355242)
+++ stable/11/sys/dev/cxgbe/t4_main.c   Sat Nov 30 19:35:20 2019        
(r355243)
@@ -3959,10 +3959,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;
        }
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "[email protected]"

Reply via email to