Re: Module Ideas: Persistence, PnP, and more...

Alan Cox (alan@lxorguk.ukuu.org.uk)
Thu, 3 Sep 1998 22:39:44 +0100 (BST)


> rmmod inspect kernel memory for the relevant variables. It can be done by
> having rmmod load the object module, gather the list of variables to
> inspect, and access them via /dev/kmem. (BTW, this will mean that we need

Ick. Put them in one block and add a module syscall function for it.
Poking in kmem is messy

> will be given a specific device id (e.g., `modprobe -q
> pcmcia-id-3Com_Corporation-3C589' will get a reply like
> `/lib/modules/2.3.11-2/sound/3c589_cs irq=22'). The bus manager will also
> use modinfo to get the list of parameters supported by a module; we'll
> need to make all modules support uniform names for some parameters, so the
> managers will recognize the neccessary ones (like `irq' and `io').

More ...

insmod some-card ports=`isapnp-find IDENT`

I dont think much magic is really needed for this. Its tools solvable

-
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.altern.org/andrebalsa/doc/lkml-faq.html