Go to the documentation of this file.
19 #include <linux/string.h>
21 #include <asm/types.h>
23 #define FS_ENET_NAME "fs_enet"
37 #define FS_MAX_INDEX 9
39 static inline int fs_get_fec_index(
enum fs_id id)
46 static inline int fs_get_fcc_index(
enum fs_id id)
53 static inline int fs_get_scc_index(
enum fs_id id)
60 static inline int fs_fec_index2id(
int index)
68 static inline int fs_fcc_index2id(
int index)
76 static inline int fs_scc_index2id(
int index)
154 return fs_scc_index2id(fpi->
fs_no);
156 return fs_fcc_index2id(fpi->
fs_no);
158 return fs_fec_index2id(fpi->
fs_no);