Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 103000
b: refs/heads/master
c: 2be63b8
h: refs/heads/master
v: v3
  • Loading branch information
Jorge Boncompte [DTI2] authored and David S. Miller committed Jun 17, 2008
1 parent b0fa00f commit e637fdf
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 17 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: f586287e0fed366d80822666f70487472ab8793a
refs/heads/master: 2be63b878f2a1e6d939b05f4f5cb733cb39bcd22
7 changes: 1 addition & 6 deletions trunk/drivers/atm/iphase.c
Original file line number Diff line number Diff line change
Expand Up @@ -65,12 +65,7 @@
#include "iphase.h"
#include "suni.h"
#define swap(x) (((x & 0xff) << 8) | ((x & 0xff00) >> 8))
struct suni_priv {
struct k_sonet_stats sonet_stats; /* link diagnostics */
unsigned char loop_mode; /* loopback mode */
struct atm_dev *dev; /* device back-pointer */
struct suni_priv *next; /* next SUNI */
};

#define PRIV(dev) ((struct suni_priv *) dev->phy_data)

static unsigned char ia_phy_get(struct atm_dev *dev, unsigned long addr);
Expand Down
9 changes: 0 additions & 9 deletions trunk/drivers/atm/suni.c
Original file line number Diff line number Diff line change
Expand Up @@ -29,15 +29,6 @@
#define DPRINTK(format,args...)
#endif


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 */
};


#define PRIV(dev) ((struct suni_priv *) dev->phy_data)

#define PUT(val,reg) dev->ops->phy_put(dev,val,SUNI_##reg)
Expand Down
9 changes: 8 additions & 1 deletion trunk/drivers/atm/suni.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

#include <linux/atmdev.h>
#include <linux/atmioc.h>

#include <linux/sonet.h>

/* SUNI registers */

Expand Down Expand Up @@ -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

Expand Down

0 comments on commit e637fdf

Please sign in to comment.