hc
2024-12-19 9370bb92b2d16684ee45cf24e879c93c509162da
kernel/arch/alpha/Kconfig
....@@ -5,8 +5,14 @@
55 select ARCH_MIGHT_HAVE_PC_PARPORT
66 select ARCH_MIGHT_HAVE_PC_SERIO
77 select ARCH_NO_PREEMPT
8
+ select ARCH_NO_SG_CHAIN
89 select ARCH_USE_CMPXCHG_LOCKREF
10
+ select DMA_OPS if PCI
11
+ select FORCE_PCI if !ALPHA_JENSEN
12
+ select PCI_DOMAINS if PCI
13
+ select PCI_SYSCALL if PCI
914 select HAVE_AOUT
15
+ select HAVE_ASM_MODVERSIONS
1016 select HAVE_IDE
1117 select HAVE_OPROFILE
1218 select HAVE_PCSPKR_PLATFORM
....@@ -15,6 +21,7 @@
1521 select NEED_SG_DMA_LENGTH
1622 select VIRT_TO_BUS
1723 select GENERIC_IRQ_PROBE
24
+ select GENERIC_PCI_IOMAP if PCI
1825 select AUTO_IRQ_AFFINITY if SMP
1926 select GENERIC_IRQ_SHOW
2027 select ARCH_WANT_IPC_PARSE_VERSION
....@@ -31,6 +38,8 @@
3138 select ODD_RT_SIGACTION
3239 select OLD_SIGSUSPEND
3340 select CPU_NO_EFFICIENT_FFS if !ALPHA_EV67
41
+ select MMU_GATHER_NO_RANGE
42
+ select SET_FS
3443 help
3544 The Alpha is a 64-bit general-purpose processor designed and
3645 marketed by the Digital Equipment Corporation of blessed memory,
....@@ -41,13 +50,6 @@
4150 def_bool y
4251
4352 config MMU
44
- bool
45
- default y
46
-
47
-config RWSEM_GENERIC_SPINLOCK
48
- bool
49
-
50
-config RWSEM_XCHGADD_ALGORITHM
5153 bool
5254 default y
5355
....@@ -83,7 +85,7 @@
8385 choice
8486 prompt "Alpha system type"
8587 default ALPHA_GENERIC
86
- ---help---
88
+ help
8789 This is the system type of your hardware. A "generic" kernel will
8890 run on any supported Alpha system. However, if you configure a
8991 kernel for your specific system, it will be faster and smaller.
....@@ -125,11 +127,13 @@
125127 config ALPHA_GENERIC
126128 bool "Generic"
127129 depends on TTY
130
+ select HAVE_EISA
128131 help
129132 A generic kernel will run on all supported Alpha hardware.
130133
131134 config ALPHA_ALCOR
132135 bool "Alcor/Alpha-XLT"
136
+ select HAVE_EISA
133137 help
134138 For systems using the Digital ALCOR chipset: 5 chips (4, 64-bit data
135139 slices (Data Switch, DSW) - 208-pin PQFP and 1 control (Control, I/O
....@@ -202,7 +206,7 @@
202206 config ALPHA_JENSEN
203207 bool "Jensen"
204208 depends on BROKEN
205
- select DMA_DIRECT_OPS
209
+ select HAVE_EISA
206210 help
207211 DEC PC 150 AXP (aka Jensen): This is a very old Digital system - one
208212 of the first-generation Alpha systems. A number of these systems
....@@ -219,6 +223,7 @@
219223
220224 config ALPHA_LYNX
221225 bool "Lynx"
226
+ select HAVE_EISA
222227 help
223228 AlphaServer 2100A-based systems.
224229
....@@ -229,6 +234,7 @@
229234
230235 config ALPHA_MIATA
231236 bool "Miata"
237
+ select HAVE_EISA
232238 help
233239 The Digital PersonalWorkStation (PWS 433a, 433au, 500a, 500au, 600a,
234240 or 600au).
....@@ -248,6 +254,7 @@
248254
249255 config ALPHA_NORITAKE
250256 bool "Noritake"
257
+ select HAVE_EISA
251258 help
252259 AlphaServer 1000A, AlphaServer 600A, and AlphaServer 800-based
253260 systems.
....@@ -260,6 +267,7 @@
260267
261268 config ALPHA_RAWHIDE
262269 bool "Rawhide"
270
+ select HAVE_EISA
263271 help
264272 AlphaServer 1200, AlphaServer 4000 and AlphaServer 4100 machines.
265273 See HOWTO at
....@@ -279,6 +287,7 @@
279287
280288 config ALPHA_SABLE
281289 bool "Sable"
290
+ select HAVE_EISA
282291 help
283292 Digital AlphaServer 2000 and 2100-based systems.
284293
....@@ -318,24 +327,6 @@
318327 config ISA_DMA_API
319328 bool
320329 default y
321
-
322
-config PCI
323
- bool
324
- depends on !ALPHA_JENSEN
325
- select GENERIC_PCI_IOMAP
326
- default y
327
- help
328
- Find out whether you have a PCI motherboard. PCI is the name of a
329
- bus system, i.e. the way the CPU talks to the other stuff inside
330
- your box. Other bus systems are ISA, EISA, MicroChannel (MCA) or
331
- VESA. If you have PCI, say Y, otherwise N.
332
-
333
-config PCI_DOMAINS
334
- bool
335
- default y
336
-
337
-config PCI_SYSCALL
338
- def_bool PCI
339330
340331 config ALPHA_NONAME
341332 bool
....@@ -491,7 +482,7 @@
491482 config ALPHA_QEMU
492483 bool "Run under QEMU emulation"
493484 depends on !ALPHA_GENERIC
494
- ---help---
485
+ help
495486 Assume the presence of special features supported by QEMU PALcode
496487 that reduce the overhead of system emulation.
497488
....@@ -506,7 +497,7 @@
506497 bool "Use SRM as bootloader" if ALPHA_CABRIOLET || ALPHA_AVANTI_CH || ALPHA_EB64P || ALPHA_PC164 || ALPHA_TAKARA || ALPHA_EB164 || ALPHA_ALCOR || ALPHA_MIATA || ALPHA_LX164 || ALPHA_SX164 || ALPHA_NAUTILUS || ALPHA_NONAME
507498 depends on TTY
508499 default y if ALPHA_JENSEN || ALPHA_MIKASA || ALPHA_SABLE || ALPHA_LYNX || ALPHA_NORITAKE || ALPHA_DP264 || ALPHA_RAWHIDE || ALPHA_EIGER || ALPHA_WILDFIRE || ALPHA_TITAN || ALPHA_SHARK || ALPHA_MARVEL
509
- ---help---
500
+ help
510501 There are two different types of booting firmware on Alphas: SRM,
511502 which is command line driven, and ARC, which uses menus and arrow
512503 keys. Details about the Linux/Alpha booting process are contained in
....@@ -526,18 +517,13 @@
526517
527518 If unsure, say N.
528519
529
-config EISA
530
- bool
531
- depends on ALPHA_GENERIC || ALPHA_JENSEN || ALPHA_ALCOR || ALPHA_MIKASA || ALPHA_SABLE || ALPHA_LYNX || ALPHA_NORITAKE || ALPHA_RAWHIDE
532
- default y
533
-
534520 config ARCH_MAY_HAVE_PC_FDC
535521 def_bool y
536522
537523 config SMP
538524 bool "Symmetric multi-processing support"
539525 depends on ALPHA_SABLE || ALPHA_LYNX || ALPHA_RAWHIDE || ALPHA_DP264 || ALPHA_WILDFIRE || ALPHA_TITAN || ALPHA_GENERIC || ALPHA_SHARK || ALPHA_MARVEL
540
- ---help---
526
+ help
541527 This enables support for systems with more than one CPU. If you have
542528 a system with only one CPU, say N. If you have a system with more
543529 than one CPU, say Y.
....@@ -561,7 +547,7 @@
561547 default "4" if !ALPHA_GENERIC && !ALPHA_MARVEL
562548 help
563549 MARVEL support can handle a maximum of 32 CPUs, all the others
564
- with working support have a maximum of 4 CPUs.
550
+ with working support have a maximum of 4 CPUs.
565551
566552 config ARCH_DISCONTIGMEM_ENABLE
567553 bool "Discontiguous Memory Support"
....@@ -585,7 +571,7 @@
585571 default n if ALPHA_EV5 || ALPHA_EV56 || (ALPHA_EV4 && !ALPHA_LCA)
586572 default n if !ALPHA_SRM && !ALPHA_GENERIC
587573 default y if SMP
588
- ---help---
574
+ help
589575 The Wait for Interrupt (WTINT) PALcall attempts to place the CPU
590576 to sleep until the next interrupt. This may reduce the power
591577 consumed, and the heat produced by the computer. However, it has
....@@ -611,7 +597,7 @@
611597 # LARGE_VMALLOC is racy, if you *really* need it then fix it first
612598 config ALPHA_LARGE_VMALLOC
613599 bool
614
- ---help---
600
+ help
615601 Process creation and other aspects of virtual memory management can
616602 be streamlined if we restrict the kernel to one PGD for all vmalloc
617603 allocations. This equates to about 8GB.
....@@ -630,7 +616,7 @@
630616 int "Verbose Printing Mode (0=off, 1=on, 2=all)"
631617 depends on VERBOSE_MCHECK
632618 default 1
633
- ---help---
619
+ help
634620 This option allows the default printing mode to be set, and then
635621 possibly overridden by a boot command argument.
636622
....@@ -649,7 +635,7 @@
649635 default HZ_128 if ALPHA_QEMU
650636 default HZ_1200 if ALPHA_RAWHIDE
651637 default HZ_1024
652
- ---help---
638
+ help
653639 The frequency at which timer interrupts occur. A high frequency
654640 minimizes latency, whereas a low frequency minimizes overhead of
655641 process accounting. The later effect is especially significant
....@@ -673,7 +659,7 @@
673659 endchoice
674660
675661 config HZ
676
- int
662
+ int
677663 default 32 if HZ_32
678664 default 64 if HZ_64
679665 default 128 if HZ_128
....@@ -681,15 +667,10 @@
681667 default 1200 if HZ_1200
682668 default 1024
683669
684
-source "drivers/pci/Kconfig"
685
-source "drivers/eisa/Kconfig"
686
-
687
-source "drivers/pcmcia/Kconfig"
688
-
689670 config SRM_ENV
690671 tristate "SRM environment through procfs"
691672 depends on PROC_FS
692
- ---help---
673
+ help
693674 If you enable this option, a subdirectory inside /proc called
694675 /proc/srm_environment will give you access to the all important
695676 SRM environment variables (those which have a name) and also