aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ehea/ehea.h
diff options
context:
space:
mode:
authorJan-Bernd Themann <ossthema@de.ibm.com>2007-07-02 07:00:46 -0400
committerJeff Garzik <jeff@garzik.org>2007-07-08 22:16:45 -0400
commitd1d25aaba85fd24ab18b0a4d22f19be02aac65c9 (patch)
tree7b0aef881cf30ace0ec351ce39cf10f0e5f53ef8 /drivers/net/ehea/ehea.h
parent7c00db3d28131f4fff42eb49632dcd70636f31f4 (diff)
ehea: Whitespace cleanup
This patch fixes several whitespace issues. Signed-off-by: Jan-Bernd Themann <themann@de.ibm.com> Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers/net/ehea/ehea.h')
-rw-r--r--drivers/net/ehea/ehea.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/drivers/net/ehea/ehea.h b/drivers/net/ehea/ehea.h
index c0f81b5a30fb..abaf3ac94936 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_0064" 42#define DRV_VERSION "EHEA_0065"
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)
@@ -136,10 +136,10 @@ void ehea_dump(void *adr, int len, char *msg);
136 (0xffffffffffffffffULL >> ((64 - (mask)) & 0xffff)) 136 (0xffffffffffffffffULL >> ((64 - (mask)) & 0xffff))
137 137
138#define EHEA_BMASK_SET(mask, value) \ 138#define EHEA_BMASK_SET(mask, value) \
139 ((EHEA_BMASK_MASK(mask) & ((u64)(value))) << EHEA_BMASK_SHIFTPOS(mask)) 139 ((EHEA_BMASK_MASK(mask) & ((u64)(value))) << EHEA_BMASK_SHIFTPOS(mask))
140 140
141#define EHEA_BMASK_GET(mask, value) \ 141#define EHEA_BMASK_GET(mask, value) \
142 (EHEA_BMASK_MASK(mask) & (((u64)(value)) >> EHEA_BMASK_SHIFTPOS(mask))) 142 (EHEA_BMASK_MASK(mask) & (((u64)(value)) >> EHEA_BMASK_SHIFTPOS(mask)))
143 143
144/* 144/*
145 * Generic ehea page 145 * Generic ehea page
@@ -190,7 +190,7 @@ struct ehea_av;
190 * Queue attributes passed to ehea_create_qp() 190 * Queue attributes passed to ehea_create_qp()
191 */ 191 */
192struct ehea_qp_init_attr { 192struct ehea_qp_init_attr {
193 /* input parameter */ 193 /* input parameter */
194 u32 qp_token; /* queue token */ 194 u32 qp_token; /* queue token */
195 u8 low_lat_rq1; 195 u8 low_lat_rq1;
196 u8 signalingtype; /* cqe generation flag */ 196 u8 signalingtype; /* cqe generation flag */
@@ -212,7 +212,7 @@ struct ehea_qp_init_attr {
212 u64 recv_cq_handle; 212 u64 recv_cq_handle;
213 u64 aff_eq_handle; 213 u64 aff_eq_handle;
214 214
215 /* output parameter */ 215 /* output parameter */
216 u32 qp_nr; 216 u32 qp_nr;
217 u16 act_nr_send_wqes; 217 u16 act_nr_send_wqes;
218 u16 act_nr_rwqes_rq1; 218 u16 act_nr_rwqes_rq1;
@@ -279,12 +279,12 @@ struct ehea_qp {
279 * Completion Queue attributes 279 * Completion Queue attributes
280 */ 280 */
281struct ehea_cq_attr { 281struct ehea_cq_attr {
282 /* input parameter */ 282 /* input parameter */
283 u32 max_nr_of_cqes; 283 u32 max_nr_of_cqes;
284 u32 cq_token; 284 u32 cq_token;
285 u64 eq_handle; 285 u64 eq_handle;
286 286
287 /* output parameter */ 287 /* output parameter */
288 u32 act_nr_of_cqes; 288 u32 act_nr_of_cqes;
289 u32 nr_pages; 289 u32 nr_pages;
290}; 290};