summaryrefslogtreecommitdiff
path: root/drivers/atm/suni.h
diff options
context:
space:
mode:
authorJorge Boncompte [DTI2] <jorge@dti2.net>2008-06-18 03:18:49 +0400
committerDavid S. Miller <davem@davemloft.net>2008-06-18 03:18:49 +0400
commit2be63b878f2a1e6d939b05f4f5cb733cb39bcd22 (patch)
tree5d41eb43ca2b8742206a9f493c35bbc5d7edf97f /drivers/atm/suni.h
parentf586287e0fed366d80822666f70487472ab8793a (diff)
downloadlinux-2be63b878f2a1e6d939b05f4f5cb733cb39bcd22.tar.xz
atm: [iphase] move struct suni_priv to suni.h
Signed-off-by: Jorge Boncompte [DTI2] <jorge@dti2.net> Signed-off-by: Chas Williams <chas@cmf.nrl.navy.mil> Signed-off-by: David S. Miller <davem@davemloft.net>
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 d14c835abc97..efa79bfae75b 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