diff options
author | Ralf Baechle <ralf@linux-mips.org> | 2007-07-12 12:41:23 -0400 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2007-07-12 12:41:23 -0400 |
commit | de61b542b822746d1498718c40f5dd740da49629 (patch) | |
tree | 3c531813af29e3dd621bbd4086d3da499cc30e25 | |
parent | fdc1f93847ea618e51f001805e022794d8bffff3 (diff) |
[MIPS] Rename PC speaker code
While the PC speaker is wired up to the i8254 there is more to the i8254
than just the PC speaker so this code was getting in the way under its
current name.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
-rw-r--r-- | arch/mips/Kconfig | 8 | ||||
-rw-r--r-- | arch/mips/configs/jazz_defconfig | 2 | ||||
-rw-r--r-- | arch/mips/configs/qemu_defconfig | 2 | ||||
-rw-r--r-- | arch/mips/configs/rm200_defconfig | 2 | ||||
-rw-r--r-- | arch/mips/kernel/Makefile | 2 | ||||
-rw-r--r-- | arch/mips/kernel/pcspeaker.c (renamed from arch/mips/kernel/i8253.c) | 0 |
6 files changed, 8 insertions, 8 deletions
diff --git a/arch/mips/Kconfig b/arch/mips/Kconfig index 49f02e351244..5c863bcd5614 100644 --- a/arch/mips/Kconfig +++ b/arch/mips/Kconfig | |||
@@ -117,9 +117,9 @@ config MACH_JAZZ | |||
117 | select ARC32 | 117 | select ARC32 |
118 | select ARCH_MAY_HAVE_PC_FDC | 118 | select ARCH_MAY_HAVE_PC_FDC |
119 | select GENERIC_ISA_DMA | 119 | select GENERIC_ISA_DMA |
120 | select I8253 | ||
121 | select I8259 | 120 | select I8259 |
122 | select ISA | 121 | select ISA |
122 | select PCSPEAKER | ||
123 | select SYS_HAS_CPU_R4X00 | 123 | select SYS_HAS_CPU_R4X00 |
124 | select SYS_SUPPORTS_32BIT_KERNEL | 124 | select SYS_SUPPORTS_32BIT_KERNEL |
125 | select SYS_SUPPORTS_64BIT_KERNEL if EXPERIMENTAL | 125 | select SYS_SUPPORTS_64BIT_KERNEL if EXPERIMENTAL |
@@ -347,9 +347,9 @@ config QEMU | |||
347 | select DMA_COHERENT | 347 | select DMA_COHERENT |
348 | select GENERIC_ISA_DMA | 348 | select GENERIC_ISA_DMA |
349 | select HAVE_STD_PC_SERIAL_PORT | 349 | select HAVE_STD_PC_SERIAL_PORT |
350 | select I8253 | ||
351 | select I8259 | 350 | select I8259 |
352 | select ISA | 351 | select ISA |
352 | select PCSPEAKER | ||
353 | select SWAP_IO_SPACE | 353 | select SWAP_IO_SPACE |
354 | select SYS_HAS_CPU_MIPS32_R1 | 354 | select SYS_HAS_CPU_MIPS32_R1 |
355 | select SYS_SUPPORTS_32BIT_KERNEL | 355 | select SYS_SUPPORTS_32BIT_KERNEL |
@@ -562,9 +562,9 @@ config SNI_RM | |||
562 | select HW_HAS_EISA | 562 | select HW_HAS_EISA |
563 | select HW_HAS_PCI | 563 | select HW_HAS_PCI |
564 | select IRQ_CPU | 564 | select IRQ_CPU |
565 | select I8253 | ||
566 | select I8259 | 565 | select I8259 |
567 | select ISA | 566 | select ISA |
567 | select PCSPEAKER | ||
568 | select SWAP_IO_SPACE if CPU_BIG_ENDIAN | 568 | select SWAP_IO_SPACE if CPU_BIG_ENDIAN |
569 | select SYS_HAS_CPU_R4X00 | 569 | select SYS_HAS_CPU_R4X00 |
570 | select SYS_HAS_CPU_R5000 | 570 | select SYS_HAS_CPU_R5000 |
@@ -1864,7 +1864,7 @@ config MMU | |||
1864 | bool | 1864 | bool |
1865 | default y | 1865 | default y |
1866 | 1866 | ||
1867 | config I8253 | 1867 | config PCSPEAKER |
1868 | bool | 1868 | bool |
1869 | 1869 | ||
1870 | source "drivers/pcmcia/Kconfig" | 1870 | source "drivers/pcmcia/Kconfig" |
diff --git a/arch/mips/configs/jazz_defconfig b/arch/mips/configs/jazz_defconfig index dd04eece9fd3..8a0b4ac5283d 100644 --- a/arch/mips/configs/jazz_defconfig +++ b/arch/mips/configs/jazz_defconfig | |||
@@ -241,7 +241,7 @@ CONFIG_DEFAULT_IOSCHED="anticipatory" | |||
241 | # | 241 | # |
242 | CONFIG_ISA=y | 242 | CONFIG_ISA=y |
243 | CONFIG_MMU=y | 243 | CONFIG_MMU=y |
244 | CONFIG_I8253=y | 244 | CONFIG_PCSPEAKER=y |
245 | 245 | ||
246 | # | 246 | # |
247 | # PCCARD (PCMCIA/CardBus) support | 247 | # PCCARD (PCMCIA/CardBus) support |
diff --git a/arch/mips/configs/qemu_defconfig b/arch/mips/configs/qemu_defconfig index 6cca105832ca..703de002e372 100644 --- a/arch/mips/configs/qemu_defconfig +++ b/arch/mips/configs/qemu_defconfig | |||
@@ -221,7 +221,7 @@ CONFIG_DEFAULT_IOSCHED="noop" | |||
221 | # | 221 | # |
222 | CONFIG_ISA=y | 222 | CONFIG_ISA=y |
223 | CONFIG_MMU=y | 223 | CONFIG_MMU=y |
224 | CONFIG_I8253=y | 224 | CONFIG_PCSPEAKER=y |
225 | 225 | ||
226 | # | 226 | # |
227 | # PCCARD (PCMCIA/CardBus) support | 227 | # PCCARD (PCMCIA/CardBus) support |
diff --git a/arch/mips/configs/rm200_defconfig b/arch/mips/configs/rm200_defconfig index 1a67a85aabbb..a5dc5cb97aae 100644 --- a/arch/mips/configs/rm200_defconfig +++ b/arch/mips/configs/rm200_defconfig | |||
@@ -251,7 +251,7 @@ CONFIG_PCI=y | |||
251 | CONFIG_ISA=y | 251 | CONFIG_ISA=y |
252 | # CONFIG_EISA is not set | 252 | # CONFIG_EISA is not set |
253 | CONFIG_MMU=y | 253 | CONFIG_MMU=y |
254 | CONFIG_I8253=y | 254 | CONFIG_PCSPEAKER=y |
255 | 255 | ||
256 | # | 256 | # |
257 | # PCCARD (PCMCIA/CardBus) support | 257 | # PCCARD (PCMCIA/CardBus) support |
diff --git a/arch/mips/kernel/Makefile b/arch/mips/kernel/Makefile index 961594cb5214..5c8085b6d7ab 100644 --- a/arch/mips/kernel/Makefile +++ b/arch/mips/kernel/Makefile | |||
@@ -63,7 +63,7 @@ obj-$(CONFIG_PROC_FS) += proc.o | |||
63 | 63 | ||
64 | obj-$(CONFIG_64BIT) += cpu-bugs64.o | 64 | obj-$(CONFIG_64BIT) += cpu-bugs64.o |
65 | 65 | ||
66 | obj-$(CONFIG_I8253) += i8253.o | 66 | obj-$(CONFIG_PCSPEAKER) += pcspeaker.o |
67 | 67 | ||
68 | obj-$(CONFIG_KEXEC) += machine_kexec.o relocate_kernel.o | 68 | obj-$(CONFIG_KEXEC) += machine_kexec.o relocate_kernel.o |
69 | obj-$(CONFIG_EARLY_PRINTK) += early_printk.o | 69 | obj-$(CONFIG_EARLY_PRINTK) += early_printk.o |
diff --git a/arch/mips/kernel/i8253.c b/arch/mips/kernel/pcspeaker.c index 475df6904219..475df6904219 100644 --- a/arch/mips/kernel/i8253.c +++ b/arch/mips/kernel/pcspeaker.c | |||