enic: Add api for link down count and to get firmware notification status.
Signed-off-by: Scott Feldman <scofeldm@cisco.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
committed by
David S. Miller
parent
68f717089a
commit
4cdc44a231
@@ -1866,7 +1866,6 @@ static int __devinit enic_probe(struct pci_dev *pdev,
|
||||
if (using_dac)
|
||||
netdev->features |= NETIF_F_HIGHDMA;
|
||||
|
||||
|
||||
enic->csum_rx_enabled = ENIC_SETTING(enic, RXCSUM);
|
||||
|
||||
enic->lro_mgr.max_aggr = ENIC_LRO_MAX_AGGR;
|
||||
@@ -1878,7 +1877,6 @@ static int __devinit enic_probe(struct pci_dev *pdev,
|
||||
enic->lro_mgr.ip_summed = CHECKSUM_COMPLETE;
|
||||
enic->lro_mgr.ip_summed_aggr = CHECKSUM_UNNECESSARY;
|
||||
|
||||
|
||||
err = register_netdev(netdev);
|
||||
if (err) {
|
||||
printk(KERN_ERR PFX
|
||||
|
Reference in New Issue
Block a user