diff options
Diffstat (limited to 'drivers/char/rio/map.h')
-rw-r--r-- | drivers/char/rio/map.h | 27 |
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 | ||
49 | struct Map | 49 | struct 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 | /* |