e1000e: specify max supported frame size in adapter struct
authorBruce Allan <bruce.w.allan@intel.com>
Tue, 2 Jun 2009 11:28:58 +0000 (11:28 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 3 Jun 2009 09:46:33 +0000 (02:46 -0700)
commit2adc55c959940fc680074392eddbd5585a76f3d9
treebf5050070f1f0ef3dd6d1f951d0a50c7ac8aa161
parent3ec2a2b80f3eb53851fe4cef9e65b5d33376ef89
e1000e: specify max supported frame size in adapter struct

By putting the maximum frame size supported by the hardware into the
adapter structure, the change_mtu entry point function can be cleaned
up of checks for all the different max frame sizes supported by

Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/e1000e/82571.c
drivers/net/e1000e/e1000.h
drivers/net/e1000e/es2lan.c
drivers/net/e1000e/ich8lan.c
drivers/net/e1000e/netdev.c