[PATCH] Power3 Config/Doc

From: tom_gall@vnet.ibm.com
Date: Wed Jun 14 2000 - 09:24:01 EST


2.4.0-test1-ac15

Enclosed is a patch for arch/ppc/config.in for Power3/Power4 as it wasn't quite
setup right for these new processors. Those that use menuconfig or xconfig will
generate a .config file that will be wrong.

Additionally Documentation/Configure.help has been patched to include
information about Power3/Power4 as well as explain what CONFIG_PPC64BRIDGE is
all about.

Regards,

Tom

-- 
Tom Gall - PowerPC Linux Team    "Where's the ka-boom? There was
Linux Technology Center           supposed to be an earth
(w) tom_gall@vnet.ibm.com         shattering ka-boom!"
(w) 507-253-4558                 -- Marvin Martian
(h) tgall@uswest.net 
http://oss.software.ibm.com/developerworks/opensource/linux

diff -u --recursive --new-file linux.original/Documentation/Configure.help linux/Documentation/Configure.help --- linux.original/Documentation/Configure.help Tue Jun 13 11:17:11 2000 +++ linux/Documentation/Configure.help Tue Jun 13 11:30:59 2000 @@ -14764,11 +14764,19 @@ Processor Type CONFIG_6xx - There are three types of PowerPC chips supported. The more common + There are four types of PowerPC chips supported. The more common types (601, 603, 604, 740, 750), the Motorola embedded versions - (821, 823, 850, 855, 860), and the IBM embedded versions (403 and - 405). Unless you are building a kernel for one of the embedded - processor systems, choose 6xx. + (821, 823, 850, 855, 860), the IBM embedded versions (403 and + 405) and the high end 64 bit Power processors (Power 3, Power 4). + Unless you are building a kernel for one of the embedded + processor systems, or a 64 bit IBM RS/6000, choose 6xx. + +CONFIG_PPC64BRIDGE + Currently there is not a 64 bit PowerPC Linux kernel. As a result + if you choose the CONFIG_POWER3 or CONFIG_POWER4 options you + must choose this option as well. This enables gcc to emit + both 32 and 64 bit instructions as well as cause your kernel + to be built as a 32 bit kernel. Machine Type CONFIG_PMAC diff -u --recursive --new-file linux.original/arch/ppc/config.in linux/arch/ppc/config.in --- linux.original/arch/ppc/config.in Tue Jun 13 11:17:14 2000 +++ linux/arch/ppc/config.in Tue Jun 13 11:23:36 2000 @@ -17,12 +17,14 @@ choice 'Processor Type' \ "6xx/7xx/7400 CONFIG_6xx \ 4xx CONFIG_4xx \ - POWER3/POWER4(64-Bit) CONFIG_PPC64BRIDGE \ + POWER3 CONFIG_POWER3 \ + POWER4 CONFIG_POWER4 \ 8260 CONFIG_8260 \ 8xx CONFIG_8xx" 6xx -if [ "$CONFIG_PPC64BRIDGE" = "y" ]; then - bool 'Power 4 support' CONFIG_POWER4 +if [ "$CONFIG_POWER3" = "y" -o "$CONFIG_POWER4" = "y" ]; then + bool 'Power 3/4 32 bit Bridge support' CONFIG_PPC64BRIDGE + define_bool CONFIG_ALL_PPC y fi if [ "$CONFIG_8260" = "y" ]; then @@ -52,10 +54,6 @@ Gemini CONFIG_GEMINI \ EST8260 CONFIG_EST8260 \ APUS CONFIG_APUS" PowerMac/PReP/MTX/CHRP -fi - -if [ "$CONFIG_PPC64BRIDGE" = "y" ]; then - define_bool CONFIG_ALL_PPC y fi if [ "$CONFIG_8xx" = "y" -o "$CONFIG_8260" = "y" ]; then

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Thu Jun 15 2000 - 21:00:31 EST