Followup to: <20000426160959.B1543@albireo.ucw.cz>
By author: Martin Mares <firstname.lastname@example.org>
In newsgroup: linux.dev.kernel
> > One thing would be very good to have: non-manifest sections in modules
> > that describe what devices the particular module is good for. For
> > PCI, AGP and CardBus, these are PCI device IDs; for ISA PnP these are
> > PnP device IDs; for ISA it probably needs to be actual code; there
> > should be equivalent things for NuBus, MCA and what have you.
> MODULE_DEVICE_TABLE already supports multiple bus types, the only
> problem is that outside the PCI world nobody uses it and even among
> the PCI drivers, only few ones use the new probing mechanism. This
> will surely need a lot of work to become usable for automatic construction
> of mapping form device ID's to modules, but it seems to be the right
> way to go (at least to me).
Yes, this does seem to work. As I said, I really want to use this in
Genesis when I get around to working on it again *sigh*. However, for
ISA, at least, it gets majorly nasty -- we'd like to put some actual
probing code in there.
-- <email@example.com> at work, <firstname.lastname@example.org> in private! "Unix gives you enough rope to shoot yourself in the foot."
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to email@example.com Please read the FAQ at http://www.tux.org/lkml/
This archive was generated by hypermail 2b29 : Sun Apr 30 2000 - 21:00:11 EST