summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/calchase.c
diff options
context:
space:
mode:
author Miodrag Milanovic <mmicko@gmail.com>2012-07-02 06:20:21 +0000
committer Miodrag Milanovic <mmicko@gmail.com>2012-07-02 06:20:21 +0000
commita78e9cf6cf1b314f52523348acfb654d8166443c (patch)
tree26ffc0c7b6c2322bfd735559be7e449605505150 /src/mame/drivers/calchase.c
parentf768287f5571db57b01d7255b6dbf8f2933c1d04 (diff)
Made PCI legacy and new implementation coexist for now (no whatsnew)
Diffstat (limited to 'src/mame/drivers/calchase.c')
-rw-r--r--src/mame/drivers/calchase.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mame/drivers/calchase.c b/src/mame/drivers/calchase.c
index c5b5d960884..bb5185d952e 100644
--- a/src/mame/drivers/calchase.c
+++ b/src/mame/drivers/calchase.c
@@ -603,7 +603,7 @@ static ADDRESS_MAP_START( calchase_io, AS_IO, 32, calchase_state )
AM_RANGE(0x03f0, 0x03f7) AM_READWRITE(fdc_r, fdc_w)
AM_RANGE(0x03f8, 0x03ff) AM_NOP // To debug Serial Port COM1:
AM_RANGE(0x0a78, 0x0a7b) AM_WRITENOP//AM_WRITE_LEGACY(pnp_data_w)
- AM_RANGE(0x0cf8, 0x0cff) AM_DEVREADWRITE("pcibus", pci_bus_device, read, write)
+ AM_RANGE(0x0cf8, 0x0cff) AM_DEVREADWRITE("pcibus", pci_bus_legacy_device, read, write)
AM_RANGE(0x42e8, 0x43ef) AM_NOP //To debug
AM_RANGE(0x43c0, 0x43cf) AM_RAM AM_SHARE("share1")
AM_RANGE(0x46e8, 0x46ef) AM_NOP //To debug
@@ -932,9 +932,9 @@ static MACHINE_CONFIG_START( calchase, calchase_state )
MCFG_IDE_CONTROLLER_ADD("ide", ide_interrupt, ide_devices, "hdd", NULL, true)
MCFG_MC146818_ADD( "rtc", MC146818_STANDARD )
- MCFG_PCI_BUS_ADD("pcibus", 0)
- MCFG_PCI_BUS_DEVICE(0, NULL, intel82439tx_pci_r, intel82439tx_pci_w)
- MCFG_PCI_BUS_DEVICE(7, NULL, intel82371ab_pci_r, intel82371ab_pci_w)
+ MCFG_PCI_BUS_LEGACY_ADD("pcibus", 0)
+ MCFG_PCI_BUS_LEGACY_DEVICE(0, NULL, intel82439tx_pci_r, intel82439tx_pci_w)
+ MCFG_PCI_BUS_LEGACY_DEVICE(7, NULL, intel82371ab_pci_r, intel82371ab_pci_w)
/* video hardware */
MCFG_FRAGMENT_ADD( pcvideo_vga )