Commit 948ff1ba authored by Christoph Hellwig's avatar Christoph Hellwig Committed by Linus Torvalds

[PATCH] rename CONFIG_VOYAGER to CONFIG_X86_VOYAGER

The name is just a bit too generic, and we already use the _X86 prefix
for lots of other stuff in that area.  Dito for the never use CONFIG_PC
and CONFIG_VISWS.
parent 0c0c1d48
...@@ -42,12 +42,12 @@ choice ...@@ -42,12 +42,12 @@ choice
prompt "Subarchitecture Type" prompt "Subarchitecture Type"
default PC default PC
config PC config X86_PC
bool "IBM PC (and compatible)" bool "IBM PC (and compatible)"
help help
Choose this option if your computer is a standard PC or compatible. Choose this option if your computer is a standard PC or compatible.
config VOYAGER config X86_VOYAGER
bool "NCR Voyager" bool "NCR Voyager"
help help
Voyager is a MCA based 32 way capable SMP architecture proprietary Voyager is a MCA based 32 way capable SMP architecture proprietary
...@@ -407,7 +407,7 @@ config PREEMPT ...@@ -407,7 +407,7 @@ config PREEMPT
config X86_UP_APIC config X86_UP_APIC
bool "Local APIC support on uniprocessors" if !SMP bool "Local APIC support on uniprocessors" if !SMP
depends on !VOYAGER depends on !X86_VOYAGER
---help--- ---help---
A local APIC (Advanced Programmable Interrupt Controller) is an A local APIC (Advanced Programmable Interrupt Controller) is an
integrated interrupt controller in the CPU. If you have a single-CPU integrated interrupt controller in the CPU. If you have a single-CPU
...@@ -737,7 +737,7 @@ endmenu ...@@ -737,7 +737,7 @@ endmenu
menu "Power management options (ACPI, APM)" menu "Power management options (ACPI, APM)"
depends on !VOYAGER depends on !X86_VOYAGER
config PM config PM
bool "Power Management support" bool "Power Management support"
...@@ -1040,18 +1040,18 @@ menu "Bus options (PCI, PCMCIA, EISA, MCA, ISA)" ...@@ -1040,18 +1040,18 @@ menu "Bus options (PCI, PCMCIA, EISA, MCA, ISA)"
config X86_VISWS_APIC config X86_VISWS_APIC
bool bool
depends on VISWS depends on X86_VISWS
default y default y
config X86_LOCAL_APIC config X86_LOCAL_APIC
bool bool
depends on ((!VISWS && SMP) || VISWS) && !VOYAGER depends on (X86_VISWS || SMP) && !X86_VOYAGER
default y default y
config PCI config PCI
bool "PCI support" if !VISWS bool "PCI support" if !X86_VISWS
depends on !VOYAGER depends on !X86_VOYAGER
default y if VISWS default y if X86_VISWS
help help
Find out whether you have a PCI motherboard. PCI is the name of a Find out whether you have a PCI motherboard. PCI is the name of a
bus system, i.e. the way the CPU talks to the other stuff inside bus system, i.e. the way the CPU talks to the other stuff inside
...@@ -1065,12 +1065,12 @@ config PCI ...@@ -1065,12 +1065,12 @@ config PCI
config X86_IO_APIC config X86_IO_APIC
bool bool
depends on !VISWS && SMP && !VOYAGER depends on SMP && !(X86_VISWS || X86_VOYAGER)
default y default y
choice choice
prompt "PCI access mode" prompt "PCI access mode"
depends on !VISWS && PCI depends on PCI && !X86_VISWS
default PCI_GOANY default PCI_GOANY
config PCI_GOBIOS config PCI_GOBIOS
...@@ -1099,17 +1099,17 @@ endchoice ...@@ -1099,17 +1099,17 @@ endchoice
config PCI_BIOS config PCI_BIOS
bool bool
depends on !VISWS && PCI && (PCI_GOBIOS || PCI_GOANY) depends on !X86_VISWS && PCI && (PCI_GOBIOS || PCI_GOANY)
default y default y
config PCI_DIRECT config PCI_DIRECT
bool bool
depends on !VISWS && PCI && (PCI_GODIRECT || PCI_GOANY) depends on !X86_VISWS && PCI && (PCI_GODIRECT || PCI_GOANY)
default y default y
config SCx200 config SCx200
tristate "NatSemi SCx200 support" tristate "NatSemi SCx200 support"
depends on !VOYAGER depends on !X86_VOYAGER
help help
This provides basic support for the National Semiconductor SCx200 This provides basic support for the National Semiconductor SCx200
processor. Right now this is just a driver for the GPIO pins. processor. Right now this is just a driver for the GPIO pins.
...@@ -1123,7 +1123,7 @@ source "drivers/pci/Kconfig" ...@@ -1123,7 +1123,7 @@ source "drivers/pci/Kconfig"
config ISA config ISA
bool "ISA support" bool "ISA support"
depends on !VOYAGER depends on !(X86_VOYAGER || X86_VISWS)
help help
Find out whether you have ISA slots on your motherboard. ISA is the Find out whether you have ISA slots on your motherboard. ISA is the
name of a bus system, i.e. the way the CPU talks to the other stuff name of a bus system, i.e. the way the CPU talks to the other stuff
...@@ -1149,7 +1149,7 @@ config EISA ...@@ -1149,7 +1149,7 @@ config EISA
config MCA config MCA
bool "MCA support" bool "MCA support"
depends on !VISWS && !VOYAGER depends on !(X86_VISWS || X86_VOYAGER)
help help
MicroChannel Architecture is found in some IBM PS/2 machines and MicroChannel Architecture is found in some IBM PS/2 machines and
laptops. It is a bus system similar to PCI or ISA. See laptops. It is a bus system similar to PCI or ISA. See
...@@ -1157,8 +1157,8 @@ config MCA ...@@ -1157,8 +1157,8 @@ config MCA
there) before attempting to build an MCA bus kernel. there) before attempting to build an MCA bus kernel.
config MCA config MCA
depends on VOYAGER depends on X86_VOYAGER
default y if VOYAGER default y if X86_VOYAGER
source "drivers/mca/Kconfig" source "drivers/mca/Kconfig"
...@@ -1626,12 +1626,12 @@ config FRAME_POINTER ...@@ -1626,12 +1626,12 @@ config FRAME_POINTER
config X86_EXTRA_IRQS config X86_EXTRA_IRQS
bool bool
depends on X86_LOCAL_APIC || VOYAGER depends on X86_LOCAL_APIC || X86_VOYAGER
default y default y
config X86_FIND_SMP_CONFIG config X86_FIND_SMP_CONFIG
bool bool
depends on X86_LOCAL_APIC || VOYAGER depends on X86_LOCAL_APIC || X86_VOYAGER
default y default y
config X86_MPPARSE config X86_MPPARSE
...@@ -1649,17 +1649,17 @@ source "lib/Kconfig" ...@@ -1649,17 +1649,17 @@ source "lib/Kconfig"
config X86_SMP config X86_SMP
bool bool
depends on SMP && !VOYAGER depends on SMP && !X86_VOYAGER
default y default y
config X86_HT config X86_HT
bool bool
depends on SMP && !VOYAGER depends on SMP && !X86_VOYAGER
default y default y
config X86_BIOS_REBOOT config X86_BIOS_REBOOT
bool bool
depends on !VOYAGER depends on !X86_VOYAGER
default y default y
config X86_TRAMPOLINE config X86_TRAMPOLINE
......
...@@ -49,24 +49,22 @@ cflags-$(CONFIG_MCYRIXIII) += $(call check_gcc,-falign-functions=0 -falign-jumps ...@@ -49,24 +49,22 @@ cflags-$(CONFIG_MCYRIXIII) += $(call check_gcc,-falign-functions=0 -falign-jumps
CFLAGS += $(cflags-y) CFLAGS += $(cflags-y)
#default subarch .c files # Default subarch .c files
mcore-y := mach-default mcore-y := mach-default
#Voyager subarch support # Voyager subarch support
mflags-$(CONFIG_VOYAGER) := -Iinclude/asm-i386/mach-voyager mflags-$(CONFIG_X86_VOYAGER) := -Iinclude/asm-i386/mach-voyager
mcore-$(CONFIG_VOYAGER) := mach-voyager mcore-$(CONFIG_X86_VOYAGER) := mach-voyager
#VISWS subarch support # VISWS subarch support
mflags-$(CONFIG_VISWS) := -Iinclude/asm-i386/mach-visws mflags-$(CONFIG_X86_VISWS) := -Iinclude/asm-i386/mach-visws
mcore-$(CONFIG_VISWS) := mach-visws mcore-$(CONFIG_X86_VISWS) := mach-visws
#NUMAQ subarch support # NUMAQ subarch support
mflags-$(CONFIG_X86_NUMAQ) := -Iinclude/asm-i386/mach-numaq mflags-$(CONFIG_X86_NUMAQ) := -Iinclude/asm-i386/mach-numaq
mcore-$(CONFIG_X86_NUMAQ) := mach-default mcore-$(CONFIG_X86_NUMAQ) := mach-default
#add other subarch support here # default subarch .h files
#default subarch .h files
mflags-y += -Iinclude/asm-i386/mach-default mflags-y += -Iinclude/asm-i386/mach-default
HEAD := arch/i386/kernel/head.o arch/i386/kernel/init_task.o HEAD := arch/i386/kernel/head.o arch/i386/kernel/init_task.o
......
...@@ -476,7 +476,7 @@ sysdesc_ok: ...@@ -476,7 +476,7 @@ sysdesc_ok:
movsb movsb
popw %ds popw %ds
no_mca: no_mca:
#ifdef CONFIG_VOYAGER #ifdef CONFIG_X86_VOYAGER
movb $0xff, 0x40 # flag on config found movb $0xff, 0x40 # flag on config found
movb $0xc0, %al movb $0xc0, %al
mov $0xff, %ah mov $0xff, %ah
...@@ -758,7 +758,7 @@ A20_TEST_LOOPS = 32 # Iterations per wait ...@@ -758,7 +758,7 @@ A20_TEST_LOOPS = 32 # Iterations per wait
A20_ENABLE_LOOPS = 255 # Total loops to try A20_ENABLE_LOOPS = 255 # Total loops to try
#ifndef CONFIG_VOYAGER #ifndef CONFIG_X86_VOYAGER
a20_try_loop: a20_try_loop:
# First, see if we are on a system with no A20 gate. # First, see if we are on a system with no A20 gate.
...@@ -777,11 +777,11 @@ a20_bios: ...@@ -777,11 +777,11 @@ a20_bios:
jnz a20_done jnz a20_done
# Try enabling A20 through the keyboard controller # Try enabling A20 through the keyboard controller
#endif /* CONFIG_VOYAGER */ #endif /* CONFIG_X86_VOYAGER */
a20_kbc: a20_kbc:
call empty_8042 call empty_8042
#ifndef CONFIG_VOYAGER #ifndef CONFIG_X86_VOYAGER
call a20_test # Just in case the BIOS worked call a20_test # Just in case the BIOS worked
jnz a20_done # but had a delayed reaction. jnz a20_done # but had a delayed reaction.
#endif #endif
...@@ -794,7 +794,7 @@ a20_kbc: ...@@ -794,7 +794,7 @@ a20_kbc:
outb %al, $0x60 outb %al, $0x60
call empty_8042 call empty_8042
#ifndef CONFIG_VOYAGER #ifndef CONFIG_X86_VOYAGER
# Wait until a20 really *is* enabled; it can take a fair amount of # Wait until a20 really *is* enabled; it can take a fair amount of
# time on certain systems; Toshiba Tecras are known to have this # time on certain systems; Toshiba Tecras are known to have this
# problem. # problem.
...@@ -842,7 +842,7 @@ a20_err_msg: ...@@ -842,7 +842,7 @@ a20_err_msg:
# If we get here, all is good # If we get here, all is good
a20_done: a20_done:
#endif /* CONFIG_VOYAGER */ #endif /* CONFIG_X86_VOYAGER */
# set up gdt and idt # set up gdt and idt
lidt idt_48 # load idt with 0,0 lidt idt_48 # load idt with 0,0
xorl %eax, %eax # Compute gdt_base xorl %eax, %eax # Compute gdt_base
...@@ -1009,7 +1009,7 @@ bootsect_panic_mess: ...@@ -1009,7 +1009,7 @@ bootsect_panic_mess:
.string "INT15 refuses to access high mem, giving up." .string "INT15 refuses to access high mem, giving up."
#ifndef CONFIG_VOYAGER #ifndef CONFIG_X86_VOYAGER
# This routine tests whether or not A20 is enabled. If so, it # This routine tests whether or not A20 is enabled. If so, it
# exits with zf = 0. # exits with zf = 0.
# #
...@@ -1040,7 +1040,7 @@ a20_test_wait: ...@@ -1040,7 +1040,7 @@ a20_test_wait:
popw %cx popw %cx
ret ret
#endif /* CONFIG_VOYAGER */ #endif /* CONFIG_X86_VOYAGER */
# This routine checks that the keyboard command queue is empty # This routine checks that the keyboard command queue is empty
# (after emptying the output buffers) # (after emptying the output buffers)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment