aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/s2io-regs.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/s2io-regs.h')
-rw-r--r--drivers/net/s2io-regs.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/drivers/net/s2io-regs.h b/drivers/net/s2io-regs.h
index 00179bc3437f..542ae1574801 100644
--- a/drivers/net/s2io-regs.h
+++ b/drivers/net/s2io-regs.h
@@ -187,7 +187,7 @@ typedef struct _XENA_dev_config {
187/* PIC Control registers */ 187/* PIC Control registers */
188 u64 pic_control; 188 u64 pic_control;
189#define PIC_CNTL_RX_ALARM_MAP_1 BIT(0) 189#define PIC_CNTL_RX_ALARM_MAP_1 BIT(0)
190#define PIC_CNTL_SHARED_SPLITS(n) vBIT(n,11,4) 190#define PIC_CNTL_SHARED_SPLITS(n) vBIT(n,11,5)
191 191
192 u64 swapper_ctrl; 192 u64 swapper_ctrl;
193#define SWAPPER_CTRL_PIF_R_FE BIT(0) 193#define SWAPPER_CTRL_PIF_R_FE BIT(0)
@@ -284,9 +284,13 @@ typedef struct _XENA_dev_config {
284 u64 gpio_control; 284 u64 gpio_control;
285#define GPIO_CTRL_GPIO_0 BIT(8) 285#define GPIO_CTRL_GPIO_0 BIT(8)
286 u64 misc_control; 286 u64 misc_control;
287#define EXT_REQ_EN BIT(1)
287#define MISC_LINK_STABILITY_PRD(val) vBIT(val,29,3) 288#define MISC_LINK_STABILITY_PRD(val) vBIT(val,29,3)
288 289
289 u8 unused7_1[0x240 - 0x208]; 290 u8 unused7_1[0x230 - 0x208];
291
292 u64 pic_control2;
293 u64 ini_dperr_ctrl;
290 294
291 u64 wreq_split_mask; 295 u64 wreq_split_mask;
292#define WREQ_SPLIT_MASK_SET_MASK(val) vBIT(val, 52, 12) 296#define WREQ_SPLIT_MASK_SET_MASK(val) vBIT(val, 52, 12)
@@ -493,6 +497,7 @@ typedef struct _XENA_dev_config {
493#define PRC_CTRL_NO_SNOOP_DESC BIT(22) 497#define PRC_CTRL_NO_SNOOP_DESC BIT(22)
494#define PRC_CTRL_NO_SNOOP_BUFF BIT(23) 498#define PRC_CTRL_NO_SNOOP_BUFF BIT(23)
495#define PRC_CTRL_BIMODAL_INTERRUPT BIT(37) 499#define PRC_CTRL_BIMODAL_INTERRUPT BIT(37)
500#define PRC_CTRL_GROUP_READS BIT(38)
496#define PRC_CTRL_RXD_BACKOFF_INTERVAL(val) vBIT(val,40,24) 501#define PRC_CTRL_RXD_BACKOFF_INTERVAL(val) vBIT(val,40,24)
497 502
498 u64 prc_alarm_action; 503 u64 prc_alarm_action;