diff options
Diffstat (limited to 'drivers/net/s2io-regs.h')
-rw-r--r-- | drivers/net/s2io-regs.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/drivers/net/s2io-regs.h b/drivers/net/s2io-regs.h index 159d87648f64..2234a8f05eb2 100644 --- a/drivers/net/s2io-regs.h +++ b/drivers/net/s2io-regs.h | |||
@@ -167,7 +167,11 @@ typedef struct _XENA_dev_config { | |||
167 | u8 unused4[0x08]; | 167 | u8 unused4[0x08]; |
168 | 168 | ||
169 | u64 gpio_int_reg; | 169 | u64 gpio_int_reg; |
170 | #define GPIO_INT_REG_LINK_DOWN BIT(1) | ||
171 | #define GPIO_INT_REG_LINK_UP BIT(2) | ||
170 | u64 gpio_int_mask; | 172 | u64 gpio_int_mask; |
173 | #define GPIO_INT_MASK_LINK_DOWN BIT(1) | ||
174 | #define GPIO_INT_MASK_LINK_UP BIT(2) | ||
171 | u64 gpio_alarms; | 175 | u64 gpio_alarms; |
172 | 176 | ||
173 | u8 unused5[0x38]; | 177 | u8 unused5[0x38]; |
@@ -279,8 +283,10 @@ typedef struct _XENA_dev_config { | |||
279 | 283 | ||
280 | u64 gpio_control; | 284 | u64 gpio_control; |
281 | #define GPIO_CTRL_GPIO_0 BIT(8) | 285 | #define GPIO_CTRL_GPIO_0 BIT(8) |
286 | u64 misc_control; | ||
287 | #define MISC_LINK_STABILITY_PRD(val) vBIT(val,29,3) | ||
282 | 288 | ||
283 | u8 unused7_1[0x240 - 0x200]; | 289 | u8 unused7_1[0x240 - 0x208]; |
284 | 290 | ||
285 | u64 wreq_split_mask; | 291 | u64 wreq_split_mask; |
286 | #define WREQ_SPLIT_MASK_SET_MASK(val) vBIT(val, 52, 12) | 292 | #define WREQ_SPLIT_MASK_SET_MASK(val) vBIT(val, 52, 12) |