Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 45733
b: refs/heads/master
c: 061bf3c
h: refs/heads/master
i:
  45731: 46b2e67
v: v3
  • Loading branch information
Thomas Klein authored and Jeff Garzik committed Jan 23, 2007
1 parent 4db180d commit ff13ebc
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 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: 9f6d55d0846dd8628fd3eac15be377c4d3493c3e
refs/heads/master: 061bf3cdba753ae7b52fba8cc324d81adac77696
2 changes: 1 addition & 1 deletion trunk/drivers/net/ehea/ehea.h
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
#include <asm/io.h>

#define DRV_NAME "ehea"
#define DRV_VERSION "EHEA_0043"
#define DRV_VERSION "EHEA_0044"

#define EHEA_MSG_DEFAULT (NETIF_MSG_LINK | NETIF_MSG_TIMER \
| NETIF_MSG_RX_ERR | NETIF_MSG_TX_ERR)
Expand Down
6 changes: 4 additions & 2 deletions trunk/drivers/net/ehea/ehea_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -2471,14 +2471,16 @@ static int __devinit ehea_probe(struct ibmebus_dev *dev,

adapter_handle = (u64*)get_property(dev->ofdev.node, "ibm,hea-handle",
NULL);
if (!adapter_handle) {
if (adapter_handle)
adapter->handle = *adapter_handle;

if (!adapter->handle) {
dev_err(&dev->ofdev.dev, "failed getting handle for adapter"
" '%s'\n", dev->ofdev.node->full_name);
ret = -ENODEV;
goto out_free_ad;
}

adapter->handle = *adapter_handle;
adapter->pd = EHEA_PD_ID;

dev->ofdev.dev.driver_data = adapter;
Expand Down

0 comments on commit ff13ebc

Please sign in to comment.