diff options
author | Jorge Boncompte [DTI2] <jorge@dti2.net> | 2008-06-17 19:18:49 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-06-17 19:18:49 -0400 |
commit | 2be63b878f2a1e6d939b05f4f5cb733cb39bcd22 (patch) | |
tree | 5d41eb43ca2b8742206a9f493c35bbc5d7edf97f /drivers/atm/suni.h | |
parent | f586287e0fed366d80822666f70487472ab8793a (diff) |
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.h | 9 |
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 @@ | |||
8 | 8 | ||
9 | #include <linux/atmdev.h> | 9 | #include <linux/atmdev.h> |
10 | #include <linux/atmioc.h> | 10 | #include <linux/atmioc.h> |
11 | 11 | #include <linux/sonet.h> | |
12 | 12 | ||
13 | /* SUNI registers */ | 13 | /* SUNI registers */ |
14 | 14 | ||
@@ -205,6 +205,13 @@ | |||
205 | 205 | ||
206 | 206 | ||
207 | #ifdef __KERNEL__ | 207 | #ifdef __KERNEL__ |
208 | struct suni_priv { | ||
209 | struct k_sonet_stats sonet_stats; /* link diagnostics */ | ||
210 | int loop_mode; /* loopback mode */ | ||
211 | struct atm_dev *dev; /* device back-pointer */ | ||
212 | struct suni_priv *next; /* next SUNI */ | ||
213 | }; | ||
214 | |||
208 | int suni_init(struct atm_dev *dev); | 215 | int suni_init(struct atm_dev *dev); |
209 | #endif | 216 | #endif |
210 | 217 | ||