aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/char/rio/map.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/map.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/map.h')
-rw-r--r--drivers/char/rio/map.h27
1 files changed, 13 insertions, 14 deletions
diff --git a/drivers/char/rio/map.h b/drivers/char/rio/map.h
index 400645a1ff28..97fe287aab2a 100644
--- a/drivers/char/rio/map.h
+++ b/drivers/char/rio/map.h
@@ -46,21 +46,20 @@ static char *_map_h_sccs_ = "@(#)map.h 1.2";
46#define TOTAL_MAP_ENTRIES (MAX_MAP_ENTRY*RIO_SLOTS) 46#define TOTAL_MAP_ENTRIES (MAX_MAP_ENTRY*RIO_SLOTS)
47#define MAX_NAME_LEN 32 47#define MAX_NAME_LEN 32
48 48
49struct Map 49struct Map {
50{ 50 uint HostUniqueNum; /* Supporting hosts unique number */
51 uint HostUniqueNum; /* Supporting hosts unique number */ 51 uint RtaUniqueNum; /* Unique number */
52 uint RtaUniqueNum; /* Unique number */
53 /* 52 /*
54 ** The next two IDs must be swapped on big-endian architectures 53 ** The next two IDs must be swapped on big-endian architectures
55 ** when using a v2.04 /etc/rio/config with a v3.00 driver (when 54 ** when using a v2.04 /etc/rio/config with a v3.00 driver (when
56 ** upgrading for example). 55 ** upgrading for example).
57 */ 56 */
58 ushort ID; /* ID used in the subnet */ 57 ushort ID; /* ID used in the subnet */
59 ushort ID2; /* ID of 2nd block of 8 for 16 port */ 58 ushort ID2; /* ID of 2nd block of 8 for 16 port */
60 ulong Flags; /* Booted, ID Given, Disconnected */ 59 ulong Flags; /* Booted, ID Given, Disconnected */
61 ulong SysPort; /* First tty mapped to this port */ 60 ulong SysPort; /* First tty mapped to this port */
62 struct Top Topology[LINKS_PER_UNIT]; /* ID connected to each link */ 61 struct Top Topology[LINKS_PER_UNIT]; /* ID connected to each link */
63 char Name[MAX_NAME_LEN]; /* Cute name by which RTA is known */ 62 char Name[MAX_NAME_LEN]; /* Cute name by which RTA is known */
64}; 63};
65 64
66/* 65/*