aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/char/rio/riodrvr.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/char/rio/riodrvr.h')
-rw-r--r--drivers/char/rio/riodrvr.h128
1 files changed, 64 insertions, 64 deletions
diff --git a/drivers/char/rio/riodrvr.h b/drivers/char/rio/riodrvr.h
index bc38ac5dfbde..663ee0914ed7 100644
--- a/drivers/char/rio/riodrvr.h
+++ b/drivers/char/rio/riodrvr.h
@@ -33,7 +33,7 @@
33#ifndef __riodrvr_h 33#ifndef __riodrvr_h
34#define __riodrvr_h 34#define __riodrvr_h
35 35
36#include <asm/param.h> /* for HZ */ 36#include <asm/param.h> /* for HZ */
37 37
38#ifdef SCCS_LABELS 38#ifdef SCCS_LABELS
39static char *_riodrvr_h_sccs_ = "@(#)riodrvr.h 1.3"; 39static char *_riodrvr_h_sccs_ = "@(#)riodrvr.h 1.3";
@@ -44,15 +44,15 @@ static char *_riodrvr_h_sccs_ = "@(#)riodrvr.h 1.3";
44 44
45 45
46struct rio_info { 46struct rio_info {
47 int mode; /* Intr or polled, word/byte */ 47 int mode; /* Intr or polled, word/byte */
48 spinlock_t RIOIntrSem; /* Interrupt thread sem */ 48 spinlock_t RIOIntrSem; /* Interrupt thread sem */
49 int current_chan; /* current channel */ 49 int current_chan; /* current channel */
50 int RIOFailed; /* Not initialised ? */ 50 int RIOFailed; /* Not initialised ? */
51 int RIOInstallAttempts; /* no. of rio-install() calls */ 51 int RIOInstallAttempts; /* no. of rio-install() calls */
52 int RIOLastPCISearch; /* status of last search */ 52 int RIOLastPCISearch; /* status of last search */
53 int RIONumHosts; /* Number of RIO Hosts */ 53 int RIONumHosts; /* Number of RIO Hosts */
54 struct Host * RIOHosts; /* RIO Host values */ 54 struct Host *RIOHosts; /* RIO Host values */
55 struct Port **RIOPortp; /* RIO port values */ 55 struct Port **RIOPortp; /* RIO port values */
56/* 56/*
57** 02.03.1999 ARG - ESIL 0820 fix 57** 02.03.1999 ARG - ESIL 0820 fix
58** We no longer use RIOBootMode 58** We no longer use RIOBootMode
@@ -60,9 +60,9 @@ struct rio_info {
60 int RIOBootMode; * RIO boot mode * 60 int RIOBootMode; * RIO boot mode *
61** 61**
62*/ 62*/
63 int RIOPrintDisabled; /* RIO printing disabled ? */ 63 int RIOPrintDisabled; /* RIO printing disabled ? */
64 int RIOPrintLogState; /* RIO printing state ? */ 64 int RIOPrintLogState; /* RIO printing state ? */
65 int RIOPolling; /* Polling ? */ 65 int RIOPolling; /* Polling ? */
66/* 66/*
67** 09.12.1998 ARG - ESIL 0776 part fix 67** 09.12.1998 ARG - ESIL 0776 part fix
68** The 'RIO_QUICK_CHECK' ioctl was using RIOHalted. 68** The 'RIO_QUICK_CHECK' ioctl was using RIOHalted.
@@ -70,61 +70,61 @@ struct rio_info {
70** updated in RIOConCon() - to keep track of RTA connections/disconnections. 70** updated in RIOConCon() - to keep track of RTA connections/disconnections.
71** 'RIO_QUICK_CHECK' now returns the value of RIORtaDisCons. 71** 'RIO_QUICK_CHECK' now returns the value of RIORtaDisCons.
72*/ 72*/
73 int RIOHalted; /* halted ? */ 73 int RIOHalted; /* halted ? */
74 int RIORtaDisCons; /* RTA connections/disconnections */ 74 int RIORtaDisCons; /* RTA connections/disconnections */
75 uint RIOReadCheck; /* Rio read check */ 75 uint RIOReadCheck; /* Rio read check */
76 uint RIONoMessage; /* To display message or not */ 76 uint RIONoMessage; /* To display message or not */
77 uint RIONumBootPkts; /* how many packets for an RTA */ 77 uint RIONumBootPkts; /* how many packets for an RTA */
78 uint RIOBootCount; /* size of RTA code */ 78 uint RIOBootCount; /* size of RTA code */
79 uint RIOBooting; /* count of outstanding boots */ 79 uint RIOBooting; /* count of outstanding boots */
80 uint RIOSystemUp; /* Booted ?? */ 80 uint RIOSystemUp; /* Booted ?? */
81 uint RIOCounting; /* for counting interrupts */ 81 uint RIOCounting; /* for counting interrupts */
82 uint RIOIntCount; /* # of intr since last check */ 82 uint RIOIntCount; /* # of intr since last check */
83 uint RIOTxCount; /* number of xmit intrs */ 83 uint RIOTxCount; /* number of xmit intrs */
84 uint RIORxCount; /* number of rx intrs */ 84 uint RIORxCount; /* number of rx intrs */
85 uint RIORupCount; /* number of rup intrs */ 85 uint RIORupCount; /* number of rup intrs */
86 int RIXTimer; 86 int RIXTimer;
87 int RIOBufferSize; /* Buffersize */ 87 int RIOBufferSize; /* Buffersize */
88 int RIOBufferMask; /* Buffersize */ 88 int RIOBufferMask; /* Buffersize */
89 89
90 int RIOFirstMajor; /* First host card's major no */ 90 int RIOFirstMajor; /* First host card's major no */
91 91
92 uint RIOLastPortsMapped; /* highest port number known */ 92 uint RIOLastPortsMapped; /* highest port number known */
93 uint RIOFirstPortsMapped; /* lowest port number known */ 93 uint RIOFirstPortsMapped; /* lowest port number known */
94 94
95 uint RIOLastPortsBooted; /* highest port number running */ 95 uint RIOLastPortsBooted; /* highest port number running */
96 uint RIOFirstPortsBooted; /* lowest port number running */ 96 uint RIOFirstPortsBooted; /* lowest port number running */
97 97
98 uint RIOLastPortsOpened; /* highest port number running */ 98 uint RIOLastPortsOpened; /* highest port number running */
99 uint RIOFirstPortsOpened; /* lowest port number running */ 99 uint RIOFirstPortsOpened; /* lowest port number running */
100 100
101 /* Flag to say that the topology information has been changed. */ 101 /* Flag to say that the topology information has been changed. */
102 uint RIOQuickCheck; 102 uint RIOQuickCheck;
103 uint CdRegister; /* ??? */ 103 uint CdRegister; /* ??? */
104 int RIOSignalProcess; /* Signalling process */ 104 int RIOSignalProcess; /* Signalling process */
105 int rio_debug; /* To debug ... */ 105 int rio_debug; /* To debug ... */
106 int RIODebugWait; /* For what ??? */ 106 int RIODebugWait; /* For what ??? */
107 int tpri; /* Thread prio */ 107 int tpri; /* Thread prio */
108 int tid; /* Thread id */ 108 int tid; /* Thread id */
109 uint _RIO_Polled; /* Counter for polling */ 109 uint _RIO_Polled; /* Counter for polling */
110 uint _RIO_Interrupted; /* Counter for interrupt */ 110 uint _RIO_Interrupted; /* Counter for interrupt */
111 int intr_tid; /* iointset return value */ 111 int intr_tid; /* iointset return value */
112 int TxEnSem; /* TxEnable Semaphore */ 112 int TxEnSem; /* TxEnable Semaphore */
113 113
114 114
115 struct Error RIOError; /* to Identify what went wrong */ 115 struct Error RIOError; /* to Identify what went wrong */
116 struct Conf RIOConf; /* Configuration ??? */ 116 struct Conf RIOConf; /* Configuration ??? */
117 struct ttystatics channel[RIO_PORTS]; /* channel information */ 117 struct ttystatics channel[RIO_PORTS]; /* channel information */
118 char RIOBootPackets[1+(SIXTY_FOUR_K/RTA_BOOT_DATA_SIZE)] 118 char RIOBootPackets[1 + (SIXTY_FOUR_K / RTA_BOOT_DATA_SIZE)]
119 [RTA_BOOT_DATA_SIZE]; 119 [RTA_BOOT_DATA_SIZE];
120 struct Map RIOConnectTable[TOTAL_MAP_ENTRIES]; 120 struct Map RIOConnectTable[TOTAL_MAP_ENTRIES];
121 struct Map RIOSavedTable[TOTAL_MAP_ENTRIES]; 121 struct Map RIOSavedTable[TOTAL_MAP_ENTRIES];
122 122
123 /* RTA to host binding table for master/slave operation */ 123 /* RTA to host binding table for master/slave operation */
124 ulong RIOBindTab[MAX_RTA_BINDINGS]; 124 ulong RIOBindTab[MAX_RTA_BINDINGS];
125 /* RTA memory dump variable */ 125 /* RTA memory dump variable */
126 uchar RIOMemDump[MEMDUMP_SIZE]; 126 uchar RIOMemDump[MEMDUMP_SIZE];
127 struct ModuleInfo RIOModuleTypes[MAX_MODULE_TYPES]; 127 struct ModuleInfo RIOModuleTypes[MAX_MODULE_TYPES];
128 128
129}; 129};
130 130
@@ -141,4 +141,4 @@ struct rio_info {
141#define WRBYTE(x,y) *(volatile unsigned char *)((x)) = \ 141#define WRBYTE(x,y) *(volatile unsigned char *)((x)) = \
142 (unsigned char)(y) 142 (unsigned char)(y)
143 143
144#endif /* __riodrvr.h */ 144#endif /* __riodrvr.h */