Re: sound blaster driver as a module

Alan Cox (alan@lxorguk.ukuu.org.uk)
Tue, 29 Dec 1998 22:26:33 +0000 (GMT)


> When compiling sb.o as a module there is nothing in the kernel that
> references anything in sound_firmware.o, and therefore ld does not include
> it in the kernel. (assuming no other soundcards are involved) A small
> example:

EXPORT_SYMBOL() causes a reference to it to get written into the
exports tables so it is referenced.

> I have tried doing the same as the above example with an actual kernel.
> When adding a fake call to mod_firmware_load the symbol can be seen using
> nm on vmlinuz (which I assume is the same as what the modules see).

Interesting indeed. I'll dig into that clue

-
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/