diff options
author | 2012-09-06 07:34:28 +0000 | |
---|---|---|
committer | 2012-09-06 07:34:28 +0000 | |
commit | 24f0842e1b61067972740d0365f017d01fac405d (patch) | |
tree | 5df852c3964444df1916d1807b83b6d058e9b66d /src/mess/machine/abc_hdc.c | |
parent | a50849088e1406403ffdef0c15b97e74923c3bee (diff) |
Split out callbacks from scsibus_device into scscb_device, eventually this will be a SCSI device. SCSIBus_interface is no longer required and has been removed. [smf]
Diffstat (limited to 'src/mess/machine/abc_hdc.c')
-rw-r--r-- | src/mess/machine/abc_hdc.c | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/src/mess/machine/abc_hdc.c b/src/mess/machine/abc_hdc.c index a155d0e1129..b87ed3808b4 100644 --- a/src/mess/machine/abc_hdc.c +++ b/src/mess/machine/abc_hdc.c @@ -8,6 +8,9 @@ *********************************************************************/ #include "abc_hdc.h" +#include "machine/scsibus.h" +#include "machine/scsicb.h" +#include "machine/scsihd.h" @@ -85,10 +88,10 @@ static const z80_daisy_config daisy_chain[] = //------------------------------------------------- -// SCSIBus_interface sasi_intf +// SCSICB_interface sasi_intf //------------------------------------------------- -static const SCSIBus_interface sasi_intf = +static const SCSICB_interface sasi_intf = { NULL, DEVCB_NULL, @@ -111,8 +114,9 @@ static MACHINE_CONFIG_FRAGMENT( abc_hdc ) MCFG_CPU_IO_MAP(abc_hdc_io) MCFG_CPU_CONFIG(daisy_chain) - MCFG_SCSIBUS_ADD(SASIBUS_TAG, sasi_intf) + MCFG_SCSIBUS_ADD(SASIBUS_TAG) MCFG_SCSIDEV_ADD(SASIBUS_TAG ":harddisk0", SCSIHD, SCSI_ID_0) + MCFG_SCSICB_ADD(SASIBUS_TAG ":host", sasi_intf) MACHINE_CONFIG_END |