commit | 008c3422d48b217792789bdea822dbc2efe2165c | [log] [tgz] |
---|---|---|
author | Alexander Duyck <alexander.h.duyck@intel.com> | Mon Oct 05 06:32:07 2009 +0000 |
committer | David S. Miller <davem@davemloft.net> | Tue Oct 06 14:59:17 2009 -0700 |
tree | 2eee3430313f30a7b35959554ad072c6d66a19c2 | |
parent | 70d92f86dc162fc24e13cd79fd3481ae39b66f72 [diff] |
igb: update the approach taken to acquiring and releasing the phy lock The current approach is just using a ?: type mechanism to set the phy locking bit. This if fine for now but limits us to only 2. Switch to a nested if statement for future compatiblity with more than 2 phys. 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>