treewide: use __printf not __attribute__((format(printf,...)))
[pandora-kernel.git] / drivers / isdn / hisax / isdnl1.h
1 /* $Id: isdnl1.h,v 2.12.2.3 2004/02/11 13:21:34 keil Exp $
2  *
3  * Layer 1 defines
4  *
5  * This software may be used and distributed according to the terms
6  * of the GNU General Public License, incorporated herein by reference.
7  *
8  */
9
10 #define D_RCVBUFREADY   0
11 #define D_XMTBUFREADY   1
12 #define D_L1STATECHANGE 2
13 #define D_CLEARBUSY     3
14 #define D_RX_MON0       4
15 #define D_RX_MON1       5
16 #define D_TX_MON0       6
17 #define D_TX_MON1       7
18 #define E_RCVBUFREADY   8
19
20 #define B_RCVBUFREADY   0
21 #define B_XMTBUFREADY   1
22 #define B_ACKPENDING    2
23
24 __printf(2, 3)
25 void debugl1(struct IsdnCardState *cs, char *fmt, ...);
26 void DChannel_proc_xmt(struct IsdnCardState *cs);
27 void DChannel_proc_rcv(struct IsdnCardState *cs);
28 void l1_msg(struct IsdnCardState *cs, int pr, void *arg);
29 void l1_msg_b(struct PStack *st, int pr, void *arg);
30 void Logl2Frame(struct IsdnCardState *cs, struct sk_buff *skb, char *buf,
31                 int dir);
32 void BChannel_bh(struct work_struct *work);