Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 9 Sep 2017 02:19:44 +0000 (UTC)
From:      Justin Hibbits <jhibbits@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r323340 - head/sys/powerpc/mpc85xx
Message-ID:  <201709090219.v892JixV057637@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jhibbits
Date: Sat Sep  9 02:19:44 2017
New Revision: 323340
URL: https://svnweb.freebsd.org/changeset/base/323340

Log:
  Add P5021 and P5040 conditions for LAW count check.
  
  P5040/P5021 have the same number of LAWs as P5020.  There may be a better way of
  getting the count from the FDT (fsl,num-laws property on soc/corenet-law or
  soc/ecm-law), but that's not supported everywhere, so we still need this check
  for those other cases.

Modified:
  head/sys/powerpc/mpc85xx/mpc85xx.c

Modified: head/sys/powerpc/mpc85xx/mpc85xx.c
==============================================================================
--- head/sys/powerpc/mpc85xx/mpc85xx.c	Sat Sep  9 02:08:22 2017	(r323339)
+++ head/sys/powerpc/mpc85xx/mpc85xx.c	Sat Sep  9 02:19:44 2017	(r323340)
@@ -96,6 +96,10 @@ law_getmax(void)
 		break;
 	case SVR_P5020:
 	case SVR_P5020E:
+	case SVR_P5021:
+	case SVR_P5021E:
+	case SVR_P5040:
+	case SVR_P5040E:
 		law_max = 32;
 		break;
 	default:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201709090219.v892JixV057637>