Does anyone know a way to programtically tell what module a NIC is
using, or alternatively find out which NICs are using a particular
module?  

For instance, say you have a machine with two eepro100s and a 3c509b.  I
need a way to determine which, if any are using the 3c509b module.  I
don't care if it's a tool like ifconfig or some ioctl that I could whip
up a C proggie to use.  

I know the information is *usually* in conf.modules for RedHat machines,
but I'd like a way to get the info from the kernel.

Thanks!

-- 

Jesse Erdmann 
Engineer 
Secure Computing Corp.