Re: Linux Jobs as of 2.3.99pre6-5

From: H. Peter Anvin (hpa@transmeta.com)
Date: Wed Apr 26 2000 - 13:55:27 EST


Followup to: <20000426160959.B1543@albireo.ucw.cz>
By author: Martin Mares <mj@suse.cz>
In newsgroup: linux.dev.kernel
>
> Hello!
>
> > 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.

        -hpa

-- 
<hpa@transmeta.com> at work, <hpa@zytor.com> 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 majordomo@vger.rutgers.edu 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