igb: modify register test for i350 to reflect read only bits in RDLEN/TDLEN
authorAlexander Duyck <alexander.h.duyck@intel.com>
Fri, 9 Apr 2010 09:53:08 +0000 (09:53 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 13 Apr 2010 09:58:24 +0000 (02:58 -0700)
commit1b6e66182dab42c42bdac72633dbe35b3dba8f69
tree3219777b7f7ac4dff88d653fed4bd1a69fc4c16c
parentc755b4b625b183d3cfc3f3ab0b2d5b7e659efaf3
igb: modify register test for i350 to reflect read only bits in RDLEN/TDLEN

The registers for RDLEN/TDLEN on i350 have the first 7 bits as read only.
This is a change from previous hardware in which it was only the first 4
bits that were read only.

Signed-off-by: Alexander Duyck <alexander.h.duyck@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/igb/igb_ethtool.c