ALPHA: misc fixes
1. arch/alpha/Kconfig several adjustments: a) additions to the systems list and cleanup of same b) change limits of NR_CPUS and make dep. on platform Note that MARVEL support is limited to 32 CPUs whan using 42-bit KSEG - one needs 48-bit KSEG to handle up to 64, and we've never supported 48-bit KSEG. 2. include/asm-alpha/core_wildfire.h fix a typo that undoubtedly prevents WILDFIRE support from working Signed-off-by: Ivan Kokshaysky <ink@jurassic.park.msu.ru> Cc: Richard Henderson <rth@twiddle.net> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
Родитель
5ae0b6c704
Коммит
d7083174a2
|
@ -83,22 +83,20 @@ choice
|
||||||
check out the Linux/Alpha FAQ, accessible on the WWW from
|
check out the Linux/Alpha FAQ, accessible on the WWW from
|
||||||
<http://www.alphalinux.org/>. In summary:
|
<http://www.alphalinux.org/>. In summary:
|
||||||
|
|
||||||
Alcor/Alpha-XLT AS 600
|
Alcor/Alpha-XLT AS 600, AS 500, XL-300, XL-366
|
||||||
Alpha-XL XL-233, XL-266
|
Alpha-XL XL-233, XL-266
|
||||||
AlphaBook1 Alpha laptop
|
AlphaBook1 Alpha laptop
|
||||||
Avanti AS 200, AS 205, AS 250, AS 255, AS 300, AS 400
|
Avanti AS 200, AS 205, AS 250, AS 255, AS 300, AS 400
|
||||||
Cabriolet AlphaPC64, AlphaPCI64
|
Cabriolet AlphaPC64, AlphaPCI64
|
||||||
DP264 DP264
|
DP264 DP264 / DS20 / ES40 / DS10 / DS10L
|
||||||
EB164 EB164 21164 evaluation board
|
EB164 EB164 21164 evaluation board
|
||||||
EB64+ EB64+ 21064 evaluation board
|
EB64+ EB64+ 21064 evaluation board
|
||||||
EB66 EB66 21066 evaluation board
|
EB66 EB66 21066 evaluation board
|
||||||
EB66+ EB66+ 21066 evaluation board
|
EB66+ EB66+ 21066 evaluation board
|
||||||
Jensen DECpc 150, DEC 2000 model 300,
|
Jensen DECpc 150, DEC 2000 models 300, 500
|
||||||
DEC 2000 model 500
|
|
||||||
LX164 AlphaPC164-LX
|
LX164 AlphaPC164-LX
|
||||||
Lynx AS 2100A
|
Lynx AS 2100A
|
||||||
Miata Personal Workstation 433a, 433au, 500a,
|
Miata Personal Workstation 433/500/600 a/au
|
||||||
500au, 600a, or 600au
|
|
||||||
Marvel AlphaServer ES47 / ES80 / GS1280
|
Marvel AlphaServer ES47 / ES80 / GS1280
|
||||||
Mikasa AS 1000
|
Mikasa AS 1000
|
||||||
Noname AXPpci33, UDB (Multia)
|
Noname AXPpci33, UDB (Multia)
|
||||||
|
@ -108,9 +106,9 @@ choice
|
||||||
Ruffian RPX164-2, AlphaPC164-UX, AlphaPC164-BX
|
Ruffian RPX164-2, AlphaPC164-UX, AlphaPC164-BX
|
||||||
SX164 AlphaPC164-SX
|
SX164 AlphaPC164-SX
|
||||||
Sable AS 2000, AS 2100
|
Sable AS 2000, AS 2100
|
||||||
Shark DS 20L
|
Shark DS 20L
|
||||||
Takara Takara
|
Takara Takara (OEM)
|
||||||
Titan AlphaServer ES45 / DS25
|
Titan AlphaServer ES45 / DS25 / DS15
|
||||||
Wildfire AlphaServer GS 40/80/160/320
|
Wildfire AlphaServer GS 40/80/160/320
|
||||||
|
|
||||||
If you don't know what to do, choose "generic".
|
If you don't know what to do, choose "generic".
|
||||||
|
@ -546,10 +544,14 @@ config HAVE_DEC_LOCK
|
||||||
default y
|
default y
|
||||||
|
|
||||||
config NR_CPUS
|
config NR_CPUS
|
||||||
int "Maximum number of CPUs (2-64)"
|
int "Maximum number of CPUs (2-32)"
|
||||||
range 2 64
|
range 2 32
|
||||||
depends on SMP
|
depends on SMP
|
||||||
default "64"
|
default "32" if ALPHA_GENERIC || ALPHA_MARVEL
|
||||||
|
default "4" if !ALPHA_GENERIC && !ALPHA_MARVEL
|
||||||
|
help
|
||||||
|
MARVEL support can handle a maximum of 32 CPUs, all the others
|
||||||
|
with working support have a maximum of 4 CPUs.
|
||||||
|
|
||||||
config ARCH_DISCONTIGMEM_ENABLE
|
config ARCH_DISCONTIGMEM_ENABLE
|
||||||
bool "Discontiguous Memory Support (EXPERIMENTAL)"
|
bool "Discontiguous Memory Support (EXPERIMENTAL)"
|
||||||
|
|
|
@ -295,7 +295,7 @@ __EXTERN_INLINE int wildfire_is_ioaddr(unsigned long addr)
|
||||||
|
|
||||||
__EXTERN_INLINE int wildfire_is_mmio(const volatile void __iomem *xaddr)
|
__EXTERN_INLINE int wildfire_is_mmio(const volatile void __iomem *xaddr)
|
||||||
{
|
{
|
||||||
unsigned long addr = (unsigned long)addr;
|
unsigned long addr = (unsigned long)xaddr;
|
||||||
return (addr & 0x100000000UL) == 0;
|
return (addr & 0x100000000UL) == 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Загрузка…
Ссылка в новой задаче