1 diff -urN linux.old/include/linux/atmdev.h linux.dev/include/linux/atmdev.h
2 --- linux.old/include/linux/atmdev.h 2005-08-22 23:18:37.812526104 +0200
3 +++ linux.dev/include/linux/atmdev.h 2005-08-23 06:33:33.425389944 +0200
5 #define ATM_DS3_PCR (8000*12)
6 /* DS3: 12 cells in a 125 usec time slot */
8 +#define ATM_PDU_OVHD 0 /* number of bytes to charge against buffer
11 #define ATM_SD(s) ((s)->sk->protinfo.af_atm)
15 /* set backend handler */
16 #define ATM_NEWBACKENDIF _IOW('a',ATMIOC_SPECIAL+3,atm_backend_t)
17 /* use backend to make new if */
19 +#define ATM_STOPTX _IOW('a',ATMIOC_SPECIAL+4,struct atmif_sioc)
20 + /* Stop Tx on Sangam DSL */
22 * These are backend handkers that can be set via the ATM_SETBACKEND call
23 * above. In the future we may support dynamic loading of these - for now,
25 "SESSION", "HASSAP", "BOUND", "CLOSE"
30 +#undef __AAL_STAT_ITEMS
33 #include <linux/sched.h> /* wait_queue_head_t */
34 #include <linux/time.h> /* struct timeval */
36 int (*send)(struct atm_vcc *vcc,struct sk_buff *skb);
37 void *dev_data; /* per-device data */
38 void *proto_data; /* per-protocol data */
39 + struct timeval timestamp; /* AAL timestamps */
40 struct k_atm_aal_stats *stats; /* pointer to AAL stats group */
41 wait_queue_head_t sleep; /* if socket is busy */
42 struct sock *sk; /* socket backpointer */
44 struct k_atm_dev_stats stats; /* statistics */
45 char signal; /* signal status (ATM_PHY_SIG_*) */
46 int link_rate; /* link rate (default: OC3) */
47 - atomic_t refcnt; /* reference count */
48 - spinlock_t lock; /* protect internal members */
49 + atomic_t refcnt; /* reference count */
50 + spinlock_t lock; /* protect internal members */
52 struct proc_dir_entry *proc_entry; /* proc entry */
53 char *proc_name; /* proc entry name */
55 - struct list_head dev_list; /* linkage */
56 + struct list_head dev_list; /* linkage */