summaryrefslogtreecommitdiffstats
path: root/src/mame/drivers/iteagle.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/iteagle.cpp')
-rw-r--r--src/mame/drivers/iteagle.cpp16
1 files changed, 7 insertions, 9 deletions
diff --git a/src/mame/drivers/iteagle.cpp b/src/mame/drivers/iteagle.cpp
index 663fc550d03..343e3c43426 100644
--- a/src/mame/drivers/iteagle.cpp
+++ b/src/mame/drivers/iteagle.cpp
@@ -173,15 +173,13 @@ MACHINE_CONFIG_START(iteagle_state::iteagle)
MCFG_DEVICE_ADD(PCI_ID_NILE, VRC4373, 0, m_maincpu)
MCFG_VRC4373_SET_RAM(0x00800000)
MCFG_VRC4373_SET_SIMM0(0x02000000)
- MCFG_DEVICE_ADD( PCI_ID_PERIPH, ITEAGLE_PERIPH, 0)
- MCFG_DEVICE_ADD( PCI_ID_IDE, IDE_PCI, 0, 0x1080C693, 0x00, 0x0)
- MCFG_IDE_PCI_IRQ_HANDLER( INPUTLINE(m_maincpu, MIPS3_IRQ2))
-
- MCFG_DEVICE_ADD( PCI_ID_FPGA, ITEAGLE_FPGA, 0, "screen", m_maincpu, MIPS3_IRQ1, MIPS3_IRQ4)
- MCFG_DEVICE_ADD( PCI_ID_SOUND, ES1373, 0)
- MCFG_SOUND_ROUTE(0, PCI_ID_SOUND":lspeaker", 1.0)
- MCFG_SOUND_ROUTE(1, PCI_ID_SOUND":rspeaker", 1.0)
- MCFG_ES1373_IRQ_HANDLER( INPUTLINE(m_maincpu, MIPS3_IRQ3))
+ ITEAGLE_PERIPH(config, PCI_ID_PERIPH, 0);
+ IDE_PCI(config, PCI_ID_IDE, 0, 0x1080C693, 0x00, 0x0).irq_handler().set_inputline(m_maincpu, MIPS3_IRQ2);
+
+ ITEAGLE_FPGA(config, PCI_ID_FPGA, 0, "screen", m_maincpu, MIPS3_IRQ1, MIPS3_IRQ4);
+ es1373_device &pci_sound(ES1373(config, PCI_ID_SOUND, 0));
+ pci_sound.add_route(0, PCI_ID_SOUND":lspeaker", 1.0).add_route(1, PCI_ID_SOUND":rspeaker", 1.0);
+ pci_sound.irq_handler().set_inputline(m_maincpu, MIPS3_IRQ3);
MCFG_DEVICE_ADD(PCI_ID_VIDEO, VOODOO_3_PCI, 0, m_maincpu, "screen")
MCFG_VOODOO_PCI_FBMEM(16)