diff options
author | Bruce Allan <bruce.w.allan@intel.com> | 2009-06-02 07:28:58 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-06-03 05:46:33 -0400 |
commit | 2adc55c959940fc680074392eddbd5585a76f3d9 (patch) | |
tree | bf5050070f1f0ef3dd6d1f951d0a50c7ac8aa161 /drivers/net/e1000e/es2lan.c | |
parent | 3ec2a2b80f3eb53851fe4cef9e65b5d33376ef89 (diff) |
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>
Diffstat (limited to 'drivers/net/e1000e/es2lan.c')
-rw-r--r-- | drivers/net/e1000e/es2lan.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/e1000e/es2lan.c b/drivers/net/e1000e/es2lan.c index 8964838c686b..6cc3bdf4acdb 100644 --- a/drivers/net/e1000e/es2lan.c +++ b/drivers/net/e1000e/es2lan.c | |||
@@ -1422,6 +1422,7 @@ struct e1000_info e1000_es2_info = { | |||
1422 | | FLAG_DISABLE_FC_PAUSE_TIME /* errata */ | 1422 | | FLAG_DISABLE_FC_PAUSE_TIME /* errata */ |
1423 | | FLAG_TIPG_MEDIUM_FOR_80003ESLAN, | 1423 | | FLAG_TIPG_MEDIUM_FOR_80003ESLAN, |
1424 | .pba = 38, | 1424 | .pba = 38, |
1425 | .max_hw_frame_size = DEFAULT_JUMBO, | ||
1425 | .get_variants = e1000_get_variants_80003es2lan, | 1426 | .get_variants = e1000_get_variants_80003es2lan, |
1426 | .mac_ops = &es2_mac_ops, | 1427 | .mac_ops = &es2_mac_ops, |
1427 | .phy_ops = &es2_phy_ops, | 1428 | .phy_ops = &es2_phy_ops, |