OSDN Git Service

m68k: amiga: Fix Denise detection on OCS
authorGeert Uytterhoeven <geert@linux-m68k.org>
Sun, 12 Jan 2020 17:17:05 +0000 (18:17 +0100)
committerGeert Uytterhoeven <geert@linux-m68k.org>
Wed, 26 Aug 2020 11:26:52 +0000 (13:26 +0200)
commit3b0950af21e02a8c902ce1143ac5563fadcdfb3e
treec4d7ac6e6b5c4a877e3fdec1b72e9f6bad9089f7
parent9123e3a74ec7b934a4a099e98af6a61c2f80bbf5
m68k: amiga: Fix Denise detection on OCS

The "default" statement for detecting an original Denise chip seems to
be misplaced, causing original Denise chips not being detected.

Fix this by moving it from the outer to the inner "switch" statement.

Fortunately no code relies on this, but the detected version is printed
during boot, and available through /proc/hardware.

Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Link: https://lore.kernel.org/r/20200112171705.22600-1-geert@linux-m68k.org
arch/m68k/amiga/config.c