提交 7500673b 编写于 作者: T Tushar Dave 提交者: Jeff Kirsher

e1000: Combining Bitwise OR in one expression.

Signed-off-by: NTushar Dave <tushar.n.dave@intel.com>
Tested-by: NAaron Brown <aaron.f.brown@intel.com>
Signed-off-by: NJeff Kirsher <jeffrey.t.kirsher@intel.com>
上级 41063e9d
...@@ -1078,18 +1078,18 @@ static int __devinit e1000_probe(struct pci_dev *pdev, ...@@ -1078,18 +1078,18 @@ static int __devinit e1000_probe(struct pci_dev *pdev,
netdev->priv_flags |= IFF_SUPP_NOFCS; netdev->priv_flags |= IFF_SUPP_NOFCS;
netdev->features |= netdev->hw_features; netdev->features |= netdev->hw_features;
netdev->hw_features |= NETIF_F_RXCSUM; netdev->hw_features |= (NETIF_F_RXCSUM |
netdev->hw_features |= NETIF_F_RXALL; NETIF_F_RXALL |
netdev->hw_features |= NETIF_F_RXFCS; NETIF_F_RXFCS);
if (pci_using_dac) { if (pci_using_dac) {
netdev->features |= NETIF_F_HIGHDMA; netdev->features |= NETIF_F_HIGHDMA;
netdev->vlan_features |= NETIF_F_HIGHDMA; netdev->vlan_features |= NETIF_F_HIGHDMA;
} }
netdev->vlan_features |= NETIF_F_TSO; netdev->vlan_features |= (NETIF_F_TSO |
netdev->vlan_features |= NETIF_F_HW_CSUM; NETIF_F_HW_CSUM |
netdev->vlan_features |= NETIF_F_SG; NETIF_F_SG);
netdev->priv_flags |= IFF_UNICAST_FLT; netdev->priv_flags |= IFF_UNICAST_FLT;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册