[SKY2]: ethtool register reserved area blackout
authorStephen Hemminger <shemminger@linux-foundation.org>
Fri, 12 Oct 2007 02:47:22 +0000 (19:47 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Fri, 12 Oct 2007 05:17:17 +0000 (22:17 -0700)
commit295b54c4902c52cd00d7c837d50a86e39e26caec
tree53eda6f30c1e0f655da536e6217f6957ae0d2357
parente86908614f2c7fec401827e5cefd7a6ea9407f85
[SKY2]: ethtool register reserved area blackout

Make sure and not dump reserved areas of device space.
Touching some of these causes machine check exceptions on boards
like D-Link DGE-550SX.

Coding note, used a complex switch statement rather than bitmap
because it is easier to relate the block values to the documentation
rather than looking at a encoded bitmask.

Signed-off-by: Stephen Hemminger <shemminger@linux-foundation.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/sky2.c