src/emu/machine/ins8154.c
| r7444 | r7445 | |
| 1 | | /***************************************************************************** |
| 2 | | * |
| 3 | | * machine/ins8154.h |
| 4 | | * |
| 5 | | * INS8154 N-Channel 128-by-8 Bit RAM Input/Output (RAM I/O) |
| 6 | | * |
| 7 | | * Written by Dirk Best, January 2008 |
| 8 | | * |
| 9 | | * TODO: Strobed modes |
| 10 | | * |
| 11 | | ****************************************************************************/ |
| 1 | /*************************************************************************** |
| 12 | 2 | |
| 3 | National Semiconductor INS8154 |
| 4 | |
| 5 | N-Channel 128-by-8 Bit RAM Input/Output (RAM I/O) |
| 6 | |
| 7 | |
| 8 | TODO: Strobed modes |
| 9 | |
| 10 | ***************************************************************************/ |
| 11 | |
| 13 | 12 | #include "emu.h" |
| 14 | 13 | #include "ins8154.h" |
| 15 | 14 | |
| 16 | 15 | |
| 16 | /*************************************************************************** |
| 17 | CONSTANTS |
| 18 | ***************************************************************************/ |
| 19 | |
| 17 | 20 | #define VERBOSE 1 |
| 18 | | #define LOG(x) do { if (VERBOSE) logerror x; } while (0) |
| 19 | 21 | |
| 20 | | |
| 21 | 22 | /* Mode Definition Register */ |
| 22 | 23 | enum |
| 23 | 24 | { |
| r7444 | r7445 | |
| 27 | 28 | MDR_STROBED_OUTPUT_3STATE = 0xe0 |
| 28 | 29 | }; |
| 29 | 30 | |
| 30 | | typedef struct _ins8154_t ins8154_t; |
| 31 | | struct _ins8154_t |
| 31 | |
| 32 | /*************************************************************************** |
| 33 | TYPE DEFINITIONS |
| 34 | ***************************************************************************/ |
| 35 | |
| 36 | typedef struct _ins8154_state ins8154_state; |
| 37 | struct _ins8154_state |
| 32 | 38 | { |
| 33 | | const ins8154_interface *intf; /* Pointer to our interface */ |
| 39 | /* i/o lines */ |
| 40 | devcb_resolved_read8 in_a_func; |
| 41 | devcb_resolved_write8 out_a_func; |
| 42 | devcb_resolved_read8 in_b_func; |
| 43 | devcb_resolved_write8 out_b_func; |
| 44 | devcb_resolved_write_line out_irq_func; |
| 34 | 45 | |
| 46 | /* registers */ |
| 35 | 47 | UINT8 in_a; /* Input Latch Port A */ |
| 36 | 48 | UINT8 in_b; /* Input Latch Port B */ |
| 37 | 49 | UINT8 out_a; /* Output Latch Port A */ |
| r7444 | r7445 | |
| 42 | 54 | }; |
| 43 | 55 | |
| 44 | 56 | |
| 45 | | static DEVICE_START( ins8154 ) |
| 57 | /***************************************************************************** |
| 58 | INLINE FUNCTIONS |
| 59 | *****************************************************************************/ |
| 60 | |
| 61 | INLINE ins8154_state *get_safe_token(running_device *device) |
| 46 | 62 | { |
| 47 | | ins8154_t *ins8154 = (ins8154_t *)device->token; |
| 63 | assert(device != NULL); |
| 64 | assert(device->token != NULL); |
| 65 | assert(device->type == INS8154); |
| 48 | 66 | |
| 49 | | /* validate arguments */ |
| 50 | | assert(device->tag != NULL); |
| 51 | | |
| 52 | | /* assign interface */ |
| 53 | | ins8154->intf = (const ins8154_interface*)device->baseconfig().static_config; |
| 54 | | |
| 55 | | /* register for state saving */ |
| 56 | | state_save_register_item(device->machine, "ins8154", device->tag, 0, ins8154->in_a); |
| 57 | | state_save_register_item(device->machine, "ins8154", device->tag, 0, ins8154->in_b); |
| 58 | | state_save_register_item(device->machine, "ins8154", device->tag, 0, ins8154->out_a); |
| 59 | | state_save_register_item(device->machine, "ins8154", device->tag, 0, ins8154->out_b); |
| 60 | | state_save_register_item(device->machine, "ins8154", device->tag, 0, ins8154->mdr); |
| 61 | | state_save_register_item(device->machine, "ins8154", device->tag, 0, ins8154->odra); |
| 62 | | state_save_register_item(device->machine, "ins8154", device->tag, 0, ins8154->odrb); |
| 67 | return (ins8154_state *)device->token; |
| 63 | 68 | } |
| 64 | 69 | |
| 65 | 70 | |
| 66 | | static DEVICE_RESET( ins8154 ) |
| 67 | | { |
| 68 | | ins8154_t *ins8154 = (ins8154_t *)device->token; |
| 71 | /*************************************************************************** |
| 72 | IMPLEMENTATION |
| 73 | ***************************************************************************/ |
| 69 | 74 | |
| 70 | | ins8154->in_a = 0; |
| 71 | | ins8154->in_b = 0; |
| 72 | | ins8154->out_a = 0; |
| 73 | | ins8154->out_b = 0; |
| 74 | | ins8154->mdr = 0; |
| 75 | | ins8154->odra = 0; |
| 76 | | ins8154->odrb = 0; |
| 77 | | } |
| 78 | | |
| 79 | | |
| 80 | 75 | READ8_DEVICE_HANDLER( ins8154_r ) |
| 81 | 76 | { |
| 82 | | ins8154_t *i = (ins8154_t *)device->token; |
| 77 | ins8154_state *ins8154 = get_safe_token(device); |
| 83 | 78 | UINT8 val = 0xff; |
| 84 | 79 | |
| 85 | 80 | if (offset > 0x24) |
| 86 | 81 | { |
| 87 | | logerror("INS8154 (%08x): Read from unknown offset %02x!\n", |
| 88 | | cpu_get_pc( device->machine->firstcpu ), offset); |
| 82 | if (VERBOSE) |
| 83 | logerror("%s: INS8154 '%s' Read from invalid offset %02x!\n", cpuexec_describe_context(device->machine), device->tag.cstr(), offset); |
| 89 | 84 | return 0xff; |
| 90 | 85 | } |
| 91 | 86 | |
| 92 | 87 | switch (offset) |
| 93 | 88 | { |
| 94 | 89 | case 0x20: |
| 95 | | if (i->intf->in_a_func) |
| 96 | | val = i->intf->in_a_func(device, 0); |
| 97 | | i->in_a = val; |
| 90 | if (ins8154->in_a_func.read != NULL) |
| 91 | val = devcb_call_read8(&ins8154->in_a_func, 0); |
| 92 | ins8154->in_a = val; |
| 98 | 93 | break; |
| 99 | 94 | |
| 100 | 95 | case 0x21: |
| 101 | | if (i->intf->in_b_func) |
| 102 | | val = i->intf->in_b_func(device, 0); |
| 103 | | i->in_b = val; |
| 96 | if (ins8154->in_b_func.read != NULL) |
| 97 | val = devcb_call_read8(&ins8154->in_b_func, 0); |
| 98 | ins8154->in_b = val; |
| 104 | 99 | break; |
| 105 | 100 | |
| 106 | 101 | default: |
| 107 | 102 | if (offset < 0x08) |
| 108 | 103 | { |
| 109 | | if (i->intf->in_a_func) |
| 110 | | val = (i->intf->in_a_func(device, 0) << (8 - offset)) & 0x80; |
| 111 | | i->in_a = val; |
| 104 | if (ins8154->in_a_func.read != NULL) |
| 105 | val = (devcb_call_read8(&ins8154->in_a_func, 0) << (8 - offset)) & 0x80; |
| 106 | ins8154->in_a = val; |
| 112 | 107 | } |
| 113 | 108 | else |
| 114 | 109 | { |
| 115 | | if (i->intf->in_a_func) |
| 116 | | val = (i->intf->in_a_func(device, 0) << (8 - (offset >> 4))) & 0x80; |
| 117 | | i->in_b = val; |
| 110 | if (ins8154->in_b_func.read != NULL) |
| 111 | val = (devcb_call_read8(&ins8154->in_b_func, 0) << (8 - (offset >> 4))) & 0x80; |
| 112 | ins8154->in_b = val; |
| 118 | 113 | } |
| 119 | 114 | break; |
| 120 | 115 | } |
| r7444 | r7445 | |
| 124 | 119 | |
| 125 | 120 | WRITE8_DEVICE_HANDLER( ins8154_porta_w ) |
| 126 | 121 | { |
| 127 | | ins8154_t *i = (ins8154_t *)device->token; |
| 122 | ins8154_state *ins8154 = get_safe_token(device); |
| 128 | 123 | |
| 129 | | i->out_a = data; |
| 124 | ins8154->out_a = data; |
| 130 | 125 | |
| 131 | 126 | /* Test if any pins are set as outputs */ |
| 132 | | if (i->odra) |
| 133 | | { |
| 134 | | if (i->intf->out_a_func) |
| 135 | | i->intf->out_a_func(device, 0, (data & i->odra) | (i->odra ^ 0xff)); |
| 136 | | else |
| 137 | | logerror("INS8154 (%08x): Write to port A but no write handler defined!\n", |
| 138 | | cpu_get_pc( device->machine->firstcpu ) ); |
| 139 | | } |
| 127 | if (ins8154->odra) |
| 128 | devcb_call_write8(&ins8154->out_a_func, 0, (data & ins8154->odra) | (ins8154->odra ^ 0xff)); |
| 140 | 129 | } |
| 141 | 130 | |
| 142 | | |
| 143 | 131 | WRITE8_DEVICE_HANDLER( ins8154_portb_w ) |
| 144 | 132 | { |
| 145 | | ins8154_t *i = (ins8154_t *)device->token; |
| 133 | ins8154_state *ins8154 = get_safe_token(device); |
| 146 | 134 | |
| 147 | | i->out_b = data; |
| 135 | ins8154->out_b = data; |
| 148 | 136 | |
| 149 | 137 | /* Test if any pins are set as outputs */ |
| 150 | | if (i->odrb) |
| 151 | | { |
| 152 | | if (i->intf->out_b_func) |
| 153 | | i->intf->out_b_func(device, 0, (data & i->odrb) | (i->odrb ^ 0xff)); |
| 154 | | else |
| 155 | | logerror("INS8154 (%08x): Write to port B but no write handler defined!\n", |
| 156 | | cpu_get_pc( device->machine->firstcpu ) ); |
| 157 | | } |
| 138 | if (ins8154->odrb) |
| 139 | devcb_call_write8(&ins8154->out_b_func, 0, (data & ins8154->odrb) | (ins8154->odrb ^ 0xff)); |
| 158 | 140 | } |
| 159 | 141 | |
| 160 | | |
| 161 | 142 | WRITE8_DEVICE_HANDLER( ins8154_w ) |
| 162 | 143 | { |
| 163 | | ins8154_t *i = (ins8154_t *)device->token; |
| 144 | ins8154_state *ins8154 = get_safe_token(device); |
| 164 | 145 | |
| 165 | 146 | if (offset > 0x24) |
| 166 | 147 | { |
| 167 | | logerror("INS8154 (%04x): Write %02x to invalid offset %02x!\n", |
| 168 | | cpu_get_pc( device->machine->firstcpu ), data, offset); |
| 148 | if (VERBOSE) |
| 149 | logerror("%s: INS8154 '%s' Write %02x to invalid offset %02x!\n", cpuexec_describe_context(device->machine), device->tag.cstr(), data, offset); |
| 169 | 150 | return; |
| 170 | 151 | } |
| 171 | 152 | |
| r7444 | r7445 | |
| 180 | 161 | break; |
| 181 | 162 | |
| 182 | 163 | case 0x22: |
| 183 | | LOG(("INS8154 (%04x): ODR for port A set to %02x\n", |
| 184 | | cpu_get_pc( device->machine->firstcpu ), data)); |
| 185 | | i->odra = data; |
| 164 | if (VERBOSE) |
| 165 | logerror("%s: INS8154 '%s' ODRA set to %02x\n", cpuexec_describe_context(device->machine), device->tag.cstr(), data); |
| 166 | |
| 167 | ins8154->odra = data; |
| 186 | 168 | break; |
| 187 | 169 | |
| 188 | 170 | case 0x23: |
| 189 | | LOG(("INS8154 (%04x): ODR for port B set to %02x\n", |
| 190 | | cpu_get_pc( device->machine->firstcpu ), data)); |
| 191 | | i->odrb = data; |
| 171 | if (VERBOSE) |
| 172 | logerror("%s: INS8154 '%s' ODRB set to %02x\n", cpuexec_describe_context(device->machine), device->tag.cstr(), data); |
| 173 | |
| 174 | ins8154->odrb = data; |
| 192 | 175 | break; |
| 193 | 176 | |
| 194 | 177 | case 0x24: |
| 195 | | LOG(("INS8154 (%04x): MDR set to %02x\n", |
| 196 | | cpu_get_pc( device->machine->firstcpu ), data)); |
| 197 | | i->mdr = data; |
| 178 | if (VERBOSE) |
| 179 | logerror("%s: INS8154 '%s' MDR set to %02x\n", cpuexec_describe_context(device->machine), device->tag.cstr(), data); |
| 180 | |
| 181 | ins8154->mdr = data; |
| 198 | 182 | break; |
| 199 | 183 | |
| 200 | 184 | default: |
| r7444 | r7445 | |
| 203 | 187 | /* Set bit */ |
| 204 | 188 | if (offset < 0x08) |
| 205 | 189 | { |
| 206 | | ins8154_porta_w(device, 0, i->out_a |= offset & 0x07); |
| 190 | ins8154_porta_w(device, 0, ins8154->out_a |= offset & 0x07); |
| 207 | 191 | } |
| 208 | 192 | else |
| 209 | 193 | { |
| 210 | | ins8154_portb_w(device, 0, i->out_b |= (offset >> 4) & 0x07); |
| 194 | ins8154_portb_w(device, 0, ins8154->out_b |= (offset >> 4) & 0x07); |
| 211 | 195 | } |
| 212 | 196 | } |
| 213 | 197 | else |
| r7444 | r7445 | |
| 215 | 199 | /* Clear bit */ |
| 216 | 200 | if (offset < 0x08) |
| 217 | 201 | { |
| 218 | | ins8154_porta_w(device, 0, i->out_a & ~(offset & 0x07)); |
| 202 | ins8154_porta_w(device, 0, ins8154->out_a & ~(offset & 0x07)); |
| 219 | 203 | } |
| 220 | 204 | else |
| 221 | 205 | { |
| 222 | | ins8154_portb_w(device, 0, i->out_b & ~((offset >> 4) & 0x07)); |
| 206 | ins8154_portb_w(device, 0, ins8154->out_b & ~((offset >> 4) & 0x07)); |
| 223 | 207 | } |
| 224 | 208 | } |
| 225 | 209 | |
| r7444 | r7445 | |
| 228 | 212 | } |
| 229 | 213 | |
| 230 | 214 | |
| 231 | | DEVICE_GET_INFO( ins8154 ) |
| 215 | /***************************************************************************** |
| 216 | DEVICE INTERFACE |
| 217 | *****************************************************************************/ |
| 218 | |
| 219 | static DEVICE_START( ins8154 ) |
| 232 | 220 | { |
| 233 | | switch (state) |
| 234 | | { |
| 235 | | /* --- the following bits of info are returned as 64-bit signed integers --- */ |
| 236 | | case DEVINFO_INT_INLINE_CONFIG_BYTES: info->i = 0; break; |
| 237 | | case DEVINFO_INT_CLASS: info->i = DEVICE_CLASS_PERIPHERAL; break; |
| 238 | | case DEVINFO_INT_TOKEN_BYTES: info->i = sizeof(ins8154_t); break; |
| 221 | ins8154_state *ins8154 = get_safe_token(device); |
| 222 | const ins8154_interface *intf = (const ins8154_interface *)device->baseconfig().static_config; |
| 239 | 223 | |
| 240 | | /* --- the following bits of info are returned as pointers to data or functions --- */ |
| 241 | | case DEVINFO_FCT_START: info->start = DEVICE_START_NAME(ins8154); break; |
| 242 | | case DEVINFO_FCT_STOP: /* Nothing */ break; |
| 243 | | case DEVINFO_FCT_RESET: info->reset = DEVICE_RESET_NAME(ins8154); break; |
| 224 | /* validate some basic stuff */ |
| 225 | assert(intf != NULL); |
| 244 | 226 | |
| 245 | | /* --- the following bits of info are returned as NULL-terminated strings --- */ |
| 246 | | case DEVINFO_STR_NAME: strcpy(info->s, "National Semiconductor INS8154"); break; |
| 247 | | case DEVINFO_STR_FAMILY: strcpy(info->s, "INS8154"); break; |
| 248 | | case DEVINFO_STR_VERSION: strcpy(info->s, "1.0"); break; |
| 249 | | case DEVINFO_STR_SOURCE_FILE: strcpy(info->s, __FILE__); break; |
| 250 | | case DEVINFO_STR_CREDITS: strcpy(info->s, "Copyright MESS Team"); break; |
| 251 | | } |
| 227 | /* resolve callbacks */ |
| 228 | devcb_resolve_read8(&ins8154->in_a_func, &intf->in_a_func, device); |
| 229 | devcb_resolve_write8(&ins8154->out_a_func, &intf->out_a_func, device); |
| 230 | devcb_resolve_read8(&ins8154->in_b_func, &intf->in_b_func, device); |
| 231 | devcb_resolve_write8(&ins8154->out_b_func, &intf->out_b_func, device); |
| 232 | devcb_resolve_write_line(&ins8154->out_irq_func, &intf->out_irq_func, device); |
| 233 | |
| 234 | /* register for state saving */ |
| 235 | state_save_register_item(device->machine, "ins8154", device->tag, 0, ins8154->in_a); |
| 236 | state_save_register_item(device->machine, "ins8154", device->tag, 0, ins8154->in_b); |
| 237 | state_save_register_item(device->machine, "ins8154", device->tag, 0, ins8154->out_a); |
| 238 | state_save_register_item(device->machine, "ins8154", device->tag, 0, ins8154->out_b); |
| 239 | state_save_register_item(device->machine, "ins8154", device->tag, 0, ins8154->mdr); |
| 240 | state_save_register_item(device->machine, "ins8154", device->tag, 0, ins8154->odra); |
| 241 | state_save_register_item(device->machine, "ins8154", device->tag, 0, ins8154->odrb); |
| 252 | 242 | } |
| 243 | |
| 244 | static DEVICE_RESET( ins8154 ) |
| 245 | { |
| 246 | ins8154_state *ins8154 = get_safe_token(device); |
| 247 | |
| 248 | ins8154->in_a = 0; |
| 249 | ins8154->in_b = 0; |
| 250 | ins8154->out_a = 0; |
| 251 | ins8154->out_b = 0; |
| 252 | ins8154->mdr = 0; |
| 253 | ins8154->odra = 0; |
| 254 | ins8154->odrb = 0; |
| 255 | } |
| 256 | |
| 257 | |
| 258 | /*************************************************************************** |
| 259 | DEVICE GETINFO |
| 260 | ***************************************************************************/ |
| 261 | |
| 262 | static const char DEVTEMPLATE_SOURCE[] = __FILE__; |
| 263 | |
| 264 | #define DEVTEMPLATE_ID(p,s) p##ins8154##s |
| 265 | #define DEVTEMPLATE_FEATURES DT_HAS_START | DT_HAS_RESET |
| 266 | #define DEVTEMPLATE_NAME "INS8154" |
| 267 | #define DEVTEMPLATE_FAMILY "INS8154" |
| 268 | #define DEVTEMPLATE_VERSION "1.1" |
| 269 | #define DEVTEMPLATE_CREDITS "Copyright MESS Team" |
| 270 | #include "devtempl.h" |
src/emu/machine/ins8154.h
| r7444 | r7445 | |
| 1 | | /***************************************************************************** |
| 2 | | * |
| 3 | | * machine/ins8154.h |
| 4 | | * |
| 5 | | * INS8154 N-Channel 128-by-8 Bit RAM Input/Output (RAM I/O) |
| 6 | | * |
| 7 | | ****************************************************************************/ |
| 1 | /*************************************************************************** |
| 8 | 2 | |
| 9 | | #ifndef INS8154_H_ |
| 10 | | #define INS8154_H_ |
| 3 | National Semiconductor INS8154 |
| 11 | 4 | |
| 12 | | /*************************************************************************** |
| 13 | | MACROS |
| 5 | N-Channel 128-by-8 Bit RAM Input/Output (RAM I/O) |
| 6 | |
| 7 | _____ _____ |
| 8 | PB6 1 |* \_/ | 40 VCC |
| 9 | PB5 2 | | 39 PB7 |
| 10 | PB4 3 | | 38 NWDS |
| 11 | PB3 4 | | 37 NRDS |
| 12 | PB2 5 | | 36 NRST |
| 13 | PB1 6 | | 35 _CS0 |
| 14 | PB0 7 | | 34 CS1 |
| 15 | DB7 8 | | 33 M/_IO |
| 16 | DB6 9 | | 32 AD6 |
| 17 | DB5 10 | INS8154 | 31 AD5 |
| 18 | DB4 11 | | 30 AD4 |
| 19 | DB3 12 | | 29 AD3 |
| 20 | DB2 13 | | 28 AD2 |
| 21 | DB1 14 | | 27 AD1 |
| 22 | DB0 15 | | 26 AD0 |
| 23 | PA7 16 | | 25 INTR |
| 24 | PA6 17 | | 24 PA0 |
| 25 | PA5 18 | | 23 PA1 |
| 26 | PA4 19 | | 22 PA2 |
| 27 | GND 20 |_____________| 21 PA3 |
| 28 | |
| 14 | 29 | ***************************************************************************/ |
| 15 | 30 | |
| 16 | | #define INS8154 DEVICE_GET_INFO_NAME(ins8154) |
| 31 | #ifndef __INS8154_H__ |
| 32 | #define __INS8154_H__ |
| 17 | 33 | |
| 34 | #include "devcb.h" |
| 35 | |
| 36 | |
| 18 | 37 | /*************************************************************************** |
| 19 | 38 | TYPE DEFINITIONS |
| 20 | 39 | ***************************************************************************/ |
| 21 | 40 | |
| 22 | | typedef void (*ins8154_irq_func)(running_device *device, int state); |
| 23 | | #define INS8154_IRQ(name) void name(running_device *device, int state ) |
| 24 | | |
| 25 | | /******************* Interface **********************************************/ |
| 26 | | |
| 27 | 41 | typedef struct _ins8154_interface ins8154_interface; |
| 28 | | |
| 29 | 42 | struct _ins8154_interface |
| 30 | 43 | { |
| 31 | | read8_device_func in_a_func; |
| 32 | | read8_device_func in_b_func; |
| 33 | | write8_device_func out_a_func; |
| 34 | | write8_device_func out_b_func; |
| 35 | | ins8154_irq_func irq_func; |
| 44 | devcb_read8 in_a_func; |
| 45 | devcb_write8 out_a_func; |
| 46 | devcb_read8 in_b_func; |
| 47 | devcb_write8 out_b_func; |
| 48 | devcb_write_line out_irq_func; |
| 36 | 49 | }; |
| 37 | 50 | |
| 38 | | DEVICE_GET_INFO( ins8154 ); |
| 39 | 51 | |
| 52 | /*************************************************************************** |
| 53 | FUNCTION PROTOTYPES |
| 54 | ***************************************************************************/ |
| 40 | 55 | |
| 41 | | /******************* Standard 8-bit CPU interfaces, D0-D7 *******************/ |
| 56 | DEVICE_GET_INFO( ins8154 ); |
| 42 | 57 | |
| 43 | 58 | READ8_DEVICE_HANDLER( ins8154_r ); |
| 44 | 59 | WRITE8_DEVICE_HANDLER( ins8154_w ); |
| 45 | 60 | |
| 46 | | |
| 47 | | /******************* 8-bit A/B port interfaces ******************************/ |
| 48 | | |
| 49 | 61 | WRITE8_DEVICE_HANDLER( ins8154_porta_w ); |
| 50 | 62 | WRITE8_DEVICE_HANDLER( ins8154_portb_w ); |
| 51 | 63 | |
| 64 | |
| 52 | 65 | /*************************************************************************** |
| 53 | 66 | DEVICE CONFIGURATION MACROS |
| 54 | 67 | ***************************************************************************/ |
| 55 | 68 | |
| 69 | #define INS8154 DEVICE_GET_INFO_NAME(ins8154) |
| 70 | |
| 56 | 71 | #define MDRV_INS8154_ADD(_tag, _intrf) \ |
| 57 | 72 | MDRV_DEVICE_ADD(_tag, INS8154, 0) \ |
| 58 | 73 | MDRV_DEVICE_CONFIG(_intrf) |
| 59 | 74 | |
| 60 | | #endif /* INS8154_H_ */ |
| 75 | |
| 76 | #endif /* __INS8154_H__ */ |