[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[MiNT] [PATCH] Machine dependent module path extension



Wow, it was actually pretty easy.

How does the mapping work?

Milan -> sysdir/mil
Aranym -> sysdir/ara
FireBee -> sysdir/v4e
Generic 68000 -> sysdir/000
Generic 68030 -> sysdir/030
Generic 68040 -> sysdir/040
Generic 68060 -> sysdir/060

Priorities are in that order, too, i.e. Milan kernel does not look for '040' but for 'mil' instead. This allows nice fine tuning, i.e. your AfterBurner040 machine would load different drivers than Aranym.

It works even with XIFs, i.e. you can have inet4.xdd in sysdir and nfeth.xif in sysdir/ara.

---
Add support for machine-dependent directories inside sysdir when loading XDD/XFS/XIF modules.
Contributed by Miro Kropacek
---

--
MiKRO / Mystic Bytes
http://mikro.atari.org

Attachment: machdir.patch
Description: Binary data