diff options
Diffstat (limited to 'drivers/net/gianfar.h')
-rw-r--r-- | drivers/net/gianfar.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/net/gianfar.h b/drivers/net/gianfar.h index 7ef3cc5cabe9..06bac34c3b52 100644 --- a/drivers/net/gianfar.h +++ b/drivers/net/gianfar.h | |||
@@ -374,6 +374,8 @@ extern const char gfar_driver_version[]; | |||
374 | #define RXFCB_PERR_MASK 0x000c | 374 | #define RXFCB_PERR_MASK 0x000c |
375 | #define RXFCB_PERR_BADL3 0x0008 | 375 | #define RXFCB_PERR_BADL3 0x0008 |
376 | 376 | ||
377 | #define GFAR_INT_NAME_MAX IFNAMSIZ + 4 | ||
378 | |||
377 | struct txbd8 | 379 | struct txbd8 |
378 | { | 380 | { |
379 | union { | 381 | union { |
@@ -796,6 +798,11 @@ struct gfar_private { | |||
796 | uint32_t msg_enable; | 798 | uint32_t msg_enable; |
797 | 799 | ||
798 | struct work_struct reset_task; | 800 | struct work_struct reset_task; |
801 | |||
802 | char int_name_tx[GFAR_INT_NAME_MAX]; | ||
803 | char int_name_rx[GFAR_INT_NAME_MAX]; | ||
804 | char int_name_er[GFAR_INT_NAME_MAX]; | ||
805 | |||
799 | /* Network Statistics */ | 806 | /* Network Statistics */ |
800 | struct gfar_extra_stats extra_stats; | 807 | struct gfar_extra_stats extra_stats; |
801 | }; | 808 | }; |