netdev
[Top] [All Lists]

ethtool_features?

To: Maillist netdev <netdev@xxxxxxxxxxx>
Subject: ethtool_features?
From: Jeff Garzik <jgarzik@xxxxxxxxx>
Date: Wed, 27 Aug 2003 18:22:35 -0400
Cc: davem@xxxxxxxxxx
Organization: none
Sender: netdev-bounce@xxxxxxxxxxx
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2.1) Gecko/20021213 Debian/1.2.1-2.bunk
Hum. Instead of adding all these _get_foo ops to test dev->features bits, would anyone mind if I created a single _get_features() ethtool sub-ioctl?

Given the current ethtool_ops code, its implementation would in fact be completely transparent to low-level drivers. It need only be implemented in net/core/ethtool.c, without even adding a new hook.

        Jeff




<Prev in Thread] Current Thread [Next in Thread>