> My real purpose is to read driver-specific /proc file, e.g > /proc/net/PRO_LAN_ADAPTERS/eth0.info for e1000 driver or > /proc/net/sk98lin/eth1.info for sk98lin driver. To do that, i [ethtool -i eth<x>] relates eth<x> to PCI device to driver name - only way to go. The /proc/net/PRO_LAN_Adapters/ info is going away fast (for Intel nics). > have to know what file read for a given interface. I'd > prefer to use ethtool ioctls, but there are drivers that > do not implement them. # cd linux-2.4.21-pre5/drivers/net # grep "case ETHTOOL_GDRVINFO" * | wc 33 127 1216 Which ones do you need that are missing? It's pretty simple to add minimal support for ETHTOOL_GDRVINFO. -scott - : send the line "unsubscribe linux-net" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html