171d809df1
The following patch merges the mmu and non-mmu versions of the m68k bitops.h files. Now there is a good deal of difference between the two files, but none of it is actually an mmu specific difference. It is all about the specific m68k/coldfire varient we are targeting. So it makes an awful lot of sense to merge these into a single bitops.h. There is a number of ways I can see to factor this code. The approach I have taken here is to keep the various versions of each macro/function type together. This means that there is some ifdefery with each to handle each CPU type. I have added some comments in a couple of appropriate places to try and make it clear what the differences we are dealing with are. Specifically the instruction and addressing mode differences we have to deal with. The merged form keeps the same underlying optimizations for each CPU type for all the general bit clear/set/change and find bit operations. It does switch to using the generic le operations though, instead of any local varients. Build tested on ColdFire, 68328, 68360 (which is cpu32) and 68020+. Run tested on ColdFire and ARAnyM. Signed-off-by: Greg Ungerer <gerg@uclinux.org> Acked-by: Geert Uytterhoeven <geert@linux-m68k.org>
252 lines
5.9 KiB
Text
252 lines
5.9 KiB
Text
config M68K
|
|
bool
|
|
default y
|
|
select HAVE_IDE
|
|
select HAVE_AOUT if MMU
|
|
select GENERIC_ATOMIC64 if MMU
|
|
select HAVE_GENERIC_HARDIRQS if !MMU
|
|
select GENERIC_IRQ_SHOW if !MMU
|
|
|
|
config RWSEM_GENERIC_SPINLOCK
|
|
bool
|
|
default y
|
|
|
|
config RWSEM_XCHGADD_ALGORITHM
|
|
bool
|
|
|
|
config ARCH_HAS_ILOG2_U32
|
|
bool
|
|
|
|
config ARCH_HAS_ILOG2_U64
|
|
bool
|
|
|
|
config GENERIC_HWEIGHT
|
|
bool
|
|
default y
|
|
|
|
config GENERIC_CALIBRATE_DELAY
|
|
bool
|
|
default y
|
|
|
|
config TIME_LOW_RES
|
|
bool
|
|
default y
|
|
|
|
config NO_IOPORT
|
|
def_bool y
|
|
|
|
config NO_DMA
|
|
def_bool (MMU && SUN3) || (!MMU && !COLDFIRE)
|
|
|
|
config ZONE_DMA
|
|
bool
|
|
default y
|
|
|
|
config CPU_HAS_NO_BITFIELDS
|
|
bool
|
|
|
|
config HZ
|
|
int
|
|
default 1000 if CLEOPATRA
|
|
default 100
|
|
|
|
source "init/Kconfig"
|
|
|
|
source "kernel/Kconfig.freezer"
|
|
|
|
config MMU
|
|
bool "MMU-based Paged Memory Management Support"
|
|
default y
|
|
help
|
|
Select if you want MMU-based virtualised addressing space
|
|
support by paged memory management. If unsure, say 'Y'.
|
|
|
|
menu "Platform dependent setup"
|
|
|
|
if MMU
|
|
source arch/m68k/Kconfig.mmu
|
|
endif
|
|
if !MMU
|
|
source arch/m68k/Kconfig.nommu
|
|
endif
|
|
|
|
source "mm/Kconfig"
|
|
|
|
endmenu
|
|
|
|
menu "Executable file formats"
|
|
|
|
source "fs/Kconfig.binfmt"
|
|
|
|
endmenu
|
|
|
|
if !MMU
|
|
menu "Power management options"
|
|
|
|
config PM
|
|
bool "Power Management support"
|
|
help
|
|
Support processor power management modes
|
|
|
|
endmenu
|
|
endif
|
|
|
|
source "net/Kconfig"
|
|
|
|
source "drivers/Kconfig"
|
|
|
|
if MMU
|
|
|
|
menu "Character devices"
|
|
|
|
config ATARI_MFPSER
|
|
tristate "Atari MFP serial support"
|
|
depends on ATARI
|
|
---help---
|
|
If you like to use the MFP serial ports ("Modem1", "Serial1") under
|
|
Linux, say Y. The driver equally supports all kinds of MFP serial
|
|
ports and automatically detects whether Serial1 is available.
|
|
|
|
To compile this driver as a module, choose M here.
|
|
|
|
Note for Falcon users: You also have an MFP port, it's just not
|
|
wired to the outside... But you could use the port under Linux.
|
|
|
|
config ATARI_MIDI
|
|
tristate "Atari MIDI serial support"
|
|
depends on ATARI
|
|
help
|
|
If you want to use your Atari's MIDI port in Linux, say Y.
|
|
|
|
To compile this driver as a module, choose M here.
|
|
|
|
config ATARI_DSP56K
|
|
tristate "Atari DSP56k support (EXPERIMENTAL)"
|
|
depends on ATARI && EXPERIMENTAL
|
|
help
|
|
If you want to be able to use the DSP56001 in Falcons, say Y. This
|
|
driver is still experimental, and if you don't know what it is, or
|
|
if you don't have this processor, just say N.
|
|
|
|
To compile this driver as a module, choose M here.
|
|
|
|
config AMIGA_BUILTIN_SERIAL
|
|
tristate "Amiga builtin serial support"
|
|
depends on AMIGA
|
|
help
|
|
If you want to use your Amiga's built-in serial port in Linux,
|
|
answer Y.
|
|
|
|
To compile this driver as a module, choose M here.
|
|
|
|
config MULTIFACE_III_TTY
|
|
tristate "Multiface Card III serial support"
|
|
depends on AMIGA
|
|
help
|
|
If you want to use a Multiface III card's serial port in Linux,
|
|
answer Y.
|
|
|
|
To compile this driver as a module, choose M here.
|
|
|
|
config GVPIOEXT
|
|
tristate "GVP IO-Extender support"
|
|
depends on PARPORT=n && ZORRO
|
|
help
|
|
If you want to use a GVP IO-Extender serial card in Linux, say Y.
|
|
Otherwise, say N.
|
|
|
|
config GVPIOEXT_LP
|
|
tristate "GVP IO-Extender parallel printer support"
|
|
depends on GVPIOEXT
|
|
help
|
|
Say Y to enable driving a printer from the parallel port on your
|
|
GVP IO-Extender card, N otherwise.
|
|
|
|
config GVPIOEXT_PLIP
|
|
tristate "GVP IO-Extender PLIP support"
|
|
depends on GVPIOEXT
|
|
help
|
|
Say Y to enable doing IP over the parallel port on your GVP
|
|
IO-Extender card, N otherwise.
|
|
|
|
config MAC_HID
|
|
bool
|
|
depends on INPUT_ADBHID
|
|
default y
|
|
|
|
config HPDCA
|
|
tristate "HP DCA serial support"
|
|
depends on DIO && SERIAL_8250
|
|
help
|
|
If you want to use the internal "DCA" serial ports on an HP300
|
|
machine, say Y here.
|
|
|
|
config HPAPCI
|
|
tristate "HP APCI serial support"
|
|
depends on HP300 && SERIAL_8250 && EXPERIMENTAL
|
|
help
|
|
If you want to use the internal "APCI" serial ports on an HP400
|
|
machine, say Y here.
|
|
|
|
config MVME147_SCC
|
|
bool "SCC support for MVME147 serial ports"
|
|
depends on MVME147 && BROKEN
|
|
help
|
|
This is the driver for the serial ports on the Motorola MVME147
|
|
boards. Everyone using one of these boards should say Y here.
|
|
|
|
config MVME162_SCC
|
|
bool "SCC support for MVME162 serial ports"
|
|
depends on MVME16x && BROKEN
|
|
help
|
|
This is the driver for the serial ports on the Motorola MVME162 and
|
|
172 boards. Everyone using one of these boards should say Y here.
|
|
|
|
config BVME6000_SCC
|
|
bool "SCC support for BVME6000 serial ports"
|
|
depends on BVME6000 && BROKEN
|
|
help
|
|
This is the driver for the serial ports on the BVME4000 and BVME6000
|
|
boards from BVM Ltd. Everyone using one of these boards should say
|
|
Y here.
|
|
|
|
config DN_SERIAL
|
|
bool "Support for DN serial port (dummy)"
|
|
depends on APOLLO
|
|
|
|
config SERIAL_CONSOLE
|
|
bool "Support for serial port console"
|
|
depends on (AMIGA || ATARI || SUN3 || SUN3X || VME || APOLLO) && (ATARI_MFPSER=y || ATARI_MIDI=y || AMIGA_BUILTIN_SERIAL=y || GVPIOEXT=y || MULTIFACE_III_TTY=y || SERIAL=y || MVME147_SCC || SERIAL167 || MVME162_SCC || BVME6000_SCC || DN_SERIAL)
|
|
---help---
|
|
If you say Y here, it will be possible to use a serial port as the
|
|
system console (the system console is the device which receives all
|
|
kernel messages and warnings and which allows logins in single user
|
|
mode). This could be useful if some terminal or printer is connected
|
|
to that serial port.
|
|
|
|
Even if you say Y here, the currently visible virtual console
|
|
(/dev/tty0) will still be used as the system console by default, but
|
|
you can alter that using a kernel command line option such as
|
|
"console=ttyS1". (Try "man bootparam" or see the documentation of
|
|
your boot loader (lilo or loadlin) about how to pass options to the
|
|
kernel at boot time.)
|
|
|
|
If you don't have a VGA card installed and you say Y here, the
|
|
kernel will automatically use the first serial line, /dev/ttyS0, as
|
|
system console.
|
|
|
|
If unsure, say N.
|
|
|
|
endmenu
|
|
|
|
endif
|
|
|
|
source "fs/Kconfig"
|
|
|
|
source "arch/m68k/Kconfig.debug"
|
|
|
|
source "security/Kconfig"
|
|
|
|
source "crypto/Kconfig"
|
|
|
|
source "lib/Kconfig"
|