diff options
author | Joe Perches <joe@perches.com> | 2012-02-19 22:52:38 -0500 |
---|---|---|
committer | Joe Perches <joe@perches.com> | 2012-02-21 12:04:01 -0500 |
commit | 475be4d85a274d0961593db41cf85689db1d583c (patch) | |
tree | b2b8931eb747794730522c3cf1898e46948527b9 /drivers/isdn/hysdn/hysdn_defs.h | |
parent | 0b0a635f79f91f3755b6518627ea06dd0dbfd523 (diff) |
isdn: whitespace coding style cleanup
isdn source code uses a not-current coding style.
Update the coding style used on a per-line basis
so that git diff -w shows only elided blank lines
at EOF.
Done with emacs and some scripts and some typing.
Built x86 allyesconfig.
No detected change in objdump -d or size.
Signed-off-by: Joe Perches <joe@perches.com>
Diffstat (limited to 'drivers/isdn/hysdn/hysdn_defs.h')
-rw-r--r-- | drivers/isdn/hysdn/hysdn_defs.h | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/drivers/isdn/hysdn/hysdn_defs.h b/drivers/isdn/hysdn/hysdn_defs.h index 18b801ad97a4..cdac46a21692 100644 --- a/drivers/isdn/hysdn/hysdn_defs.h +++ b/drivers/isdn/hysdn/hysdn_defs.h | |||
@@ -41,7 +41,7 @@ | |||
41 | 41 | ||
42 | #define B1_PROT_64KBIT_HDLC 0x0001 | 42 | #define B1_PROT_64KBIT_HDLC 0x0001 |
43 | #define B1_PROT_64KBIT_TRANSPARENT 0x0002 | 43 | #define B1_PROT_64KBIT_TRANSPARENT 0x0002 |
44 | #define B1_PROT_V110_ASYNCH 0x0004 | 44 | #define B1_PROT_V110_ASYNCH 0x0004 |
45 | #define B1_PROT_V110_SYNCH 0x0008 | 45 | #define B1_PROT_V110_SYNCH 0x0008 |
46 | #define B1_PROT_T30 0x0010 | 46 | #define B1_PROT_T30 0x0010 |
47 | #define B1_PROT_64KBIT_INV_HDLC 0x0020 | 47 | #define B1_PROT_64KBIT_INV_HDLC 0x0020 |
@@ -199,14 +199,14 @@ typedef struct HYSDN_CARD { | |||
199 | char *version[HYSDN_MAXVERSION]; | 199 | char *version[HYSDN_MAXVERSION]; |
200 | 200 | ||
201 | char infobuf[128]; /* for function procinfo */ | 201 | char infobuf[128]; /* for function procinfo */ |
202 | 202 | ||
203 | struct HYSDN_CARD *card; | 203 | struct HYSDN_CARD *card; |
204 | struct capi_ctr capi_ctrl; | 204 | struct capi_ctr capi_ctrl; |
205 | struct sk_buff *skbs[HYSDN_MAX_CAPI_SKB]; | 205 | struct sk_buff *skbs[HYSDN_MAX_CAPI_SKB]; |
206 | int in_idx, out_idx; /* indexes to buffer ring */ | 206 | int in_idx, out_idx; /* indexes to buffer ring */ |
207 | int sk_count; /* number of buffers currently in ring */ | 207 | int sk_count; /* number of buffers currently in ring */ |
208 | struct sk_buff *tx_skb; /* buffer for tx operation */ | 208 | struct sk_buff *tx_skb; /* buffer for tx operation */ |
209 | 209 | ||
210 | struct list_head ncci_head; | 210 | struct list_head ncci_head; |
211 | } *hyctrlinfo; | 211 | } *hyctrlinfo; |
212 | #endif /* CONFIG_HYSDN_CAPI */ | 212 | #endif /* CONFIG_HYSDN_CAPI */ |
@@ -235,11 +235,11 @@ extern void hysdn_procconf_release(void); /* deinit proc config filesys */ | |||
235 | /* hysdn_proclog.c */ | 235 | /* hysdn_proclog.c */ |
236 | extern int hysdn_proclog_init(hysdn_card *); /* init proc log entry */ | 236 | extern int hysdn_proclog_init(hysdn_card *); /* init proc log entry */ |
237 | extern void hysdn_proclog_release(hysdn_card *); /* deinit proc log entry */ | 237 | extern void hysdn_proclog_release(hysdn_card *); /* deinit proc log entry */ |
238 | extern void hysdn_addlog(hysdn_card *, char *,...); /* output data to log */ | 238 | extern void hysdn_addlog(hysdn_card *, char *, ...); /* output data to log */ |
239 | extern void hysdn_card_errlog(hysdn_card *, tErrLogEntry *, int); /* output card log */ | 239 | extern void hysdn_card_errlog(hysdn_card *, tErrLogEntry *, int); /* output card log */ |
240 | 240 | ||
241 | /* boardergo.c */ | 241 | /* boardergo.c */ |
242 | extern int ergo_inithardware(hysdn_card * card); /* get hardware -> module init */ | 242 | extern int ergo_inithardware(hysdn_card *card); /* get hardware -> module init */ |
243 | 243 | ||
244 | /* hysdn_boot.c */ | 244 | /* hysdn_boot.c */ |
245 | extern int pof_write_close(hysdn_card *); /* close proc file after writing pof */ | 245 | extern int pof_write_close(hysdn_card *); /* close proc file after writing pof */ |
@@ -249,31 +249,31 @@ extern int EvalSysrTokData(hysdn_card *, unsigned char *, int); /* Check Sysrea | |||
249 | 249 | ||
250 | /* hysdn_sched.c */ | 250 | /* hysdn_sched.c */ |
251 | extern int hysdn_sched_tx(hysdn_card *, unsigned char *, | 251 | extern int hysdn_sched_tx(hysdn_card *, unsigned char *, |
252 | unsigned short volatile *, unsigned short volatile *, | 252 | unsigned short volatile *, unsigned short volatile *, |
253 | unsigned short); | 253 | unsigned short); |
254 | extern int hysdn_sched_rx(hysdn_card *, unsigned char *, unsigned short, | 254 | extern int hysdn_sched_rx(hysdn_card *, unsigned char *, unsigned short, |
255 | unsigned short); | 255 | unsigned short); |
256 | extern int hysdn_tx_cfgline(hysdn_card *, unsigned char *, | 256 | extern int hysdn_tx_cfgline(hysdn_card *, unsigned char *, |
257 | unsigned short); /* send one cfg line */ | 257 | unsigned short); /* send one cfg line */ |
258 | 258 | ||
259 | /* hysdn_net.c */ | 259 | /* hysdn_net.c */ |
260 | extern unsigned int hynet_enable; | 260 | extern unsigned int hynet_enable; |
261 | extern int hysdn_net_create(hysdn_card *); /* create a new net device */ | 261 | extern int hysdn_net_create(hysdn_card *); /* create a new net device */ |
262 | extern int hysdn_net_release(hysdn_card *); /* delete the device */ | 262 | extern int hysdn_net_release(hysdn_card *); /* delete the device */ |
263 | extern char *hysdn_net_getname(hysdn_card *); /* get name of net interface */ | 263 | extern char *hysdn_net_getname(hysdn_card *); /* get name of net interface */ |
264 | extern void hysdn_tx_netack(hysdn_card *); /* acknowledge a packet tx */ | 264 | extern void hysdn_tx_netack(hysdn_card *); /* acknowledge a packet tx */ |
265 | extern struct sk_buff *hysdn_tx_netget(hysdn_card *); /* get next network packet */ | 265 | extern struct sk_buff *hysdn_tx_netget(hysdn_card *); /* get next network packet */ |
266 | extern void hysdn_rx_netpkt(hysdn_card *, unsigned char *, | 266 | extern void hysdn_rx_netpkt(hysdn_card *, unsigned char *, |
267 | unsigned short); /* rxed packet from network */ | 267 | unsigned short); /* rxed packet from network */ |
268 | 268 | ||
269 | #ifdef CONFIG_HYSDN_CAPI | 269 | #ifdef CONFIG_HYSDN_CAPI |
270 | extern unsigned int hycapi_enable; | 270 | extern unsigned int hycapi_enable; |
271 | extern int hycapi_capi_create(hysdn_card *); /* create a new capi device */ | 271 | extern int hycapi_capi_create(hysdn_card *); /* create a new capi device */ |
272 | extern int hycapi_capi_release(hysdn_card *); /* delete the device */ | 272 | extern int hycapi_capi_release(hysdn_card *); /* delete the device */ |
273 | extern int hycapi_capi_stop(hysdn_card *card); /* suspend */ | 273 | extern int hycapi_capi_stop(hysdn_card *card); /* suspend */ |
274 | extern void hycapi_rx_capipkt(hysdn_card * card, unsigned char * buf, | 274 | extern void hycapi_rx_capipkt(hysdn_card *card, unsigned char *buf, |
275 | unsigned short len); | 275 | unsigned short len); |
276 | extern void hycapi_tx_capiack(hysdn_card * card); | 276 | extern void hycapi_tx_capiack(hysdn_card *card); |
277 | extern struct sk_buff *hycapi_tx_capiget(hysdn_card *card); | 277 | extern struct sk_buff *hycapi_tx_capiget(hysdn_card *card); |
278 | extern int hycapi_init(void); | 278 | extern int hycapi_init(void); |
279 | extern void hycapi_cleanup(void); | 279 | extern void hycapi_cleanup(void); |