diff options
author | Nithin Sujir <nsujir@broadcom.com> | 2013-05-18 10:26:54 +0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-05-20 11:13:47 +0400 |
commit | 5b6c273ad6c3886f30c7c5df7009e489043c59f3 (patch) | |
tree | e314b78c5f301971d80422ad03a4f7c2d398aeae /drivers/bcma/bcma_private.h | |
parent | 400dfbaa8d444a29056b051a3d7082dc611e3b12 (diff) | |
download | linux-5b6c273ad6c3886f30c7c5df7009e489043c59f3.tar.xz |
tg3: Simplify tg3_phy_eee_config_ok() by reusing tg3_eee_pull_config()
eee_config_ok() was checking only for mismatch in advertised settings.
This patch expands the scope of eee_config_ok() to check for mismatch in
the other eee settings. On mismatch we will require a call to
tg3_setup_eee() to push the configured settings to the hardware.
Reviewed-by: Ben Li <benli@broadcom.com>
Signed-off-by: Michael Chan <mchan@broadcom.com>
Signed-off-by: Nithin Nayak Sujir <nsujir@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/bcma/bcma_private.h')
0 files changed, 0 insertions, 0 deletions