diff options
author | Konrad Rzeszutek Wilk <konrad.wilk@oracle.com> | 2012-04-18 23:52:50 +0400 |
---|---|---|
committer | Konrad Rzeszutek Wilk <konrad.wilk@oracle.com> | 2012-04-18 23:52:50 +0400 |
commit | 681e4a5e13c1c8315694eb4f44e0cdd84c9082d2 (patch) | |
tree | 699f14527c118859026e8ce0214e689d0b9c88cb /drivers/isdn/pcbit/pcbit.h | |
parent | b960d6c43a63ebd2d8518b328da3816b833ee8cc (diff) | |
parent | c104f1fa1ecf4ee0fc06e31b1f77630b2551be81 (diff) | |
download | linux-681e4a5e13c1c8315694eb4f44e0cdd84c9082d2.tar.xz |
Merge commit 'c104f1fa1ecf4ee0fc06e31b1f77630b2551be81' into stable/for-linus-3.4
* commit 'c104f1fa1ecf4ee0fc06e31b1f77630b2551be81': (14566 commits)
cpufreq: OMAP: fix build errors: depends on ARCH_OMAP2PLUS
sparc64: Eliminate obsolete __handle_softirq() function
sparc64: Fix bootup crash on sun4v.
kconfig: delete last traces of __enabled_ from autoconf.h
Revert "kconfig: fix __enabled_ macros definition for invisible and un-selected symbols"
kconfig: fix IS_ENABLED to not require all options to be defined
irq_domain: fix type mismatch in debugfs output format
staging: android: fix mem leaks in __persistent_ram_init()
staging: vt6656: Don't leak memory in drivers/staging/vt6656/ioctl.c::private_ioctl()
staging: iio: hmc5843: Fix crash in probe function.
panic: fix stack dump print on direct call to panic()
drivers/rtc/rtc-pl031.c: enable clock on all ST variants
Revert "mm: vmscan: fix misused nr_reclaimed in shrink_mem_cgroup_zone()"
hugetlb: fix race condition in hugetlb_fault()
drivers/rtc/rtc-twl.c: use static register while reading time
drivers/rtc/rtc-s3c.c: add placeholder for driver private data
drivers/rtc/rtc-s3c.c: fix compilation error
MAINTAINERS: add PCDP console maintainer
memcg: do not open code accesses to res_counter members
drivers/rtc/rtc-efi.c: fix section mismatch warning
...
Diffstat (limited to 'drivers/isdn/pcbit/pcbit.h')
-rw-r--r-- | drivers/isdn/pcbit/pcbit.h | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/drivers/isdn/pcbit/pcbit.h b/drivers/isdn/pcbit/pcbit.h index d76fffc88b82..0a5a99440a80 100644 --- a/drivers/isdn/pcbit/pcbit.h +++ b/drivers/isdn/pcbit/pcbit.h @@ -2,10 +2,10 @@ * PCBIT-D device driver definitions * * Copyright (C) 1996 Universidade de Lisboa - * + * * Written by Pedro Roque Marques (roque@di.fc.ul.pt) * - * This software may be used and distributed according to the terms of + * This software may be used and distributed according to the terms of * the GNU General Public License, incorporated herein by reference. */ @@ -32,14 +32,14 @@ struct pcbit_chan { unsigned short r_refnum; unsigned short fsm_state; struct timer_list fsm_timer; -#ifdef BLOCK_TIMER +#ifdef BLOCK_TIMER struct timer_list block_timer; #endif }; struct msn_entry { char *msn; - struct msn_entry * next; + struct msn_entry *next; }; struct pcbit_dev { @@ -49,15 +49,15 @@ struct pcbit_dev { unsigned long ph_mem; unsigned int irq; unsigned int id; - unsigned int interrupt; /* set during interrupt + unsigned int interrupt; /* set during interrupt processing */ spinlock_t lock; /* isdn4linux */ - struct msn_entry * msn_list; /* ISDN address list */ - - isdn_if * dev_if; - + struct msn_entry *msn_list; /* ISDN address list */ + + isdn_if *dev_if; + ushort ll_hdrlen; ushort hl_hdrlen; @@ -89,17 +89,17 @@ struct pcbit_dev { unsigned char send_seq; unsigned char rcv_seq; unsigned char unack_seq; - + unsigned short free; /* channels */ struct pcbit_chan *b1; - struct pcbit_chan *b2; + struct pcbit_chan *b2; }; -#define STATS_TIMER (10*HZ) -#define ERRTIME (HZ/10) +#define STATS_TIMER (10 * HZ) +#define ERRTIME (HZ / 10) /* MRU */ #define MAXBUFSIZE 1534 @@ -107,7 +107,7 @@ struct pcbit_dev { #define STATBUF_LEN 2048 /* - * + * */ #endif /* __KERNEL__ */ @@ -169,9 +169,9 @@ struct pcbit_ioctl { void pcbit_deliver(struct work_struct *work); int pcbit_init_dev(int board, int mem_base, int irq); void pcbit_terminate(int board); -void pcbit_l3_receive(struct pcbit_dev * dev, ulong msg, struct sk_buff * skb, +void pcbit_l3_receive(struct pcbit_dev *dev, ulong msg, struct sk_buff *skb, ushort hdr_len, ushort refnum); -void pcbit_state_change(struct pcbit_dev * dev, struct pcbit_chan * chan, +void pcbit_state_change(struct pcbit_dev *dev, struct pcbit_chan *chan, unsigned short i, unsigned short ev, unsigned short f); #endif |