[PATCH] ixgb: Support for ethtool -d

ixgb support for ethtool -d

Signed-off-by: Mallikarjuna R Chilakala <mallikarjuna.chilakala@intel.com>
Signed-off-by: Ganesh Venkatesan <ganesh.venkatesan@intel.com>
Signed-off-by: John Ronciak <john.ronciak@intel.com>

diff -up net-drivers-2.6/drivers/net/ixgb/ixgb_ethtool.c net-drivers-2.6/drivers/net/ixgb.new/ixgb_ethtool.c

authored by Malli Chilakala and committed by Jeff Garzik 5e3c30de abf481d6

+3 -1
+3 -1
drivers/net/ixgb/ixgb_ethtool.c
··· 252 uint32_t *reg_start = reg; 253 uint8_t i; 254 255 - regs->version = (adapter->hw.device_id << 16) | adapter->hw.subsystem_id; 256 257 /* General Registers */ 258 *reg++ = IXGB_READ_REG(hw, CTRL0); /* 0 */
··· 252 uint32_t *reg_start = reg; 253 uint8_t i; 254 255 + /* the 1 (one) below indicates an attempt at versioning, if the 256 + * interface in ethtool or the driver this 1 should be incremented */ 257 + regs->version = (1<<24) | hw->revision_id << 16 | hw->device_id; 258 259 /* General Registers */ 260 *reg++ = IXGB_READ_REG(hw, CTRL0); /* 0 */