diff options
Diffstat (limited to 'drivers/net/cxgb3/t3_hw.c')
-rw-r--r-- | drivers/net/cxgb3/t3_hw.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/cxgb3/t3_hw.c b/drivers/net/cxgb3/t3_hw.c index 04c0e90119af..33470c79ac1c 100644 --- a/drivers/net/cxgb3/t3_hw.c +++ b/drivers/net/cxgb3/t3_hw.c | |||
@@ -1221,7 +1221,7 @@ struct intr_info { | |||
1221 | unsigned int mask; /* bits to check in interrupt status */ | 1221 | unsigned int mask; /* bits to check in interrupt status */ |
1222 | const char *msg; /* message to print or NULL */ | 1222 | const char *msg; /* message to print or NULL */ |
1223 | short stat_idx; /* stat counter to increment or -1 */ | 1223 | short stat_idx; /* stat counter to increment or -1 */ |
1224 | unsigned short fatal:1; /* whether the condition reported is fatal */ | 1224 | unsigned short fatal; /* whether the condition reported is fatal */ |
1225 | }; | 1225 | }; |
1226 | 1226 | ||
1227 | /** | 1227 | /** |
@@ -3488,7 +3488,7 @@ void early_hw_init(struct adapter *adapter, const struct adapter_info *ai) | |||
3488 | * Older PCIe cards lose their config space during reset, PCI-X | 3488 | * Older PCIe cards lose their config space during reset, PCI-X |
3489 | * ones don't. | 3489 | * ones don't. |
3490 | */ | 3490 | */ |
3491 | static int t3_reset_adapter(struct adapter *adapter) | 3491 | int t3_reset_adapter(struct adapter *adapter) |
3492 | { | 3492 | { |
3493 | int i, save_and_restore_pcie = | 3493 | int i, save_and_restore_pcie = |
3494 | adapter->params.rev < T3_REV_B2 && is_pcie(adapter); | 3494 | adapter->params.rev < T3_REV_B2 && is_pcie(adapter); |