diff options
Diffstat (limited to 'drivers/net/ethernet/intel/e100.c')
-rw-r--r-- | drivers/net/ethernet/intel/e100.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/net/ethernet/intel/e100.c b/drivers/net/ethernet/intel/e100.c index ae17cd1a907..5a2fdf7a00c 100644 --- a/drivers/net/ethernet/intel/e100.c +++ b/drivers/net/ethernet/intel/e100.c | |||
@@ -2810,6 +2810,10 @@ static int __devinit e100_probe(struct pci_dev *pdev, | |||
2810 | 2810 | ||
2811 | e100_get_defaults(nic); | 2811 | e100_get_defaults(nic); |
2812 | 2812 | ||
2813 | /* D100 MAC doesn't allow rx of vlan packets with normal MTU */ | ||
2814 | if (nic->mac < mac_82558_D101_A4) | ||
2815 | netdev->features |= NETIF_F_VLAN_CHALLENGED; | ||
2816 | |||
2813 | /* locks must be initialized before calling hw_reset */ | 2817 | /* locks must be initialized before calling hw_reset */ |
2814 | spin_lock_init(&nic->cb_lock); | 2818 | spin_lock_init(&nic->cb_lock); |
2815 | spin_lock_init(&nic->cmd_lock); | 2819 | spin_lock_init(&nic->cmd_lock); |