aboutsummaryrefslogtreecommitdiff
path: root/drivers/atm/suni.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/atm/suni.h')
-rw-r--r--drivers/atm/suni.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/drivers/atm/suni.h b/drivers/atm/suni.h
index d14c835abc9..efa79bfae75 100644
--- a/drivers/atm/suni.h
+++ b/drivers/atm/suni.h
@@ -8,7 +8,7 @@
#include <linux/atmdev.h>
#include <linux/atmioc.h>
-
+#include <linux/sonet.h>
/* SUNI registers */
@@ -205,6 +205,13 @@
#ifdef __KERNEL__
+struct suni_priv {
+ struct k_sonet_stats sonet_stats; /* link diagnostics */
+ int loop_mode; /* loopback mode */
+ struct atm_dev *dev; /* device back-pointer */
+ struct suni_priv *next; /* next SUNI */
+};
+
int suni_init(struct atm_dev *dev);
#endif