aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/davicom
diff options
context:
space:
mode:
authorhayeswang <hayeswang@realtek.com>2014-09-19 15:17:18 +0800
committerDavid S. Miller <davem@davemloft.net>2014-09-22 14:54:19 -0400
commitd70b1137233836be1d71bd53ae60bec6c9e7203c (patch)
tree3114e8989f90c1875f32391c24646f3e453dc10e /drivers/net/ethernet/davicom
parentipoib: validate struct ipoib_cb size (diff)
downloadlinux-dev-d70b1137233836be1d71bd53ae60bec6c9e7203c.tar.xz
linux-dev-d70b1137233836be1d71bd53ae60bec6c9e7203c.zip
r8152: disable ALDPS
If the hw is in ALDPS mode, the hw may have no response for accessing the most registers. Therefore, the ALDPS should be disabled before accessing the hw in rtl_ops.init(), rtl_ops.disable(), rtl_ops.up(), and rtl_ops.down(). Regardless of rtl_ops.enable(), because the hw wouldn't enter ALDPS mode when linking on. The hw would enter the ALDPS mode after several seconds when link down occurs and the ALDPS is enabled. Signed-off-by: Hayes Wang <hayeswang@realtek.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/davicom')
0 files changed, 0 insertions, 0 deletions