aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/isdn/act2000/act2000_isa.h
diff options
context:
space:
mode:
authorJoe Perches <joe@perches.com>2012-02-19 22:52:38 -0500
committerJoe Perches <joe@perches.com>2012-02-21 12:04:01 -0500
commit475be4d85a274d0961593db41cf85689db1d583c (patch)
treeb2b8931eb747794730522c3cf1898e46948527b9 /drivers/isdn/act2000/act2000_isa.h
parent0b0a635f79f91f3755b6518627ea06dd0dbfd523 (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/act2000/act2000_isa.h')
-rw-r--r--drivers/isdn/act2000/act2000_isa.h32
1 files changed, 16 insertions, 16 deletions
diff --git a/drivers/isdn/act2000/act2000_isa.h b/drivers/isdn/act2000/act2000_isa.h
index ad86c5ed9aad..1a728984ede1 100644
--- a/drivers/isdn/act2000/act2000_isa.h
+++ b/drivers/isdn/act2000/act2000_isa.h
@@ -4,7 +4,7 @@
4 * 4 *
5 * Author Fritz Elfert 5 * Author Fritz Elfert
6 * Copyright by Fritz Elfert <fritz@isdn4linux.de> 6 * Copyright by Fritz Elfert <fritz@isdn4linux.de>
7 * 7 *
8 * This software may be used and distributed according to the terms 8 * This software may be used and distributed according to the terms
9 * of the GNU General Public License, incorporated herein by reference. 9 * of the GNU General Public License, incorporated herein by reference.
10 * 10 *
@@ -18,9 +18,9 @@
18#define ISA_POLL_LOOP 40 /* Try to read-write before give up */ 18#define ISA_POLL_LOOP 40 /* Try to read-write before give up */
19 19
20typedef enum { 20typedef enum {
21 INT_NO_CHANGE = 0, /* Do not change the Mask */ 21 INT_NO_CHANGE = 0, /* Do not change the Mask */
22 INT_ON = 1, /* Set to Enable */ 22 INT_ON = 1, /* Set to Enable */
23 INT_OFF = 2, /* Set to Disable */ 23 INT_OFF = 2, /* Set to Disable */
24} ISA_INT_T; 24} ISA_INT_T;
25 25
26/**************************************************************************/ 26/**************************************************************************/
@@ -114,22 +114,22 @@ typedef enum {
114 114
115 115
116/* Macros for accessing ports */ 116/* Macros for accessing ports */
117#define ISA_PORT_COR (card->port+ISA_COR) 117#define ISA_PORT_COR (card->port + ISA_COR)
118#define ISA_PORT_ISR (card->port+ISA_ISR) 118#define ISA_PORT_ISR (card->port + ISA_ISR)
119#define ISA_PORT_EPR (card->port+ISA_EPR) 119#define ISA_PORT_EPR (card->port + ISA_EPR)
120#define ISA_PORT_EER (card->port+ISA_EER) 120#define ISA_PORT_EER (card->port + ISA_EER)
121#define ISA_PORT_SDI (card->port+ISA_SDI) 121#define ISA_PORT_SDI (card->port + ISA_SDI)
122#define ISA_PORT_SDO (card->port+ISA_SDO) 122#define ISA_PORT_SDO (card->port + ISA_SDO)
123#define ISA_PORT_SIS (card->port+ISA_SIS) 123#define ISA_PORT_SIS (card->port + ISA_SIS)
124#define ISA_PORT_SOS (card->port+ISA_SOS) 124#define ISA_PORT_SOS (card->port + ISA_SOS)
125 125
126/* Prototypes */ 126/* Prototypes */
127 127
128extern int act2000_isa_detect(unsigned short portbase); 128extern int act2000_isa_detect(unsigned short portbase);
129extern int act2000_isa_config_irq(act2000_card * card, short irq); 129extern int act2000_isa_config_irq(act2000_card *card, short irq);
130extern int act2000_isa_config_port(act2000_card * card, unsigned short portbase); 130extern int act2000_isa_config_port(act2000_card *card, unsigned short portbase);
131extern int act2000_isa_download(act2000_card * card, act2000_ddef __user * cb); 131extern int act2000_isa_download(act2000_card *card, act2000_ddef __user *cb);
132extern void act2000_isa_release(act2000_card * card); 132extern void act2000_isa_release(act2000_card *card);
133extern void act2000_isa_receive(act2000_card *card); 133extern void act2000_isa_receive(act2000_card *card);
134extern void act2000_isa_send(act2000_card *card); 134extern void act2000_isa_send(act2000_card *card);
135 135