linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* Trivial patch to add PVR_7455
@ 2003-03-04 19:04 Dale Farnsworth
  2003-03-04 19:51 ` Dale Farnsworth
  0 siblings, 1 reply; 3+ messages in thread
From: Dale Farnsworth @ 2003-03-04 19:04 UTC (permalink / raw)
  To: linuxppc-dev


Bringing up a board with a pair of 7455s.
Need this patch.

Thanks,
-Dale

===== include/asm-ppc/processor.h 1.80 vs edited =====
--- 1.80/include/asm-ppc/processor.h	Thu Feb 27 13:22:28 2003
+++ edited/include/asm-ppc/processor.h	Tue Mar  4 11:02:35 2003
@@ -687,6 +687,7 @@
 #define	PVR_7400	0x000C0000
 #define	PVR_7410	0x800C0000
 #define	PVR_7450	0x80000000
+#define	PVR_7455	0x80010000
 /*
  * For the 8xx processors, all of them report the same PVR family for
  * the PowerPC core. The various versions of these processors must be

** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Trivial patch to add PVR_7455
  2003-03-04 19:04 Trivial patch to add PVR_7455 Dale Farnsworth
@ 2003-03-04 19:51 ` Dale Farnsworth
  2003-03-04 20:14   ` Dan Malek
  0 siblings, 1 reply; 3+ messages in thread
From: Dale Farnsworth @ 2003-03-04 19:51 UTC (permalink / raw)
  To: linuxppc-dev


On Tue, Mar 04, 2003 at 07:04:22PM +0000, Dale Farnsworth wrote:
> ===== include/asm-ppc/processor.h 1.80 vs edited =====
> --- 1.80/include/asm-ppc/processor.h	Thu Feb 27 13:22:28 2003
> +++ edited/include/asm-ppc/processor.h	Tue Mar  4 11:02:35 2003
> @@ -687,6 +687,7 @@
>  #define	PVR_7400	0x000C0000
>  #define	PVR_7410	0x800C0000
>  #define	PVR_7450	0x80000000
> +#define	PVR_7455	0x80010000
>  /*
>   * For the 8xx processors, all of them report the same PVR family for
>   * the PowerPC core. The various versions of these processors must be

I'm told that using PVR_XXXX is deprecated and that in my case
I'd be better off using CPU_FTR_L3CR.

So, nevermind.

-Dale

** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Trivial patch to add PVR_7455
  2003-03-04 19:51 ` Dale Farnsworth
@ 2003-03-04 20:14   ` Dan Malek
  0 siblings, 0 replies; 3+ messages in thread
From: Dan Malek @ 2003-03-04 20:14 UTC (permalink / raw)
  To: Dale Farnsworth; +Cc: linuxppc-dev


Dale Farnsworth wrote:

> I'm told that using PVR_XXXX is deprecated and that in my case
> I'd be better off using CPU_FTR_L3CR.

It depends what you are trying to discover about the processor.
I believe there are at least three different silicon revisions of
7455 processors defined in the cpu features table.  One purpose
of cpu features is to provide a standard set of information so
you don't have to test PVR all of the time, but rather just check
if the cpu has the feature of interest.

have fun :-)


	-- Dan


** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2003-03-04 20:14 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-03-04 19:04 Trivial patch to add PVR_7455 Dale Farnsworth
2003-03-04 19:51 ` Dale Farnsworth
2003-03-04 20:14   ` Dan Malek

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).