Skip to content

Commit 356b954

Browse files
committed
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/geert/linux-m68k
* 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/geert/linux-m68k: (21 commits) m68k/mac: Make CONFIG_HEARTBEAT unavailable on Mac m68k/serial: Remove references to obsolete serial config options m68k/net: Remove obsolete IRQ_FLG_* users m68k: Don't comment out syscalls used by glibc m68k/atari: Move declaration of atari_SCC_reset_done to header file m68k/serial: Remove references to obsolete CONFIG_SERIAL167 m68k/hp300: Export hp300_ledstate m68k: Initconst section fixes m68k/mac: cleanup macro case mac_scsi: fix mac_scsi on some powerbooks m68k/mac: fix powerbook 150 adb_type m68k/mac: fix baboon irq disable and shutdown m68k/mac: oss irq fixes m68k/mac: fix nubus slot irq disable and shutdown m68k/mac: enable via_alt_mapping on performa 580 m68k/mac: cleanup forward declarations m68k/mac: cleanup mac_irq_pending m68k/mac: cleanup mac_clear_irq m68k/mac: early console m68k/mvme16x: Add support for EARLY_PRINTK ... Fix up trivial conflict in arch/m68k/Kconfig.debug due to new EARLY_PRINTK config option addition clashing with movement of the BOOTPARAM options.
2 parents 770e1b0 + 3bd9e50 commit 356b954

34 files changed

Lines changed: 582 additions & 634 deletions

‎arch/m68k/Kconfig.debug‎

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,17 @@ config BOOTPARAM_STRING
1010
default 'console=ttyS0,19200'
1111
depends on BOOTPARAM
1212

13+
config EARLY_PRINTK
14+
bool "Early printk" if EMBEDDED
15+
depends on MVME16x || MAC
16+
default y
17+
help
18+
Write kernel log output directly to a serial port.
19+
20+
This is useful for kernel debugging when your machine crashes very
21+
early before the console code is initialized.
22+
You should normally say N here, unless you want to debug such a crash.
23+
1324
if !MMU
1425

1526
config FULLDEBUG

‎arch/m68k/Kconfig.devices‎

Lines changed: 6 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ config ARCH_MAY_HAVE_PC_FDC
88
menu "Platform devices"
99

1010
config HEARTBEAT
11-
bool "Use power LED as a heartbeat" if AMIGA || APOLLO || ATARI || MAC ||Q40
12-
default y if !AMIGA && !APOLLO && !ATARI && !MAC && !Q40 && HP300
11+
bool "Use power LED as a heartbeat" if AMIGA || APOLLO || ATARI || Q40
12+
default y if !AMIGA && !APOLLO && !ATARI && !Q40 && HP300
1313
help
1414
Use the power-on LED on your machine as a load meter. The exact
1515
behavior is platform-dependent, but normally the flash frequency is
@@ -59,27 +59,6 @@ endmenu
5959

6060
menu "Character devices"
6161

62-
config ATARI_MFPSER
63-
tristate "Atari MFP serial support"
64-
depends on ATARI
65-
---help---
66-
If you like to use the MFP serial ports ("Modem1", "Serial1") under
67-
Linux, say Y. The driver equally supports all kinds of MFP serial
68-
ports and automatically detects whether Serial1 is available.
69-
70-
To compile this driver as a module, choose M here.
71-
72-
Note for Falcon users: You also have an MFP port, it's just not
73-
wired to the outside... But you could use the port under Linux.
74-
75-
config ATARI_MIDI
76-
tristate "Atari MIDI serial support"
77-
depends on ATARI
78-
help
79-
If you want to use your Atari's MIDI port in Linux, say Y.
80-
81-
To compile this driver as a module, choose M here.
82-
8362
config ATARI_DSP56K
8463
tristate "Atari DSP56k support (EXPERIMENTAL)"
8564
depends on ATARI && EXPERIMENTAL
@@ -99,15 +78,6 @@ config AMIGA_BUILTIN_SERIAL
9978

10079
To compile this driver as a module, choose M here.
10180

102-
config MULTIFACE_III_TTY
103-
tristate "Multiface Card III serial support"
104-
depends on AMIGA
105-
help
106-
If you want to use a Multiface III card's serial port in Linux,
107-
answer Y.
108-
109-
To compile this driver as a module, choose M here.
110-
11181
config HPDCA
11282
tristate "HP DCA serial support"
11383
depends on DIO && SERIAL_8250
@@ -122,13 +92,9 @@ config HPAPCI
12292
If you want to use the internal "APCI" serial ports on an HP400
12393
machine, say Y here.
12494

125-
config DN_SERIAL
126-
bool "Support for DN serial port (dummy)"
127-
depends on APOLLO
128-
12995
config SERIAL_CONSOLE
13096
bool "Support for serial port console"
131-
depends on (AMIGA || ATARI || SUN3 || SUN3X || VME || APOLLO) && (ATARI_MFPSER=y || ATARI_MIDI=y || AMIGA_BUILTIN_SERIAL=y || MULTIFACE_III_TTY=y || SERIAL=y || SERIAL167 || DN_SERIAL)
97+
depends on AMIGA_BUILTIN_SERIAL=y
13298
---help---
13399
If you say Y here, it will be possible to use a serial port as the
134100
system console (the system console is the device which receives all
@@ -140,10 +106,10 @@ config SERIAL_CONSOLE
140106
(/dev/tty0) will still be used as the system console by default, but
141107
you can alter that using a kernel command line option such as
142108
"console=ttyS1". (Try "man bootparam" or see the documentation of
143-
your boot loader (lilo or loadlin) about how to pass options to the
144-
kernel at boot time.)
109+
your boot loader about how to pass options to the kernel at boot
110+
time.)
145111

146-
If you don't have a VGA card installed and you say Y here, the
112+
If you don't have a graphical console and you say Y here, the
147113
kernel will automatically use the first serial line, /dev/ttyS0, as
148114
system console.
149115

‎arch/m68k/atari/ataints.c‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,8 +82,6 @@ __ALIGN_STR "\n\t"
8282

8383
extern void atari_microwire_cmd(int cmd);
8484

85-
extern int atari_SCC_reset_done;
86-
8785
static unsigned int atari_irq_startup(struct irq_data *data)
8886
{
8987
unsigned int irq = data->irq;

‎arch/m68k/atari/debug.c‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,6 @@ static void __init atari_init_mfp_port(int cflag)
202202

203203
static void __init atari_init_scc_port(int cflag)
204204
{
205-
extern int atari_SCC_reset_done;
206205
static int clksrc_table[9] =
207206
/* reg 11: 0x50 = BRG, 0x00 = RTxC, 0x28 = TRxC */
208207
{ 0x50, 0x50, 0x50, 0x50, 0x50, 0x50, 0x50, 0x00, 0x00 };

‎arch/m68k/configs/amiga_defconfig‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -255,7 +255,6 @@ CONFIG_HID=m
255255
CONFIG_HIDRAW=y
256256
# CONFIG_USB_SUPPORT is not set
257257
CONFIG_AMIGA_BUILTIN_SERIAL=y
258-
CONFIG_MULTIFACE_III_TTY=m
259258
CONFIG_SERIAL_CONSOLE=y
260259
CONFIG_EXT2_FS=y
261260
CONFIG_EXT3_FS=y

‎arch/m68k/configs/apollo_defconfig‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -223,8 +223,6 @@ CONFIG_LOGO=y
223223
CONFIG_HID=m
224224
CONFIG_HIDRAW=y
225225
# CONFIG_USB_SUPPORT is not set
226-
CONFIG_DN_SERIAL=y
227-
CONFIG_SERIAL_CONSOLE=y
228226
CONFIG_EXT2_FS=y
229227
CONFIG_EXT3_FS=y
230228
# CONFIG_EXT3_DEFAULTS_TO_ORDERED is not set

‎arch/m68k/configs/atari_defconfig‎

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -235,10 +235,7 @@ CONFIG_DMASOUND_ATARI=m
235235
CONFIG_HID=m
236236
CONFIG_HIDRAW=y
237237
# CONFIG_USB_SUPPORT is not set
238-
CONFIG_ATARI_MFPSER=y
239-
CONFIG_ATARI_MIDI=y
240238
CONFIG_ATARI_DSP56K=m
241-
CONFIG_SERIAL_CONSOLE=y
242239
CONFIG_EXT2_FS=y
243240
CONFIG_EXT3_FS=y
244241
# CONFIG_EXT3_DEFAULTS_TO_ORDERED is not set

‎arch/m68k/configs/multi_defconfig‎

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -318,13 +318,8 @@ CONFIG_DMASOUND_Q40=m
318318
CONFIG_HID=m
319319
CONFIG_HIDRAW=y
320320
# CONFIG_USB_SUPPORT is not set
321-
CONFIG_ATARI_MFPSER=y
322-
CONFIG_ATARI_MIDI=y
323321
CONFIG_ATARI_DSP56K=m
324322
CONFIG_AMIGA_BUILTIN_SERIAL=y
325-
CONFIG_MULTIFACE_III_TTY=m
326-
CONFIG_SERIAL167=y
327-
CONFIG_DN_SERIAL=y
328323
CONFIG_SERIAL_CONSOLE=y
329324
CONFIG_EXT2_FS=y
330325
CONFIG_EXT3_FS=y

‎arch/m68k/configs/mvme16x_defconfig‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -218,8 +218,6 @@ CONFIG_GEN_RTC_X=y
218218
CONFIG_HID=m
219219
CONFIG_HIDRAW=y
220220
# CONFIG_USB_SUPPORT is not set
221-
CONFIG_SERIAL167=y
222-
CONFIG_SERIAL_CONSOLE=y
223221
CONFIG_EXT2_FS=y
224222
CONFIG_EXT3_FS=y
225223
# CONFIG_EXT3_DEFAULTS_TO_ORDERED is not set

‎arch/m68k/emu/nfeth.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ enum {
3939
#define MAX_UNIT 8
4040

4141
/* These identify the driver base version and may not be removed. */
42-
static const char version[] __devinitdata =
42+
static const char version[] __devinitconst =
4343
KERN_INFO KBUILD_MODNAME ".c:v" DRV_VERSION " " DRV_RELDATE
4444
" S.Opichal, M.Jurik, P.Stehlik\n"
4545
KERN_INFO " http://aranym.org/\n";

0 commit comments

Comments
 (0)