[PATCH] ppc32: MPC885ADS, MPC866ADS and MPC8272ADS-specific platform stuff for fs_enet
[sfrench/cifs-2.6.git] / arch / ppc / Kconfig
index cc3f64c084c5e886b29eadd081c77edc5bcace91..54a0a9bb12ddd1d6dfbbd790dce465e2226d162d 100644 (file)
@@ -8,9 +8,6 @@ config MMU
        bool
        default y
 
        bool
        default y
 
-config UID16
-       bool
-
 config GENERIC_HARDIRQS
        bool
        default y
 config GENERIC_HARDIRQS
        bool
        default y
@@ -61,11 +58,11 @@ config 6xx
        help
          There are four types of PowerPC chips supported.  The more common
          types (601, 603, 604, 740, 750, 7400), the Motorola embedded
        help
          There are four types of PowerPC chips supported.  The more common
          types (601, 603, 604, 740, 750, 7400), the Motorola embedded
-         versions (821, 823, 850, 855, 860, 52xx, 82xx, 83xx), the IBM embedded
-         versions (403 and 405) and the high end 64 bit Power processors
-         (POWER 3, POWER4, and IBM 970 also known as G5)
+         versions (821, 823, 850, 855, 860, 52xx, 82xx, 83xx), the IBM
+         embedded versions (403 and 405) and the POWER3 processor.
+         (For support for more recent 64-bit processors, set ARCH=powerpc.)
          Unless you are building a kernel for one of the embedded processor
          Unless you are building a kernel for one of the embedded processor
-         systems, 64 bit IBM RS/6000 or an Apple G5, choose 6xx.
+         systems or a POWER3-based IBM RS/6000, choose 6xx.
          Note that the kernel runs in 32-bit mode even on 64-bit chips.
          Also note that because the 52xx, 82xx, & 83xx family has a 603e core,
          specific support for that chipset is asked later on.
          Note that the kernel runs in 32-bit mode even on 64-bit chips.
          Also note that because the 52xx, 82xx, & 83xx family has a 603e core,
          specific support for that chipset is asked later on.
@@ -80,10 +77,6 @@ config POWER3
        select PPC_FPU
        bool "POWER3"
 
        select PPC_FPU
        bool "POWER3"
 
-config POWER4
-       select PPC_FPU
-       bool "POWER4 and 970 (G5)"
-
 config 8xx
        bool "8xx"
 
 config 8xx
        bool "8xx"
 
@@ -126,7 +119,7 @@ config PHYS_64BIT
 
 config ALTIVEC
        bool "AltiVec Support"
 
 config ALTIVEC
        bool "AltiVec Support"
-       depends on 6xx || POWER4
+       depends on 6xx
        depends on !8260 && !83xx
        ---help---
          This option enables kernel support for the Altivec extensions to the
        depends on !8260 && !83xx
        ---help---
          This option enables kernel support for the Altivec extensions to the
@@ -238,18 +231,9 @@ config KEXEC
 
 source "drivers/cpufreq/Kconfig"
 
 
 source "drivers/cpufreq/Kconfig"
 
-config CPU_FREQ_PMAC
-       bool "Support for Apple PowerBooks"
-       depends on CPU_FREQ && ADB_PMU
-       select CPU_FREQ_TABLE
-       help
-         This adds support for frequency switching on Apple PowerBooks,
-         this currently includes some models of iBook & Titanium
-         PowerBook.
-
 config PPC601_SYNC_FIX
        bool "Workarounds for PPC601 bugs"
 config PPC601_SYNC_FIX
        bool "Workarounds for PPC601 bugs"
-       depends on 6xx && (PPC_PREP || PPC_PMAC)
+       depends on 6xx && PPC_PREP
        help
          Some versions of the PPC601 (the first PowerPC chip) have bugs which
          mean that extra synchronization instructions are required near
        help
          Some versions of the PPC601 (the first PowerPC chip) have bugs which
          mean that extra synchronization instructions are required near
@@ -261,26 +245,17 @@ config PPC601_SYNC_FIX
 
          If in doubt, say Y here.
 
 
          If in doubt, say Y here.
 
-config HOTPLUG_CPU
-       bool "Support for enabling/disabling CPUs"
-       depends on SMP && HOTPLUG && EXPERIMENTAL && PPC_PMAC
-       ---help---
-         Say Y here to be able to disable and re-enable individual
-         CPUs at runtime on SMP machines.
-
-         Say N if you are unsure.
-
 source arch/ppc/platforms/4xx/Kconfig
 source arch/ppc/platforms/85xx/Kconfig
 
 config PPC64BRIDGE
        bool
 source arch/ppc/platforms/4xx/Kconfig
 source arch/ppc/platforms/85xx/Kconfig
 
 config PPC64BRIDGE
        bool
-       depends on POWER3 || POWER4
+       depends on POWER3
        default y
 
 config PPC_STD_MMU
        bool
        default y
 
 config PPC_STD_MMU
        bool
-       depends on 6xx || POWER3 || POWER4
+       depends on 6xx || POWER3
        default y
 
 config NOT_COHERENT_CACHE
        default y
 
 config NOT_COHERENT_CACHE
@@ -506,9 +481,56 @@ config WINCEPT
 
 endchoice
 
 
 endchoice
 
+menu "Freescale Ethernet driver platform-specific options"
+       depends on FS_ENET
+
+       config MPC8xx_SECOND_ETH
+       bool "Second Ethernet channel"
+       depends on (MPC885ADS || MPC86XADS)
+       default y
+       help
+         This enables support for second Ethernet on MPC885ADS and MPC86xADS boards.
+         The latter will use SCC1, for 885ADS you can select it below.
+
+       choice
+               prompt "Second Ethernet channel"
+               depends on MPC8xx_SECOND_ETH
+               default MPC8xx_SECOND_ETH_FEC2
+
+               config MPC8xx_SECOND_ETH_FEC2
+               bool "FEC2"
+               depends on MPC885ADS
+               help
+                 Enable FEC2 to serve as 2-nd Ethernet channel. Note that SMC2
+                 (often 2-nd UART) will not work if this is enabled.
+
+               config MPC8xx_SECOND_ETH_SCC1
+               bool "SCC1"
+               depends on MPC86XADS
+               select MPC8xx_SCC_ENET_FIXED
+               help
+                 Enable SCC1 to serve as 2-nd Ethernet channel. Note that SMC1
+                 (often 1-nd UART) will not work if this is enabled.
+
+               config MPC8xx_SECOND_ETH_SCC3
+               bool "SCC3"
+               depends on MPC885ADS
+               help
+                 Enable SCC3 to serve as 2-nd Ethernet channel. Note that SMC1
+                 (often 1-nd UART) will not work if this is enabled.
+
+       endchoice
+
+       config MPC8xx_SCC_ENET_FIXED
+       depends on MPC8xx_SECOND_ETH_SCC
+       default n
+       bool "Use fixed MII-less mode for SCC Ethernet"
+
+endmenu
+
 choice
        prompt "Machine Type"
 choice
        prompt "Machine Type"
-       depends on 6xx || POWER3 || POWER4
+       depends on 6xx || POWER3
        default PPC_MULTIPLATFORM
        ---help---
          Linux currently supports several different kinds of PowerPC-based
        default PPC_MULTIPLATFORM
        ---help---
          Linux currently supports several different kinds of PowerPC-based
@@ -519,11 +541,15 @@ choice
          Platform) machines (including all of the recent IBM RS/6000 and
          pSeries machines), and several embedded PowerPC systems containing
          4xx, 6xx, 7xx, 8xx, 74xx, and 82xx processors.  Currently, the
          Platform) machines (including all of the recent IBM RS/6000 and
          pSeries machines), and several embedded PowerPC systems containing
          4xx, 6xx, 7xx, 8xx, 74xx, and 82xx processors.  Currently, the
-         default option is to build a kernel which works on the first three.
+         default option is to build a kernel which works on PReP and CHRP.
 
 
-         Select CHRP/PowerMac/PReP if configuring for an IBM RS/6000 or
-         pSeries machine, a Power Macintosh (including iMacs, iBooks and
-         Powerbooks), or a PReP machine.
+         Note that support for Apple machines is now only available with
+         ARCH=powerpc, and has been removed from this menu.  If you wish
+         to build a kernel for an Apple machine, exit this configuration
+         process and re-run it with ARCH=powerpc.
+
+         Select CHRP/PReP if configuring for an IBM RS/6000 or
+         pSeries machine, or a PReP machine.
 
          Select Gemini if configuring for a Synergy Microsystems' Gemini
          series Single Board Computer.  More information is available at:
 
          Select Gemini if configuring for a Synergy Microsystems' Gemini
          series Single Board Computer.  More information is available at:
@@ -533,7 +559,7 @@ choice
          available at: <http://linux-apus.sourceforge.net/>.
 
 config PPC_MULTIPLATFORM
          available at: <http://linux-apus.sourceforge.net/>.
 
 config PPC_MULTIPLATFORM
-       bool "CHRP/PowerMac/PReP"
+       bool "CHRP/PReP"
 
 config APUS
        bool "Amiga-APUS"
 
 config APUS
        bool "Amiga-APUS"
@@ -746,6 +772,10 @@ config MPC834x
        bool
        default y if MPC834x_SYS
 
        bool
        default y if MPC834x_SYS
 
+config PPC_83xx
+       bool
+       default y if 83xx
+
 config CPM1
        bool
        depends on 8xx
 config CPM1
        bool
        depends on 8xx
@@ -767,25 +797,14 @@ config CPM2
          on it (826x, 827x, 8560).
 
 config PPC_CHRP
          on it (826x, 827x, 8560).
 
 config PPC_CHRP
-       bool
+       bool "Support for CHRP (Common Hardware Reference Platform) machines"
        depends on PPC_MULTIPLATFORM
        select PPC_I8259
        select PPC_INDIRECT_PCI
        default y
 
        depends on PPC_MULTIPLATFORM
        select PPC_I8259
        select PPC_INDIRECT_PCI
        default y
 
-config PPC_PMAC
-       bool
-       depends on PPC_MULTIPLATFORM
-       select PPC_INDIRECT_PCI
-       default y
-
-config PPC_PMAC64
-       bool
-       depends on PPC_PMAC && POWER4
-       default y
-
 config PPC_PREP
 config PPC_PREP
-       bool
+       bool "Support for PReP (PowerPC Reference Platform) machines"
        depends on PPC_MULTIPLATFORM
        select PPC_I8259
        select PPC_INDIRECT_PCI
        depends on PPC_MULTIPLATFORM
        select PPC_I8259
        select PPC_INDIRECT_PCI
@@ -793,7 +812,7 @@ config PPC_PREP
 
 config PPC_OF
        bool
 
 config PPC_OF
        bool
-       depends on PPC_PMAC || PPC_CHRP
+       depends on PPC_CHRP
        default y
 
 config PPC_GEN550
        default y
 
 config PPC_GEN550
@@ -1165,7 +1184,7 @@ config ISA
 
 config GENERIC_ISA_DMA
        bool
 
 config GENERIC_ISA_DMA
        bool
-       depends on POWER3 || POWER4 || 6xx && !CPM2
+       depends on POWER3 || 6xx && !CPM2
        default y
 
 config PPC_I8259
        default y
 
 config PPC_I8259