summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/bus/fmt_scsi/fmt121.cpp
diff options
context:
space:
mode:
author Olivier Galibert <galibert@pobox.com>2022-06-16 12:47:52 +0200
committer Olivier Galibert <galibert@pobox.com>2025-04-29 23:06:41 +0200
commit45d4cd52a8194f2ef9e0383cfb2e2a35634af6ff (patch)
tree4e8d8fcb7382a5e9e0bce5ec59939bcfbe67155a /src/devices/bus/fmt_scsi/fmt121.cpp
parent5c14bcdfcb4aefb71b5b62387c4ad05dbeb3814e (diff)
full xtal conversionxtal
Diffstat (limited to 'src/devices/bus/fmt_scsi/fmt121.cpp')
-rw-r--r--src/devices/bus/fmt_scsi/fmt121.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/devices/bus/fmt_scsi/fmt121.cpp b/src/devices/bus/fmt_scsi/fmt121.cpp
index 34f784115a0..1044c77d9e0 100644
--- a/src/devices/bus/fmt_scsi/fmt121.cpp
+++ b/src/devices/bus/fmt_scsi/fmt121.cpp
@@ -59,7 +59,7 @@ DEFINE_DEVICE_TYPE(FMT121, fmt121_device, "fmt121", "FMT-121 SCSI Card")
// fmt121_device - construction
//-------------------------------------------------
-fmt121_device::fmt121_device(const machine_config &mconfig, const char *tag, device_t *owner, u32 clock)
+fmt121_device::fmt121_device(const machine_config &mconfig, const char *tag, device_t *owner, const XTAL &clock)
: device_t(mconfig, FMT121, tag, owner, clock)
, fmt_scsi_card_interface(mconfig, *this)
, m_scsi_ctlr(*this, "fmscsi")
@@ -74,14 +74,14 @@ fmt121_device::fmt121_device(const machine_config &mconfig, const char *tag, dev
void fmt121_device::device_add_mconfig(machine_config &config)
{
- scsi_port_device &scsi(SCSI_PORT(config, "scsi", 0));
+ scsi_port_device &scsi(SCSI_PORT(config, "scsi"));
scsi.set_slot_device(1, "harddisk", SCSIHD, DEVICE_INPUT_DEFAULTS_NAME(SCSI_ID_0));
scsi.set_slot_device(2, "harddisk", SCSIHD, DEVICE_INPUT_DEFAULTS_NAME(SCSI_ID_1));
scsi.set_slot_device(3, "harddisk", SCSIHD, DEVICE_INPUT_DEFAULTS_NAME(SCSI_ID_2));
scsi.set_slot_device(4, "harddisk", SCSIHD, DEVICE_INPUT_DEFAULTS_NAME(SCSI_ID_3));
scsi.set_slot_device(5, "harddisk", SCSIHD, DEVICE_INPUT_DEFAULTS_NAME(SCSI_ID_4));
- FMSCSI(config, m_scsi_ctlr, 0);
+ FMSCSI(config, m_scsi_ctlr);
m_scsi_ctlr->set_scsi_port("scsi");
m_scsi_ctlr->irq_handler().set(FUNC(fmt121_device::irq_w));
m_scsi_ctlr->drq_handler().set(FUNC(fmt121_device::drq_w));