diff options
Diffstat (limited to 'include/linux/if_eql.h')
| -rw-r--r-- | include/linux/if_eql.h | 36 |
1 files changed, 1 insertions, 35 deletions
diff --git a/include/linux/if_eql.h b/include/linux/if_eql.h index 18a5d02a8644..d984694c384d 100644 --- a/include/linux/if_eql.h +++ b/include/linux/if_eql.h | |||
| @@ -15,28 +15,13 @@ | |||
| 15 | * McLean VA 22101 | 15 | * McLean VA 22101 |
| 16 | * Phone: 1-703-847-0040 ext 103 | 16 | * Phone: 1-703-847-0040 ext 103 |
| 17 | */ | 17 | */ |
| 18 | |||
| 19 | #ifndef _LINUX_IF_EQL_H | 18 | #ifndef _LINUX_IF_EQL_H |
| 20 | #define _LINUX_IF_EQL_H | 19 | #define _LINUX_IF_EQL_H |
| 21 | 20 | ||
| 22 | #define EQL_DEFAULT_SLAVE_PRIORITY 28800 | ||
| 23 | #define EQL_DEFAULT_MAX_SLAVES 4 | ||
| 24 | #define EQL_DEFAULT_MTU 576 | ||
| 25 | #define EQL_DEFAULT_RESCHED_IVAL HZ | ||
| 26 | |||
| 27 | #define EQL_ENSLAVE (SIOCDEVPRIVATE) | ||
| 28 | #define EQL_EMANCIPATE (SIOCDEVPRIVATE + 1) | ||
| 29 | |||
| 30 | #define EQL_GETSLAVECFG (SIOCDEVPRIVATE + 2) | ||
| 31 | #define EQL_SETSLAVECFG (SIOCDEVPRIVATE + 3) | ||
| 32 | |||
| 33 | #define EQL_GETMASTRCFG (SIOCDEVPRIVATE + 4) | ||
| 34 | #define EQL_SETMASTRCFG (SIOCDEVPRIVATE + 5) | ||
| 35 | |||
| 36 | #ifdef __KERNEL__ | ||
| 37 | 21 | ||
| 38 | #include <linux/timer.h> | 22 | #include <linux/timer.h> |
| 39 | #include <linux/spinlock.h> | 23 | #include <linux/spinlock.h> |
| 24 | #include <uapi/linux/if_eql.h> | ||
| 40 | 25 | ||
| 41 | typedef struct slave { | 26 | typedef struct slave { |
| 42 | struct list_head list; | 27 | struct list_head list; |
| @@ -61,23 +46,4 @@ typedef struct equalizer { | |||
| 61 | struct timer_list timer; | 46 | struct timer_list timer; |
| 62 | } equalizer_t; | 47 | } equalizer_t; |
| 63 | 48 | ||
| 64 | #endif /* __KERNEL__ */ | ||
| 65 | |||
| 66 | typedef struct master_config { | ||
| 67 | char master_name[16]; | ||
| 68 | int max_slaves; | ||
| 69 | int min_slaves; | ||
| 70 | } master_config_t; | ||
| 71 | |||
| 72 | typedef struct slave_config { | ||
| 73 | char slave_name[16]; | ||
| 74 | long priority; | ||
| 75 | } slave_config_t; | ||
| 76 | |||
| 77 | typedef struct slaving_request { | ||
| 78 | char slave_name[16]; | ||
| 79 | long priority; | ||
| 80 | } slaving_request_t; | ||
| 81 | |||
| 82 | |||
| 83 | #endif /* _LINUX_EQL_H */ | 49 | #endif /* _LINUX_EQL_H */ |
