diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2008-10-15 11:07:35 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-10-15 11:07:35 -0400 |
commit | 5f2434a66dfa4701b81b79a78eaf9c32da0f8839 (patch) | |
tree | 8c38f1fb0d0fbcd15e496df89be00ad8c4918a43 /arch/powerpc/kernel/setup-common.c | |
parent | 278429cff8809958d25415ba0ed32b59866ab1a8 (diff) | |
parent | 6dc6472581f693b5fc95aebedf67b4960fb85cf0 (diff) |
Merge branch 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/benh/powerpc
* 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/benh/powerpc: (158 commits)
powerpc: Fix CHRP PCI config access for indirect_pci
powerpc/chrp: Fix detection of Python PCI host bridge on IBM CHRPs
powerpc: Fix 32-bit SMP boot on CHRP
powerpc: Fix link errors on 32-bit machines using legacy DMA
powerpc/pci: Improve detection of unassigned bridge resources
hvc_console: Fix free_irq in spinlocked section
powerpc: Get USE_STRICT_MM_TYPECHECKS working again
powerpc: Reflect the used arguments in machine_init() prototype
powerpc: Fix DMA offset for non-coherent DMA
powerpc: fix fsl_upm nand driver modular build
powerpc/83xx: add NAND support for the MPC8360E-RDK boards
powerpc: FPGA support for GE Fanuc SBC610
i2c: MPC8349E-mITX Power Management and GPIO expander driver
powerpc: reserve two DMA channels for audio in MPC8610 HPCD device tree
powerpc: document the "fsl,ssi-dma-channel" compatible property
powerpc: disable CHRP and PMAC support in various defconfigs
OF: add fsl,mcu-mpc8349emitx to the exception list
powerpc/83xx: add DS1374 RTC support for the MPC837xE-MDS boards
powerpc: remove support for bootmem-allocated memory for the DIU driver
powerpc: remove non-dependent load fsl_booke PTE_64BIT
...
Diffstat (limited to 'arch/powerpc/kernel/setup-common.c')
-rw-r--r-- | arch/powerpc/kernel/setup-common.c | 17 |
1 files changed, 15 insertions, 2 deletions
diff --git a/arch/powerpc/kernel/setup-common.c b/arch/powerpc/kernel/setup-common.c index 9cc5a52711e5..5ec56ff03e86 100644 --- a/arch/powerpc/kernel/setup-common.c +++ b/arch/powerpc/kernel/setup-common.c | |||
@@ -254,8 +254,21 @@ static int show_cpuinfo(struct seq_file *m, void *v) | |||
254 | /* If we are a Freescale core do a simple check so | 254 | /* If we are a Freescale core do a simple check so |
255 | * we dont have to keep adding cases in the future */ | 255 | * we dont have to keep adding cases in the future */ |
256 | if (PVR_VER(pvr) & 0x8000) { | 256 | if (PVR_VER(pvr) & 0x8000) { |
257 | maj = PVR_MAJ(pvr); | 257 | switch (PVR_VER(pvr)) { |
258 | min = PVR_MIN(pvr); | 258 | case 0x8000: /* 7441/7450/7451, Voyager */ |
259 | case 0x8001: /* 7445/7455, Apollo 6 */ | ||
260 | case 0x8002: /* 7447/7457, Apollo 7 */ | ||
261 | case 0x8003: /* 7447A, Apollo 7 PM */ | ||
262 | case 0x8004: /* 7448, Apollo 8 */ | ||
263 | case 0x800c: /* 7410, Nitro */ | ||
264 | maj = ((pvr >> 8) & 0xF); | ||
265 | min = PVR_MIN(pvr); | ||
266 | break; | ||
267 | default: /* e500/book-e */ | ||
268 | maj = PVR_MAJ(pvr); | ||
269 | min = PVR_MIN(pvr); | ||
270 | break; | ||
271 | } | ||
259 | } else { | 272 | } else { |
260 | switch (PVR_VER(pvr)) { | 273 | switch (PVR_VER(pvr)) { |
261 | case 0x0020: /* 403 family */ | 274 | case 0x0020: /* 403 family */ |