summaryrefslogtreecommitdiffstats
path: root/drivers/net/enic/enic_main.c
diff options
context:
space:
mode:
authorScott Feldman <scofeldm@cisco.com>2009-02-09 23:25:33 -0800
committerDavid S. Miller <davem@davemloft.net>2009-02-09 23:25:33 -0800
commit4cdc44a231f906a6ec586637e6e4c4c216679da4 (patch)
tree3c9e54e57c82d2286e6327a428b8d58526f3993d /drivers/net/enic/enic_main.c
parent68f717089a62ee4c51933f4be43e4ef7b31539fd (diff)
downloadlinux-4cdc44a231f906a6ec586637e6e4c4c216679da4.tar.gz
linux-4cdc44a231f906a6ec586637e6e4c4c216679da4.tar.bz2
linux-4cdc44a231f906a6ec586637e6e4c4c216679da4.zip
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>
Diffstat (limited to 'drivers/net/enic/enic_main.c')
-rw-r--r--drivers/net/enic/enic_main.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/net/enic/enic_main.c b/drivers/net/enic/enic_main.c
index 83a7168deee4..03403a51f7ea 100644
--- a/drivers/net/enic/enic_main.c
+++ b/drivers/net/enic/enic_main.c
@@ -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