Hmm, one thought is there could be DMA issues with TT-ram. I'm not
familiar with the atari pmap, but if so this should be fixable by
tagging the TT-ram differently and forcing the memory provided for
to come from the other set.
Yes it seems to be DMA issue. ncr5380 driver sets DRIVER_BOUNCING for Falcon
if TT-ram is used for DMA and final result for some reason is wrong drive
size. If I bypass memory region check in atari5380.c, drive reports correct
capacity and other related information, but netbsd does not continue to boot
system from that drive. Actually even if I boot netbsd with TT-ram disabled,
netbsd finds ffs file system from drive but usually it does not continue to
boot system.
No problems if I bypass CT63 accelerator (no 68060 and TT-ram).
If I compile netbsd with REAL_DMA undefined, there's no problems with
CT63 & TT-ram.