[PATCH 2/4] powerpc: Disable token ring in powerpc defconfigs

2009-12-06 Thread Anton Blanchard

Token what? Lets save some space in our powerpc kernels and remove token
ring support.

Signed-off-by: Anton Blanchard an...@samba.org
---

Index: linux.trees.git/arch/powerpc/configs/g5_defconfig
===
--- linux.trees.git.orig/arch/powerpc/configs/g5_defconfig  2009-11-26 
12:35:15.0 +1100
+++ linux.trees.git/arch/powerpc/configs/g5_defconfig   2009-11-26 
12:35:59.0 +1100
@@ -794,8 +794,8 @@ CONFIG_NETDEV_1=y
 # CONFIG_BNX2X is not set
 # CONFIG_QLGE is not set
 # CONFIG_SFC is not set
-CONFIG_TR=y
-CONFIG_IBMOL=y
+# CONFIG_TR is not set
+# CONFIG_IBMOL is not set
 # CONFIG_3C359 is not set
 # CONFIG_TMS380TR is not set
 
Index: linux.trees.git/arch/powerpc/configs/iseries_defconfig
===
--- linux.trees.git.orig/arch/powerpc/configs/iseries_defconfig 2009-11-26 
12:35:15.0 +1100
+++ linux.trees.git/arch/powerpc/configs/iseries_defconfig  2009-11-26 
12:35:55.0 +1100
@@ -714,8 +714,8 @@ CONFIG_NETDEV_1=y
 # CONFIG_BNX2X is not set
 # CONFIG_QLGE is not set
 # CONFIG_SFC is not set
-CONFIG_TR=y
-CONFIG_IBMOL=y
+# CONFIG_TR is not set
+# CONFIG_IBMOL is not set
 # CONFIG_3C359 is not set
 # CONFIG_TMS380TR is not set
 
Index: linux.trees.git/arch/powerpc/configs/ppc64_defconfig
===
--- linux.trees.git.orig/arch/powerpc/configs/ppc64_defconfig   2009-11-26 
12:35:15.0 +1100
+++ linux.trees.git/arch/powerpc/configs/ppc64_defconfig2009-11-26 
12:35:51.0 +1100
@@ -1023,8 +1023,8 @@ CONFIG_PASEMI_MAC=y
 # CONFIG_BNX2X is not set
 # CONFIG_QLGE is not set
 # CONFIG_SFC is not set
-CONFIG_TR=y
-CONFIG_IBMOL=y
+# CONFIG_TR is not set
+# CONFIG_IBMOL is not set
 # CONFIG_3C359 is not set
 # CONFIG_TMS380TR is not set
 
Index: linux.trees.git/arch/powerpc/configs/ppc64e_defconfig
===
--- linux.trees.git.orig/arch/powerpc/configs/ppc64e_defconfig  2009-11-26 
12:35:15.0 +1100
+++ linux.trees.git/arch/powerpc/configs/ppc64e_defconfig   2009-11-26 
12:35:41.0 +1100
@@ -1008,8 +1008,8 @@ CONFIG_IXGB=m
 # CONFIG_QLGE is not set
 # CONFIG_SFC is not set
 # CONFIG_BE2NET is not set
-CONFIG_TR=y
-CONFIG_IBMOL=y
+# CONFIG_TR is not set
+# CONFIG_IBMOL is not set
 # CONFIG_3C359 is not set
 # CONFIG_TMS380TR is not set
 CONFIG_WLAN=y
Index: linux.trees.git/arch/powerpc/configs/pseries_defconfig
===
--- linux.trees.git.orig/arch/powerpc/configs/pseries_defconfig 2009-11-26 
12:35:15.0 +1100
+++ linux.trees.git/arch/powerpc/configs/pseries_defconfig  2009-11-26 
12:36:04.0 +1100
@@ -834,8 +834,8 @@ CONFIG_S2IO=m
 # CONFIG_BNX2X is not set
 # CONFIG_QLGE is not set
 # CONFIG_SFC is not set
-CONFIG_TR=y
-CONFIG_IBMOL=y
+# CONFIG_TR is not set
+# CONFIG_IBMOL is not set
 # CONFIG_3C359 is not set
 # CONFIG_TMS380TR is not set
 
___
Linuxppc-dev mailing list
Linuxppc-dev@lists.ozlabs.org
https://lists.ozlabs.org/listinfo/linuxppc-dev


Re: ring on PowerPC

2007-10-30 Thread Grant Likely
On 10/30/07, Bai Shuwei [EMAIL PROTECTED] wrote:
 Hi, everyone
As we know, the program on the X86 can run on the differnt ring(0, 1, 2,
 3) and the linux kernel run in the ring 0 and user program in the ring 3.
 And now I want to know wether there is a simple mechanism on the PowerPC
 architecture? thx all!

Powerpc has 2 privilege levels; user and supervisor.  The kernel runs
in supervisor mode, and user-space runs in user mode.

g.

-- 
Grant Likely, B.Sc., P.Eng.
Secret Lab Technologies Ltd.
[EMAIL PROTECTED]
(403) 399-0195
___
Linuxppc-dev mailing list
Linuxppc-dev@ozlabs.org
https://ozlabs.org/mailman/listinfo/linuxppc-dev


ring on PowerPC

2007-10-30 Thread Bai Shuwei
Hi, everyone
   As we know, the program on the X86 can run on the differnt ring(0, 1, 2,
3) and the linux kernel run in the ring 0 and user program in the ring 3.
And now I want to know wether there is a simple mechanism on the PowerPC
architecture? thx all!

best regards!

Buroc

-- 

Add: Tianshui South Road 222, Lanzhou, P.R.China
Tel: +86-931-8912025
Zip Code: 73
URL: oss.lzu.edu.cn
Email: [EMAIL PROTECTED], [EMAIL PROTECTED]
___
Linuxppc-dev mailing list
Linuxppc-dev@ozlabs.org
https://ozlabs.org/mailman/listinfo/linuxppc-dev

Re: ring on PowerPC

2007-10-30 Thread Benjamin Herrenschmidt

On Tue, 2007-10-30 at 23:18 -0600, Grant Likely wrote:
 On 10/30/07, Bai Shuwei [EMAIL PROTECTED] wrote:
  Hi, everyone
 As we know, the program on the X86 can run on the differnt ring(0, 1, 2,
  3) and the linux kernel run in the ring 0 and user program in the ring 3.
  And now I want to know wether there is a simple mechanism on the PowerPC
  architecture? thx all!
 
 Powerpc has 2 privilege levels; user and supervisor.  The kernel runs
 in supervisor mode, and user-space runs in user mode.

To be complete here, some implementations have 3 :-) Don't forget
hypervisor mode !

Ben.


___
Linuxppc-dev mailing list
Linuxppc-dev@ozlabs.org
https://ozlabs.org/mailman/listinfo/linuxppc-dev