linux-yocto/arch/m68k
Finn Thain 569829f8fd m68k: mac: Fix macintosh_config for Mac II
[ Upstream commit 52ae3f5da7 ]

When booted on my Mac II, the kernel prints this:

    Detected Macintosh model: 6
    Apple Macintosh Unknown

The catch-all entry ("Unknown") is mac_data_table[0] which is only needed
in the unlikely event that the bootinfo model ID can't be matched.
When model ID is 6, the search should begin and end at mac_data_table[1].
Fix the off-by-one error that causes this problem.

Cc: Joshua Thompson <funaho@jurai.org>
Fixes: 1da177e4c3 ("Linux-2.6.12-rc2")
Signed-off-by: Finn Thain <fthain@linux-m68k.org>
Reviewed-by: Geert Uytterhoeven <geert@linux-m68k.org>
Link: https://lore.kernel.org/d0f30a551064ca4810b1c48d5a90954be80634a9.1745453246.git.fthain@linux-m68k.org
Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2025-06-19 15:28:07 +02:00
..
68000
amiga m68k: amiga: Turn off Warp1260 interrupts during boot 2024-08-03 08:54:17 +02:00
apollo
atari m68k: atari: Fix TT bootup freeze / unexpected (SCU) interrupt messages 2024-08-03 08:53:32 +02:00
bvme6000
coldfire m68k: coldfire/device.c: only build FEC when HW macros are defined 2024-12-09 10:32:28 +01:00
configs - An extensive rework of kexec and crash Kconfig from Eric DeVolder 2023-08-29 14:53:51 -07:00
emu tty: make tty_operations::write()'s count size_t 2023-08-11 21:12:46 +02:00
fpsp040 m68k: Fix invalid .section syntax 2023-07-24 14:50:02 +02:00
hp300
ifpsp060 m68k: Fix invalid .section syntax 2023-07-24 14:50:02 +02:00
include m68k: vga: Fix I/O defines 2025-02-17 09:40:15 +01:00
kernel m68k: mvme147: Reinstate early console 2024-12-09 10:31:44 +01:00
lib m68k: Replace #include <asm/export.h> with #include <linux/export.h> 2023-08-21 13:27:43 +02:00
mac m68k: mac: Fix macintosh_config for Mac II 2025-06-19 15:28:07 +02:00
math-emu
mm m68k: implement the new page table range API 2023-08-24 16:20:21 -07:00
mvme16x m68k: mvme16x: Add and use "mvme16x.h" 2024-12-09 10:31:44 +01:00
mvme147 m68k: mvme147: Reinstate early console 2024-12-09 10:31:44 +01:00
q40
sun3
sun3x
tools/amiga
virt
install.sh
Kbuild
Kconfig m68k/kexec: refactor for kernel/Kconfig.kexec 2023-08-18 10:18:53 -07:00
Kconfig.bus
Kconfig.cpu
Kconfig.debug
Kconfig.devices
Kconfig.machine
Makefile