commit | 4fd48c4ac0a0578862819295222a825c97686ac7 | [log] [tgz] |
---|---|---|
author | Heiner Kallweit <hkallweit1@gmail.com> | Sat Apr 28 22:19:47 2018 +0200 |
committer | David S. Miller <davem@davemloft.net> | Mon Apr 30 09:38:20 2018 -0400 |
tree | 66ef19fcb60ebf4a72905a03563b1f0a178d47b4 | |
parent | 82d3ff6dd1994d54fe11714ffd4c696cfcacbea1 [diff] |
r8169: move common initializations to tp->hw_start The chip-specific init code includes quite some calls which are identical for all chips. So move these calls to tp->hw_start(). In addition move rtl_set_rx_max_size() a little to make sure it's defined before it's used. Unfortunately the diff generated by git is a little bit hard to read. Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>