Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 225378
b: refs/heads/master
c: 815f41e
h: refs/heads/master
v: v3
  • Loading branch information
Rasesh Mody authored and David S. Miller committed Dec 26, 2010
1 parent 341447c commit 99829d4
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 10 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 0613ecfc94b13e86c9ff1252fd63e35a94475cd6
refs/heads/master: 815f41e74031d6dc6d6dd988f58c03a1d72d02b9
8 changes: 3 additions & 5 deletions trunk/drivers/net/bna/bnad.c
Original file line number Diff line number Diff line change
Expand Up @@ -3061,6 +3061,9 @@ bnad_pci_probe(struct pci_dev *pdev,
/* Initialize netdev structure, set up ethtool ops */
bnad_netdev_init(bnad, using_dac);

/* Set link to down state */
netif_carrier_off(netdev);

bnad_enable_msix(bnad);

/* Get resource requirement form bna */
Expand Down Expand Up @@ -3114,11 +3117,6 @@ bnad_pci_probe(struct pci_dev *pdev,

mutex_unlock(&bnad->conf_mutex);

/*
* Make sure the link appears down to the stack
*/
netif_carrier_off(netdev);

/* Finally, reguister with net_device layer */
err = register_netdev(netdev);
if (err) {
Expand Down
4 changes: 0 additions & 4 deletions trunk/drivers/net/bna/bnad_ethtool.c
Original file line number Diff line number Diff line change
Expand Up @@ -330,10 +330,6 @@ do { \

BNAD_GET_REG(PCIE_MISC_REG);

BNAD_GET_REG(HOST_SEM0_REG);
BNAD_GET_REG(HOST_SEM1_REG);
BNAD_GET_REG(HOST_SEM2_REG);
BNAD_GET_REG(HOST_SEM3_REG);
BNAD_GET_REG(HOST_SEM0_INFO_REG);
BNAD_GET_REG(HOST_SEM1_INFO_REG);
BNAD_GET_REG(HOST_SEM2_INFO_REG);
Expand Down

0 comments on commit 99829d4

Please sign in to comment.