diff options
author | raghavendra.koushik@neterion.com <raghavendra.koushik@neterion.com> | 2005-08-03 15:38:59 -0400 |
---|---|---|
committer | Jeff Garzik <jgarzik@pobox.com> | 2005-08-11 00:10:45 -0400 |
commit | a371a07de9bce837ea4e84569a2b390a42e360ef (patch) | |
tree | d8b8f2f18d6a1ff620e53363f22288321730ddb1 /drivers/net/s2io-regs.h | |
parent | b6e3f9828b9dc188cfe80364365cc68bf45df949 (diff) |
[PATCH] S2io: New link handling scheme for Xframe II
Hi,
The below patch implements a new "Link state change handling"
scheme supported by the Xframe II adapter. It also bumps up the
driver version to 2.0.2.0.
Signed-off-by: Ravinandan Arakali <ravinandan.arakali@neterion.com>
Signed-off-by: Raghavendra Koushik <raghavendra.koushik@neterion.com>
Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
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) |