e1000: FIX: don't poke at manageability registers for incompatible adapters
authorJesse Brandeburg <jesse.brandeburg@intel.com>
Tue, 24 Oct 2006 21:45:53 +0000 (14:45 -0700)
committerAuke Kok <juke-jan.h.kok@intel.com>
Tue, 24 Oct 2006 21:45:53 +0000 (14:45 -0700)
commit4ccc12aeece8ab14ad96461c4db269aea080715d
tree59254158c25392eace26fe200f92739b64387b1f
parent5826cade4341a6298eb10d476dccc5f403ca7ad8
e1000: FIX: don't poke at manageability registers for incompatible adapters

The MANC register should not be read for PCI-E adapters at all, as well as
82543 and older where 82543 would master abort when this register was
accessed.

Signed-off-by: Auke Kok <auke-jan.h.kok@intel.com>
drivers/net/e1000/e1000_ethtool.c
drivers/net/e1000/e1000_main.c