]> git.baikalelectronics.ru Git - kernel.git/commit
m68k: mac: Revisit floppy disc controller base addresses
authorFinn Thain <fthain@telegraphics.com.au>
Mon, 8 Jul 2019 09:31:22 +0000 (19:31 +1000)
committerGeert Uytterhoeven <geert@linux-m68k.org>
Mon, 19 Aug 2019 11:24:10 +0000 (13:24 +0200)
commit44617b9e01ea26100bed917bbede2c28a36c6120
tree24177be5f37f58c785e93f2a5eb3861f9fe9f9f3
parent41a187cd24925e8550afd67e1bda36b35bf2bd6a
m68k: mac: Revisit floppy disc controller base addresses

Rename floppy_type macros to make them more consistent with the scsi_type
macros, which are named after classes of models with similar memory maps.

The MAC_FLOPPY_OLD symbol is introduced to change the relevant base
address from 0x50F00000 to 0x50000000 (consistent with MAC_SCSI_OLD).

The documentation for LC-class machines has the IO devices at offsets
from $50F00000. Use these addresses for MAC_FLOPPY_LC (consistent with
MAC_SCSI_LC) because they may not be aliased elsewhere in the memory map.

Add comments with controller type information from 'Designing Cards and
Drivers for the Macintosh Family', relevant Developer Notes and
http://mess.redump.net/mess/driver_info/mac_technical_notes

Adopt phys_addr_t to avoid type casts.

Signed-off-by: Finn Thain <fthain@telegraphics.com.au>
Tested-by: Stan Johnson <userm57@yahoo.com>
Acked-by: Laurent Vivier <lvivier@redhat.com>
Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
arch/m68k/include/asm/macintosh.h
arch/m68k/mac/config.c