]> www.infradead.org Git - users/jedix/linux-maple.git/commit
e1000e: log when swflag is cleared unexpectedly on ICH/PCH devices
authorBruce Allan <bruce.w.allan@intel.com>
Fri, 13 May 2011 07:19:53 +0000 (07:19 +0000)
committerJoe Jin <joe.jin@oracle.com>
Thu, 2 Feb 2012 13:18:55 +0000 (21:18 +0800)
commitaef8a593655be6084d203987a989c4f7f4018433
tree22220a58d78ec910b6d05003697fc27ec0ef1309
parentd2ba8fb4577cdfaea33dc95ede0b29fccd55fd09
e1000e: log when swflag is cleared unexpectedly on ICH/PCH devices

Since EXTCNF_CTRL.SWFLAG (used in the ownership arbitration of shared
resources, e.g. the PHY shared between the s/w, f/w, and h/w clients)
can be cleared by any of those clients, log a debug message when
software attempts to clear it and it is already cleared unexpectedly.
And since the swflag is cleared by a hardware reset, the driver does
not need to do that, but the mutex acquired when the bit is set must
still be cleared.

Signed-off-by: Bruce Allan <bruce.w.allan@intel.com>
Tested-by: Aaron Brown <aaron.f.brown@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
(cherry picked from commit c5caf4825b22957e4ad70fd94316e91ce8cfb51c)

Signed-off-by: Joe Jin <joe.jin@oracle.com>
drivers/net/e1000e/ich8lan.c