Subject: unified bus_dma for m68k?
To: None <port-m68k@netbsd.org>
From: Allen Briggs <briggs@wasabisystems.com>
List: port-m68k
Date: 04/08/2002 20:54:55
The mac68k folks are finding that it would be useful to implement
bus_dma(9). It appears that there are a couple of implementations
already in the m68k space and that there are not _too_ many
differences between them.
What do folks think about creating a common bus_dma in arch/m68k/m68k
which can be used, ignored, or overridden on a MACHINE-by-MACHINE basis?
The ones that exist now are:
next68k -- seems pretty complete
sun68k -- uses a custom/variable bus_dmamap_load, at least,
and seems to leave some things undone
x68k -- seems pretty complete
The next68k and x68k seem to differ most in the dmamap_sync function.
Is there a good reason to not unify the two and use it for both as well
as mac68k and any other m68k platform that needs it? (Perhaps also
allowing for sun2/sun3 to use it?)
-allen
--
Allen Briggs briggs@wasabisystems.com
http://www.wasabisystems.com/ Quality NetBSD CDs, Sales, Support, Service
NetBSD development for Alpha, ARM, M68K, MIPS, PowerPC, SuperH, XScale, etc...