Author: yongari
Date: Tue Jul  5 23:18:28 2011
New Revision: 223808
URL: http://svn.freebsd.org/changeset/base/223808

Log:
  MFC r223608:
    Disable microcode loading for 82550 and 82550C controllers. Loading
    the microcode caused SCB timeouts. Linux driver does not allow
    microcode loading for these controllers and jfv also confirmed that
    there is no need to do and it shouldn't.
  
    PR:                         kern/103332
    Additional confirmation from:       jfv

Modified:
  stable/7/sys/dev/fxp/if_fxp.c
Directory Properties:
  stable/7/sys/   (props changed)
  stable/7/sys/cddl/contrib/opensolaris/   (props changed)
  stable/7/sys/contrib/dev/acpica/   (props changed)
  stable/7/sys/contrib/pf/   (props changed)

Modified: stable/7/sys/dev/fxp/if_fxp.c
==============================================================================
--- stable/7/sys/dev/fxp/if_fxp.c       Tue Jul  5 23:17:27 2011        
(r223807)
+++ stable/7/sys/dev/fxp/if_fxp.c       Tue Jul  5 23:18:28 2011        
(r223808)
@@ -3007,8 +3007,10 @@ static uint32_t fxp_ucode_d101a[] = D101
 static uint32_t fxp_ucode_d101b0[] = D101_B0_RCVBUNDLE_UCODE;
 static uint32_t fxp_ucode_d101ma[] = D101M_B_RCVBUNDLE_UCODE;
 static uint32_t fxp_ucode_d101s[] = D101S_RCVBUNDLE_UCODE;
+#ifdef notyet
 static uint32_t fxp_ucode_d102[] = D102_B_RCVBUNDLE_UCODE;
 static uint32_t fxp_ucode_d102c[] = D102_C_RCVBUNDLE_UCODE;
+#endif
 static uint32_t fxp_ucode_d102e[] = D102_E_RCVBUNDLE_UCODE;
 
 #define UCODE(x)       x, sizeof(x)/sizeof(uint32_t)
@@ -3026,10 +3028,12 @@ static const struct ucode {
            D101M_CPUSAVER_DWORD, D101M_CPUSAVER_BUNDLE_MAX_DWORD },
        { FXP_REV_82559S_A, UCODE(fxp_ucode_d101s),
            D101S_CPUSAVER_DWORD, D101S_CPUSAVER_BUNDLE_MAX_DWORD },
+#ifdef notyet
        { FXP_REV_82550, UCODE(fxp_ucode_d102),
            D102_B_CPUSAVER_DWORD, D102_B_CPUSAVER_BUNDLE_MAX_DWORD },
        { FXP_REV_82550_C, UCODE(fxp_ucode_d102c),
            D102_C_CPUSAVER_DWORD, D102_C_CPUSAVER_BUNDLE_MAX_DWORD },
+#endif
        { FXP_REV_82551_F, UCODE(fxp_ucode_d102e),
            D102_E_CPUSAVER_DWORD, D102_E_CPUSAVER_BUNDLE_MAX_DWORD },
        { 0, NULL, 0, 0, 0 }
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to