aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/qlge/qlge.h
diff options
context:
space:
mode:
authorRon Mercer <ron.mercer@qlogic.com>2009-01-09 06:31:50 -0500
committerDavid S. Miller <davem@davemloft.net>2009-01-11 03:07:34 -0500
commit97345524392dcbe0157ce2a9d9a589e2022b1c15 (patch)
treeeb160931c550381f640e57195e3d80adcfbbc498 /drivers/net/qlge/qlge.h
parentba7cd3ba97f81564be3e4a4ee8ee17726aa853d7 (diff)
qlge: Get rid of split addresses in hardware control blocks.
Signed-off-by: Ron Mercer <ron.mercer@qlogic.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/qlge/qlge.h')
-rw-r--r--drivers/net/qlge/qlge.h24
1 files changed, 8 insertions, 16 deletions
diff --git a/drivers/net/qlge/qlge.h b/drivers/net/qlge/qlge.h
index 4cb3647bb1b0..969700232265 100644
--- a/drivers/net/qlge/qlge.h
+++ b/drivers/net/qlge/qlge.h
@@ -961,8 +961,7 @@ struct ib_mac_iocb_rsp {
961#define IB_MAC_IOCB_RSP_DS 0x40 /* data is in small buffer */ 961#define IB_MAC_IOCB_RSP_DS 0x40 /* data is in small buffer */
962#define IB_MAC_IOCB_RSP_DL 0x80 /* data is in large buffer */ 962#define IB_MAC_IOCB_RSP_DL 0x80 /* data is in large buffer */
963 __le32 data_len; /* */ 963 __le32 data_len; /* */
964 __le32 data_addr_lo; /* */ 964 __le64 data_addr; /* */
965 __le32 data_addr_hi; /* */
966 __le32 rss; /* */ 965 __le32 rss; /* */
967 __le16 vlan_id; /* 12 bits */ 966 __le16 vlan_id; /* 12 bits */
968#define IB_MAC_IOCB_RSP_C 0x1000 /* VLAN CFI bit */ 967#define IB_MAC_IOCB_RSP_C 0x1000 /* VLAN CFI bit */
@@ -976,8 +975,7 @@ struct ib_mac_iocb_rsp {
976#define IB_MAC_IOCB_RSP_HS 0x40 975#define IB_MAC_IOCB_RSP_HS 0x40
977#define IB_MAC_IOCB_RSP_HL 0x80 976#define IB_MAC_IOCB_RSP_HL 0x80
978 __le32 hdr_len; /* */ 977 __le32 hdr_len; /* */
979 __le32 hdr_addr_lo; /* */ 978 __le64 hdr_addr; /* */
980 __le32 hdr_addr_hi; /* */
981} __attribute((packed)); 979} __attribute((packed));
982 980
983struct ib_ae_iocb_rsp { 981struct ib_ae_iocb_rsp {
@@ -1042,10 +1040,8 @@ struct wqicb {
1042 __le16 cq_id_rss; 1040 __le16 cq_id_rss;
1043#define Q_CQ_ID_RSS_RV 0x8000 1041#define Q_CQ_ID_RSS_RV 0x8000
1044 __le16 rid; 1042 __le16 rid;
1045 __le32 addr_lo; 1043 __le64 addr;
1046 __le32 addr_hi; 1044 __le64 cnsmr_idx_addr;
1047 __le32 cnsmr_idx_addr_lo;
1048 __le32 cnsmr_idx_addr_hi;
1049} __attribute((packed)); 1045} __attribute((packed));
1050 1046
1051/* 1047/*
@@ -1070,18 +1066,14 @@ struct cqicb {
1070#define LEN_CPP_64 0x0002 1066#define LEN_CPP_64 0x0002
1071#define LEN_CPP_128 0x0003 1067#define LEN_CPP_128 0x0003
1072 __le16 rid; 1068 __le16 rid;
1073 __le32 addr_lo; 1069 __le64 addr;
1074 __le32 addr_hi; 1070 __le64 prod_idx_addr;
1075 __le32 prod_idx_addr_lo;
1076 __le32 prod_idx_addr_hi;
1077 __le16 pkt_delay; 1071 __le16 pkt_delay;
1078 __le16 irq_delay; 1072 __le16 irq_delay;
1079 __le32 lbq_addr_lo; 1073 __le64 lbq_addr;
1080 __le32 lbq_addr_hi;
1081 __le16 lbq_buf_size; 1074 __le16 lbq_buf_size;
1082 __le16 lbq_len; /* entry count */ 1075 __le16 lbq_len; /* entry count */
1083 __le32 sbq_addr_lo; 1076 __le64 sbq_addr;
1084 __le32 sbq_addr_hi;
1085 __le16 sbq_buf_size; 1077 __le16 sbq_buf_size;
1086 __le16 sbq_len; /* entry count */ 1078 __le16 sbq_len; /* entry count */
1087} __attribute((packed)); 1079} __attribute((packed));