Skip to content

Commit

Permalink
bnx2x: EEE code refactoring
Browse files Browse the repository at this point in the history
In order to lay the foundation for 1G EEE support, several segments of code
which are common to both 1G and 10G EEE configurations were extracted from
the 10G EEE configuration flow to their own functions.
E.g., bnx2x_eee_initial_config, bnx2x_eee_advertise, bnx2x_eee_disable, etc.

The rest of the EEE functions were relocated and placed in a single,
continuous section of the file.

Signed-off-by: Yuval Mintz <yuvalmin@broadcom.com>
Signed-off-by: Eilon Greenstein <eilong@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
Yuval Mintz authored and David S. Miller committed Sep 10, 2012
1 parent 34dab17 commit ec4010e
Showing 1 changed file with 258 additions and 192 deletions.
Loading

0 comments on commit ec4010e

Please sign in to comment.