aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/char/rio/rioinfo.h
diff options
context:
space:
mode:
authorAndrew Morton <akpm@osdl.org>2006-01-11 15:17:49 -0500
committerLinus Torvalds <torvalds@g5.osdl.org>2006-01-11 21:42:14 -0500
commit8d8706e2f86d28814c1b40a116ffdeca35e4c949 (patch)
tree146567d7a807feb37a5368fbb4a6ee76d9d7bc7e /drivers/char/rio/rioinfo.h
parenta9415644583ef344e02f84faf5fe24bfadb2af8e (diff)
[PATCH] lindent rio drivers
Run all rio files through indent -kr -i8 -bri0 -l255, as requested by Alan. rioboot.c and rioinit.c were skipped due to worrisome lindent warnings. Cc: Alan Cox <alan@lxorguk.ukuu.org.uk> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/char/rio/rioinfo.h')
-rw-r--r--drivers/char/rio/rioinfo.h30
1 files changed, 15 insertions, 15 deletions
diff --git a/drivers/char/rio/rioinfo.h b/drivers/char/rio/rioinfo.h
index e08421c9558e..8de7966e603a 100644
--- a/drivers/char/rio/rioinfo.h
+++ b/drivers/char/rio/rioinfo.h
@@ -41,29 +41,29 @@ static char *_rioinfo_h_sccs_ = "@(#)rioinfo.h 1.2";
41** Host card data structure 41** Host card data structure
42*/ 42*/
43struct RioHostInfo { 43struct RioHostInfo {
44 long location; /* RIO Card Base I/O address */ 44 long location; /* RIO Card Base I/O address */
45 long vector; /* RIO Card IRQ vector */ 45 long vector; /* RIO Card IRQ vector */
46 int bus; /* ISA/EISA/MCA/PCI */ 46 int bus; /* ISA/EISA/MCA/PCI */
47 int mode; /* pointer to host mode - INTERRUPT / POLLED */ 47 int mode; /* pointer to host mode - INTERRUPT / POLLED */
48 struct old_sgttyb 48 struct old_sgttyb
49 * Sg; /* pointer to default term characteristics */ 49 *Sg; /* pointer to default term characteristics */
50}; 50};
51 51
52 52
53/* Mode in rio device info */ 53/* Mode in rio device info */
54#define INTERRUPTED_MODE 0x01 /* Interrupt is generated */ 54#define INTERRUPTED_MODE 0x01 /* Interrupt is generated */
55#define POLLED_MODE 0x02 /* No interrupt */ 55#define POLLED_MODE 0x02 /* No interrupt */
56#define AUTO_MODE 0x03 /* Auto mode */ 56#define AUTO_MODE 0x03 /* Auto mode */
57 57
58#define WORD_ACCESS_MODE 0x10 /* Word Access Mode */ 58#define WORD_ACCESS_MODE 0x10 /* Word Access Mode */
59#define BYTE_ACCESS_MODE 0x20 /* Byte Access Mode */ 59#define BYTE_ACCESS_MODE 0x20 /* Byte Access Mode */
60 60
61 61
62/* Bus type that RIO supports */ 62/* Bus type that RIO supports */
63#define ISA_BUS 0x01 /* The card is ISA */ 63#define ISA_BUS 0x01 /* The card is ISA */
64#define EISA_BUS 0x02 /* The card is EISA */ 64#define EISA_BUS 0x02 /* The card is EISA */
65#define MCA_BUS 0x04 /* The card is MCA */ 65#define MCA_BUS 0x04 /* The card is MCA */
66#define PCI_BUS 0x08 /* The card is PCI */ 66#define PCI_BUS 0x08 /* The card is PCI */
67 67
68/* 68/*
69** 11.11.1998 ARG - ESIL ???? part fix 69** 11.11.1998 ARG - ESIL ???? part fix
@@ -93,4 +93,4 @@ struct RioHostInfo {
93 'V' - '@' /* literal next char */ \ 93 'V' - '@' /* literal next char */ \
94} 94}
95 95
96#endif /* __rioinfo_h */ 96#endif /* __rioinfo_h */