Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 86435
b: refs/heads/master
c: 21eee2d
h: refs/heads/master
i:
  86433: 33465a5
  86431: ab75be4
v: v3
  • Loading branch information
Thomas Klein authored and Jeff Garzik committed Feb 24, 2008
1 parent 33c7c8d commit 9ab754d
Show file tree
Hide file tree
Showing 3 changed files with 291 additions and 26 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: 8d3c202be23c5a915f7053ebd4e96f44700c6a62
refs/heads/master: 21eee2dd1b5702f15924f18f923b2a281f0e72e8
34 changes: 33 additions & 1 deletion trunk/drivers/net/ehea/ehea.h
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
#include <asm/io.h>

#define DRV_NAME "ehea"
#define DRV_VERSION "EHEA_0083"
#define DRV_VERSION "EHEA_0087"

/* eHEA capability flags */
#define DLPAR_PORT_ADD_REM 1
Expand Down Expand Up @@ -386,6 +386,13 @@ struct ehea_port_res {


#define EHEA_MAX_PORTS 16

#define EHEA_NUM_PORTRES_FW_HANDLES 6 /* QP handle, SendCQ handle,
RecvCQ handle, EQ handle,
SendMR handle, RecvMR handle */
#define EHEA_NUM_PORT_FW_HANDLES 1 /* EQ handle */
#define EHEA_NUM_ADAPTER_FW_HANDLES 2 /* MR handle, NEQ handle */

struct ehea_adapter {
u64 handle;
struct of_device *ofdev;
Expand All @@ -405,6 +412,31 @@ struct ehea_mc_list {
u64 macaddr;
};

/* kdump support */
struct ehea_fw_handle_entry {
u64 adh; /* Adapter Handle */
u64 fwh; /* Firmware Handle */
};

struct ehea_fw_handle_array {
struct ehea_fw_handle_entry *arr;
int num_entries;
struct semaphore lock;
};

struct ehea_bcmc_reg_entry {
u64 adh; /* Adapter Handle */
u32 port_id; /* Logical Port Id */
u8 reg_type; /* Registration Type */
u64 macaddr;
};

struct ehea_bcmc_reg_array {
struct ehea_bcmc_reg_entry *arr;
int num_entries;
struct semaphore lock;
};

#define EHEA_PORT_UP 1
#define EHEA_PORT_DOWN 0
#define EHEA_PHY_LINK_UP 1
Expand Down
Loading

0 comments on commit 9ab754d

Please sign in to comment.