aboutsummaryrefslogtreecommitdiffstats
path: root/include/net/caif
diff options
context:
space:
mode:
authorSjur Brændeland <sjur.brandeland@stericsson.com>2012-06-25 03:49:41 -0400
committerDavid S. Miller <davem@davemloft.net>2012-06-25 19:44:12 -0400
commitc41254006377842013922fb1e407391f24c59522 (patch)
tree9ed40b855fe2ad5a9808cee6e622acd3935400b4 /include/net/caif
parent5051c94bb3998ff24bf07ae3b72dca30f85962f8 (diff)
caif-hsi: Add rtnl support
Add RTNL support for managing the caif hsi interface. The HSI HW interface is no longer registering as a device, instead we use symbol_get to get hold of the HSI API. Signed-off-by: Sjur Brændeland <sjur.brandeland@stericsson.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/caif')
-rw-r--r--include/net/caif/caif_hsi.h21
1 files changed, 20 insertions, 1 deletions
diff --git a/include/net/caif/caif_hsi.h b/include/net/caif/caif_hsi.h
index 439dadc8102f..a77b2bd7719a 100644
--- a/include/net/caif/caif_hsi.h
+++ b/include/net/caif/caif_hsi.h
@@ -170,7 +170,26 @@ struct cfhsi {
170 170
171 unsigned long bits; 171 unsigned long bits;
172}; 172};
173
174extern struct platform_driver cfhsi_driver; 173extern struct platform_driver cfhsi_driver;
175 174
175/**
176 * enum ifla_caif_hsi - CAIF HSI NetlinkRT parameters.
177 * @IFLA_CAIF_HSI_INACTIVITY_TOUT: Inactivity timeout before
178 * taking the HSI wakeline down, in milliseconds.
179 * When using RT Netlink to create, destroy or configure a CAIF HSI interface,
180 * enum ifla_caif_hsi is used to specify the configuration attributes.
181 */
182enum ifla_caif_hsi {
183 __IFLA_CAIF_HSI_UNSPEC,
184 __IFLA_CAIF_HSI_INACTIVITY_TOUT,
185 __IFLA_CAIF_HSI_AGGREGATION_TOUT,
186 __IFLA_CAIF_HSI_HEAD_ALIGN,
187 __IFLA_CAIF_HSI_TAIL_ALIGN,
188 __IFLA_CAIF_HSI_QHIGH_WATERMARK,
189 __IFLA_CAIF_HSI_QLOW_WATERMARK,
190 __IFLA_CAIF_HSI_MAX
191};
192
193extern struct platform_device *cfhsi_get_device(void);
194
176#endif /* CAIF_HSI_H_ */ 195#endif /* CAIF_HSI_H_ */