diff options
Diffstat (limited to 'drivers/char/rio/rio.h')
-rw-r--r-- | drivers/char/rio/rio.h | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/drivers/char/rio/rio.h b/drivers/char/rio/rio.h index 13a9931958b1..7f45e1ab5332 100644 --- a/drivers/char/rio/rio.h +++ b/drivers/char/rio/rio.h | |||
@@ -72,8 +72,8 @@ static char *_rio_h_sccs_ = "@(#)rio.h 1.3"; | |||
72 | #define RIO_HOSTS 4 /* number of hosts that can be found */ | 72 | #define RIO_HOSTS 4 /* number of hosts that can be found */ |
73 | #define PORTS_PER_HOST 128 /* number of ports per host */ | 73 | #define PORTS_PER_HOST 128 /* number of ports per host */ |
74 | #define LINKS_PER_UNIT 4 /* number of links from a host */ | 74 | #define LINKS_PER_UNIT 4 /* number of links from a host */ |
75 | #define RIO_PORTS (PORTS_PER_HOST * RIO_HOSTS) /* max. no. of ports */ | 75 | #define RIO_PORTS (PORTS_PER_HOST * RIO_HOSTS) /* max. no. of ports */ |
76 | #define RTAS_PER_HOST (MAX_RUP) /* number of RTAs per host */ | 76 | #define RTAS_PER_HOST (MAX_RUP) /* number of RTAs per host */ |
77 | #define PORTS_PER_RTA (PORTS_PER_HOST/RTAS_PER_HOST) /* ports on a rta */ | 77 | #define PORTS_PER_RTA (PORTS_PER_HOST/RTAS_PER_HOST) /* ports on a rta */ |
78 | #define PORTS_PER_MODULE 4 /* number of ports on a plug-in module */ | 78 | #define PORTS_PER_MODULE 4 /* number of ports on a plug-in module */ |
79 | /* number of modules on an RTA */ | 79 | /* number of modules on an RTA */ |
@@ -216,10 +216,9 @@ static char *_rio_h_sccs_ = "@(#)rio.h 1.3"; | |||
216 | #define RIO_PRI (PZERO+10) | 216 | #define RIO_PRI (PZERO+10) |
217 | #define RIO_CLOSE_PRI PZERO-1 /* uninterruptible sleeps for close */ | 217 | #define RIO_CLOSE_PRI PZERO-1 /* uninterruptible sleeps for close */ |
218 | 218 | ||
219 | typedef struct DbInf | 219 | typedef struct DbInf { |
220 | { | 220 | uint Flag; |
221 | uint Flag; | 221 | char Name[8]; |
222 | char Name[8]; | ||
223 | } DbInf; | 222 | } DbInf; |
224 | 223 | ||
225 | #ifndef TRUE | 224 | #ifndef TRUE |
@@ -251,7 +250,7 @@ typedef struct DbInf | |||
251 | *((uint *)PK) = PP->PacketInfo; \ | 250 | *((uint *)PK) = PP->PacketInfo; \ |
252 | } | 251 | } |
253 | 252 | ||
254 | #define RIO_LINK_ENABLE 0x80FF /* FF is a hack, mainly for Mips, to */ | 253 | #define RIO_LINK_ENABLE 0x80FF /* FF is a hack, mainly for Mips, to */ |
255 | /* prevent a really stupid race condition. */ | 254 | /* prevent a really stupid race condition. */ |
256 | 255 | ||
257 | #define NOT_INITIALISED 0 | 256 | #define NOT_INITIALISED 0 |
@@ -291,4 +290,4 @@ typedef struct DbInf | |||
291 | #define DIST_LINESW_OUTPUT 0x40 | 290 | #define DIST_LINESW_OUTPUT 0x40 |
292 | #define DIST_LINESW_MDMINT 0x80 | 291 | #define DIST_LINESW_MDMINT 0x80 |
293 | 292 | ||
294 | #endif /* __rio_h__ */ | 293 | #endif /* __rio_h__ */ |