fjes.h (e5451c8f8330e03ad3cfa16048b4daf961af434f) fjes.h (c753119e6d1a26a3df04d6fe69d75049082e3f32)
1/*
2 * FUJITSU Extended Socket Network Device driver
3 * Copyright (c) 2015 FUJITSU LIMITED
4 *
5 * This program is free software; you can redistribute it and/or modify it
6 * under the terms and conditions of the GNU General Public License,
7 * version 2, as published by the Free Software Foundation.
8 *

--- 52 unchanged lines hidden (view full) ---

61
62 struct work_struct unshare_watch_task;
63 unsigned long unshare_watch_bitmask;
64
65 struct delayed_work interrupt_watch_task;
66 bool interrupt_watch_enable;
67
68 struct fjes_hw hw;
1/*
2 * FUJITSU Extended Socket Network Device driver
3 * Copyright (c) 2015 FUJITSU LIMITED
4 *
5 * This program is free software; you can redistribute it and/or modify it
6 * under the terms and conditions of the GNU General Public License,
7 * version 2, as published by the Free Software Foundation.
8 *

--- 52 unchanged lines hidden (view full) ---

61
62 struct work_struct unshare_watch_task;
63 unsigned long unshare_watch_bitmask;
64
65 struct delayed_work interrupt_watch_task;
66 bool interrupt_watch_enable;
67
68 struct fjes_hw hw;
69
70#ifdef CONFIG_DEBUG_FS
71 struct dentry *dbg_adapter;
72#endif
69};
70
71extern char fjes_driver_name[];
72extern char fjes_driver_version[];
73extern const u32 fjes_support_mtu[];
74
75void fjes_set_ethtool_ops(struct net_device *);
76
73};
74
75extern char fjes_driver_name[];
76extern char fjes_driver_version[];
77extern const u32 fjes_support_mtu[];
78
79void fjes_set_ethtool_ops(struct net_device *);
80
81#ifdef CONFIG_DEBUG_FS
82void fjes_dbg_adapter_init(struct fjes_adapter *adapter);
83void fjes_dbg_adapter_exit(struct fjes_adapter *adapter);
84void fjes_dbg_init(void);
85void fjes_dbg_exit(void);
86#else
87static inline void fjes_dbg_adapter_init(struct fjes_adapter *adapter) {}
88static inline void fjes_dbg_adapter_exit(struct fjes_adapter *adapter) {}
89static inline void fjes_dbg_init(void) {}
90static inline void fjes_dbg_exit(void) {}
91#endif /* CONFIG_DEBUG_FS */
92
77#endif /* FJES_H_ */
93#endif /* FJES_H_ */