Skip to content

Commit

Permalink
SUNHME: Fix missing NETIF_F_VLAN_CHALLENGED on PCI happy meals
Browse files Browse the repository at this point in the history
No HME parts can do VLANs correctly.

Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
  • Loading branch information
David Miller authored and Jeff Garzik committed Nov 5, 2007
1 parent b55d1b1 commit cacd40e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/net/sunhme.c
Original file line number Diff line number Diff line change
Expand Up @@ -3143,8 +3143,8 @@ static int __devinit happy_meal_pci_probe(struct pci_dev *pdev,
dev->irq = pdev->irq;
dev->dma = 0;

/* Happy Meal can do it all... */
dev->features |= NETIF_F_SG | NETIF_F_HW_CSUM;
/* Happy Meal can do it all... except VLAN. */
dev->features |= NETIF_F_SG | NETIF_F_HW_CSUM | NETIF_F_VLAN_CHALLENGED;

#if defined(CONFIG_SBUS) && defined(CONFIG_PCI)
/* Hook up PCI register/dma accessors. */
Expand Down

0 comments on commit cacd40e

Please sign in to comment.