]> bbs.cooldavid.org Git - net-next-2.6.git/commit - drivers/net/ixgbe/ixgbe_82599.c
ixgbe: Update the usage of orig_autoc to be more consistent
authorPJ Waskiewicz <peter.p.waskiewicz.jr@intel.com>
Thu, 9 Apr 2009 22:28:33 +0000 (22:28 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sat, 11 Apr 2009 09:48:01 +0000 (02:48 -0700)
commit1eb99d5ac44e2a9ac0b2856c579ba4d7cc349ada
treecc2609d6b53ff31586d2fdbb04c960213fbf118c
parent553b449784e27bb7244c41aa27397d29f213e5a3
ixgbe: Update the usage of orig_autoc to be more consistent

The orig_autoc variable tracks the original setting of the autonegotiate
state prior to trying a new speed.  The usage is inconsistent and not very
maintainable.  This patch updates the usage to make it more consistent.

Signed-off-by: Peter P Waskiewicz Jr <peter.p.waskiewicz.jr@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ixgbe/ixgbe_82598.c
drivers/net/ixgbe/ixgbe_82599.c