]> git.baikalelectronics.ru Git - kernel.git/commit
Merge branch 'r8152-next'
authorDavid S. Miller <davem@davemloft.net>
Mon, 12 Jan 2015 21:10:32 +0000 (16:10 -0500)
committerDavid S. Miller <davem@davemloft.net>
Mon, 12 Jan 2015 21:10:32 +0000 (16:10 -0500)
commit497f7bf461396c52379c381da68efd611b0d8392
tree6e5d7fc4695dcdc621efab65ba4688ed2c19ecc7
parent2372e1549790df977bba93679070aa453517cf51
parentdb07fcec5cc9aef47c6a6dbd462ad8ae8d730f7c
Merge branch 'r8152-next'

Hayes Wang says:

====================
r8152: adjust r8152_submit_rx

v2:
Replace the patch #1 with "call rtl_start_rx after netif_carrier_on".

For patch #2, replace checking tp->speed with netif_carrier_ok.

v1:
Avoid r8152_submit_rx() from submitting rx during unexpected
moment. This could reduce the time of stopping rx.

For patch #1, the tp->speed should be updated early. Then,
the patch #2 could use it to check the current linking status.
====================

Signed-off-by: David S. Miller <davem@davemloft.net>