trunk/src/emu/bus/amiga/zorro/zorro.c
r32501 | r32502 | |
150 | 150 | } |
151 | 151 | |
152 | 152 | //------------------------------------------------- |
| 153 | // device_reset - device-specific reset |
| 154 | //------------------------------------------------- |
| 155 | |
| 156 | void exp_slot_device::device_reset() |
| 157 | { |
| 158 | // if we have a device, start the autoconfig chain |
| 159 | if (m_dev) |
| 160 | m_dev->cfgin_w(0); |
| 161 | } |
| 162 | |
| 163 | //------------------------------------------------- |
153 | 164 | // add_card - add new card to our bus |
154 | 165 | //------------------------------------------------- |
155 | 166 | |
trunk/src/emu/bus/amiga/zorro/zorro.h
r32501 | r32502 | |
318 | 318 | protected: |
319 | 319 | // device-level overrides |
320 | 320 | virtual void device_start(); |
| 321 | virtual void device_reset(); |
321 | 322 | |
322 | 323 | private: |
323 | 324 | devcb_write8 m_ipl_handler; |
r32501 | r32502 | |
348 | 349 | template<class _Object> static devcb_base &set_eint7_handler(device_t &device, _Object object) |
349 | 350 | { return downcast<zorro2_device &>(device).m_eint7_handler.set_callback(object); } |
350 | 351 | |
351 | | // device-level overrides |
352 | | virtual void device_reset(); |
353 | | |
354 | 352 | // the zorro2 bus supports multiple cards |
355 | 353 | virtual void add_card(device_zorro_card_interface *card); |
356 | 354 | |
r32501 | r32502 | |
368 | 366 | protected: |
369 | 367 | // device-level overrides |
370 | 368 | virtual void device_start(); |
| 369 | virtual void device_reset(); |
371 | 370 | |
372 | 371 | private: |
373 | 372 | devcb_write_line m_eint1_handler; |