aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ehea/ehea.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/ehea/ehea.h')
-rw-r--r--drivers/net/ehea/ehea.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/drivers/net/ehea/ehea.h b/drivers/net/ehea/ehea.h
index 42295d61ecd8..e595d6b38e7c 100644
--- a/drivers/net/ehea/ehea.h
+++ b/drivers/net/ehea/ehea.h
@@ -39,7 +39,7 @@
39#include <asm/io.h> 39#include <asm/io.h>
40 40
41#define DRV_NAME "ehea" 41#define DRV_NAME "ehea"
42#define DRV_VERSION "EHEA_0046" 42#define DRV_VERSION "EHEA_0048"
43 43
44#define EHEA_MSG_DEFAULT (NETIF_MSG_LINK | NETIF_MSG_TIMER \ 44#define EHEA_MSG_DEFAULT (NETIF_MSG_LINK | NETIF_MSG_TIMER \
45 | NETIF_MSG_RX_ERR | NETIF_MSG_TX_ERR) 45 | NETIF_MSG_RX_ERR | NETIF_MSG_TX_ERR)
@@ -380,10 +380,11 @@ struct ehea_port_res {
380}; 380};
381 381
382 382
383#define EHEA_MAX_PORTS 16
383struct ehea_adapter { 384struct ehea_adapter {
384 u64 handle; 385 u64 handle;
385 u8 num_ports; 386 struct ibmebus_dev *ebus_dev;
386 struct ehea_port *port[16]; 387 struct ehea_port *port[EHEA_MAX_PORTS];
387 struct ehea_eq *neq; /* notification event queue */ 388 struct ehea_eq *neq; /* notification event queue */
388 struct workqueue_struct *ehea_wq; 389 struct workqueue_struct *ehea_wq;
389 struct tasklet_struct neq_tasklet; 390 struct tasklet_struct neq_tasklet;
@@ -406,7 +407,7 @@ struct ehea_port {
406 struct net_device *netdev; 407 struct net_device *netdev;
407 struct net_device_stats stats; 408 struct net_device_stats stats;
408 struct ehea_port_res port_res[EHEA_MAX_PORT_RES]; 409 struct ehea_port_res port_res[EHEA_MAX_PORT_RES];
409 struct device_node *of_dev_node; /* Open Firmware Device Node */ 410 struct of_device ofdev; /* Open Firmware Device */
410 struct ehea_mc_list *mc_list; /* Multicast MAC addresses */ 411 struct ehea_mc_list *mc_list; /* Multicast MAC addresses */
411 struct vlan_group *vgrp; 412 struct vlan_group *vgrp;
412 struct ehea_eq *qp_eq; 413 struct ehea_eq *qp_eq;