kernel-fxtec-pro1x/drivers/net/ethernet/realtek
John Greene cb64edb6b8 8139cp: properly support change of MTU values [v2]
The 8139cp driver has a change_mtu function that has not been
enabled since the dawn of the git repository. However, the
generic eth_change_mtu is not used in its place, so that
invalid MTU values can be set on the interface.

Original patch salvages the broken code for the single case of
setting the MTU while the interface is down, which is safe
and also includes the range check.  Now enhanced to support up
or down interface.

v2: fix case where rxbufsz isn't changed in the up state case

Original patch from
http://lkml.indiana.edu/hypermail/linux/kernel/1202.2/00770.html

Testing: has been test on virtual 8139cp setup without issue,
have no access real hardware 8139cp, need testing help.

Signed-off-by: "John Greene" <jogreene@redhat.com>
CC: "David S. Miller" <davem@davemloft.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
2012-12-03 13:51:16 -05:00
..
8139cp.c 8139cp: properly support change of MTU values [v2] 2012-12-03 13:51:16 -05:00
8139too.c sections: fix section conflicts in drivers/net 2012-10-06 03:04:42 +09:00
atp.c atp: remove set_rx_mode_8012() 2012-11-03 15:43:04 -04:00
atp.h atp: remove set_rx_mode_8012() 2012-11-03 15:43:04 -04:00
Kconfig drivers/net: fix up stale paths from driver reorg 2012-01-30 12:54:40 -05:00
Makefile
r8169.c r8169: Drop tp arg from rtl8169_tx_vlan_tag() 2012-11-11 23:32:58 +01:00