diff options
Diffstat (limited to 'drivers/char/rio/parmmap.h')
-rw-r--r-- | drivers/char/rio/parmmap.h | 79 |
1 files changed, 38 insertions, 41 deletions
diff --git a/drivers/char/rio/parmmap.h b/drivers/char/rio/parmmap.h index 46f99dfdac8d..fe4e00567065 100644 --- a/drivers/char/rio/parmmap.h +++ b/drivers/char/rio/parmmap.h | |||
@@ -44,53 +44,50 @@ | |||
44 | #endif | 44 | #endif |
45 | #endif | 45 | #endif |
46 | 46 | ||
47 | typedef struct PARM_MAP PARM_MAP ; | 47 | typedef struct PARM_MAP PARM_MAP; |
48 | 48 | ||
49 | struct PARM_MAP | 49 | struct PARM_MAP { |
50 | { | 50 | PHB_ptr phb_ptr; /* Pointer to the PHB array */ |
51 | PHB_ptr phb_ptr ; /* Pointer to the PHB array */ | 51 | WORD_ptr phb_num_ptr; /* Ptr to Number of PHB's */ |
52 | WORD_ptr phb_num_ptr ; /* Ptr to Number of PHB's */ | 52 | FREE_LIST_ptr free_list; /* Free List pointer */ |
53 | FREE_LIST_ptr free_list; /* Free List pointer */ | 53 | FREE_LIST_ptr free_list_end; /* Free List End pointer */ |
54 | FREE_LIST_ptr free_list_end; /* Free List End pointer */ | 54 | Q_BUF_ptr_ptr q_free_list_ptr; /* Ptr to Q_BUF variable */ |
55 | Q_BUF_ptr_ptr q_free_list_ptr ; /* Ptr to Q_BUF variable */ | 55 | BYTE_ptr unit_id_ptr; /* Unit Id */ |
56 | BYTE_ptr unit_id_ptr ; /* Unit Id */ | 56 | LPB_ptr link_str_ptr; /* Link Structure Array */ |
57 | LPB_ptr link_str_ptr ; /* Link Structure Array */ | 57 | BYTE_ptr bootloader_1; /* 1st Stage Boot Loader */ |
58 | BYTE_ptr bootloader_1 ; /* 1st Stage Boot Loader */ | 58 | BYTE_ptr bootloader_2; /* 2nd Stage Boot Loader */ |
59 | BYTE_ptr bootloader_2 ; /* 2nd Stage Boot Loader */ | 59 | WORD_ptr port_route_map_ptr; /* Port Route Map */ |
60 | WORD_ptr port_route_map_ptr ; /* Port Route Map */ | 60 | ROUTE_STR_ptr route_ptr; /* Unit Route Map */ |
61 | ROUTE_STR_ptr route_ptr ; /* Unit Route Map */ | 61 | NUMBER_ptr map_present; /* Route Map present */ |
62 | NUMBER_ptr map_present ; /* Route Map present */ | 62 | NUMBER pkt_num; /* Total number of packets */ |
63 | NUMBER pkt_num ; /* Total number of packets */ | 63 | NUMBER q_num; /* Total number of Q packets */ |
64 | NUMBER q_num ; /* Total number of Q packets */ | 64 | WORD buffers_per_port; /* Number of buffers per port */ |
65 | WORD buffers_per_port ; /* Number of buffers per port */ | 65 | WORD heap_size; /* Initial size of heap */ |
66 | WORD heap_size ; /* Initial size of heap */ | 66 | WORD heap_left; /* Current Heap left */ |
67 | WORD heap_left ; /* Current Heap left */ | 67 | WORD error; /* Error code */ |
68 | WORD error ; /* Error code */ | 68 | WORD tx_max; /* Max number of tx pkts per phb */ |
69 | WORD tx_max; /* Max number of tx pkts per phb */ | 69 | WORD rx_max; /* Max number of rx pkts per phb */ |
70 | WORD rx_max; /* Max number of rx pkts per phb */ | 70 | WORD rx_limit; /* For high / low watermarks */ |
71 | WORD rx_limit; /* For high / low watermarks */ | 71 | NUMBER links; /* Links to use */ |
72 | NUMBER links ; /* Links to use */ | 72 | NUMBER timer; /* Interrupts per second */ |
73 | NUMBER timer ; /* Interrupts per second */ | 73 | RUP_ptr rups; /* Pointer to the RUPs */ |
74 | RUP_ptr rups ; /* Pointer to the RUPs */ | 74 | WORD max_phb; /* Mostly for debugging */ |
75 | WORD max_phb ; /* Mostly for debugging */ | 75 | WORD living; /* Just increments!! */ |
76 | WORD living ; /* Just increments!! */ | 76 | WORD init_done; /* Initialisation over */ |
77 | WORD init_done ; /* Initialisation over */ | 77 | WORD booting_link; |
78 | WORD booting_link ; | 78 | WORD idle_count; /* Idle time counter */ |
79 | WORD idle_count ; /* Idle time counter */ | 79 | WORD busy_count; /* Busy counter */ |
80 | WORD busy_count ; /* Busy counter */ | 80 | WORD idle_control; /* Control Idle Process */ |
81 | WORD idle_control ; /* Control Idle Process */ | ||
82 | #if defined(HOST) || defined(INKERNEL) | 81 | #if defined(HOST) || defined(INKERNEL) |
83 | WORD tx_intr; /* TX interrupt pending */ | 82 | WORD tx_intr; /* TX interrupt pending */ |
84 | WORD rx_intr; /* RX interrupt pending */ | 83 | WORD rx_intr; /* RX interrupt pending */ |
85 | WORD rup_intr; /* RUP interrupt pending */ | 84 | WORD rup_intr; /* RUP interrupt pending */ |
86 | #endif | 85 | #endif |
87 | #if defined(RTA) | 86 | #if defined(RTA) |
88 | WORD dying_count; /* Count of processes dead */ | 87 | WORD dying_count; /* Count of processes dead */ |
89 | #endif | 88 | #endif |
90 | } ; | 89 | }; |
91 | 90 | ||
92 | #endif | 91 | #endif |
93 | 92 | ||
94 | /*********** end of file ***********/ | 93 | /*********** end of file ***********/ |
95 | |||
96 | |||