summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
author Ivan Vangelista <mesgnet@yahoo.it>2019-02-16 13:58:59 +0100
committer Ivan Vangelista <mesgnet@yahoo.it>2019-02-16 13:58:59 +0100
commit7624f7490fc29d6205e0f10cd70ad8b4297ba3b8 (patch)
treebddec7724d8cc8f215934aa2558e975ff31ea7bc
parente13cb27bd5abf206dfd67b7af062886655a4708d (diff)
bus\lpci\pci.h: removed unused MCFG macros (nw)
-rw-r--r--src/devices/bus/lpci/pci.h16
-rw-r--r--src/mame/drivers/bebox.cpp2
-rw-r--r--src/mame/drivers/gammagic.cpp4
3 files changed, 3 insertions, 19 deletions
diff --git a/src/devices/bus/lpci/pci.h b/src/devices/bus/lpci/pci.h
index 6f7da915176..7f93875fcfb 100644
--- a/src/devices/bus/lpci/pci.h
+++ b/src/devices/bus/lpci/pci.h
@@ -114,20 +114,4 @@ private:
// device type definition
DECLARE_DEVICE_TYPE(PCI_BUS, pci_bus_device)
-
-/***************************************************************************
- DEVICE CONFIGURATION MACROS
-***************************************************************************/
-
-#define MCFG_PCI_BUS_ADD(_tag, _busnum) \
- MCFG_DEVICE_ADD(_tag, PCI_BUS, 0) \
- downcast<pci_bus_device *>(device)->set_busnum(_busnum);
-#define MCFG_PCI_BUS_DEVICE(_tag, _slot_intf, _def_slot, _fixed) \
- MCFG_DEVICE_ADD(_tag, PCI_CONNECTOR, 0) \
- MCFG_DEVICE_SLOT_INTERFACE(_slot_intf, _def_slot, _fixed)
-
-#define MCFG_PCI_BUS_SIBLING(_father_tag) \
- downcast<pci_bus_device *>(device)->set_father(_father_tag);
-
-
#endif // MAME_BUS_LPCI_PCI_H
diff --git a/src/mame/drivers/bebox.cpp b/src/mame/drivers/bebox.cpp
index 9cf116ff932..6bf6609025e 100644
--- a/src/mame/drivers/bebox.cpp
+++ b/src/mame/drivers/bebox.cpp
@@ -221,7 +221,7 @@ void bebox_state::bebox_peripherals(machine_config &config)
pcislot0.set_option_machine_config("mpc105", mpc105_config);
add_pci_slot(config, "pcibus:1", 1, "cirrus");
- /*MCFG_PCI_BUS_DEVICE(12, nullptr, scsi53c810_pci_read, scsi53c810_pci_write)*/
+ /*MCFG_PCI_BUS_LEGACY_DEVICE(12, nullptr, scsi53c810_pci_read, scsi53c810_pci_write)*/
SMC37C78(config, m_smc37c78, 24'000'000);
m_smc37c78->intrq_wr_callback().set(FUNC(bebox_state::fdc_interrupt));
diff --git a/src/mame/drivers/gammagic.cpp b/src/mame/drivers/gammagic.cpp
index da8ff25b76d..985b1bdaf8c 100644
--- a/src/mame/drivers/gammagic.cpp
+++ b/src/mame/drivers/gammagic.cpp
@@ -141,8 +141,8 @@ MACHINE_CONFIG_START(gammagic_state::gammagic)
// I82371SB(config, "i82371sb", 0);
// MCFG_I82439TX_ADD("i82439tx", "maincpu", "user")
MCFG_PCI_BUS_LEGACY_ADD("pcibus", 0)
-// MCFG_PCI_BUS_DEVICE(0, "i82439tx", i82439tx_pci_read, i82439tx_pci_write)
-// MCFG_PCI_BUS_DEVICE(1, "i82371sb", i82371sb_pci_read, i82371sb_pci_write)
+// MCFG_PCI_BUS_LEGACY_DEVICE(0, "i82439tx", i82439tx_pci_read, i82439tx_pci_write)
+// MCFG_PCI_BUS_LEGACY_DEVICE(1, "i82371sb", i82371sb_pci_read, i82371sb_pci_write)
/* video hardware */
pcvideo_vga(config);