dingusppc/devices/common/scsi
joevt 45a9d45e3f Add SCSI devices.
scsibus has a new method attach_scsi_devices which is used by all machines to populate a SCSI bus with one or more hard drives or CD-ROM drives.

HDDs are specified by the hdd_img property.
CDs are specified by the cdr_img property.
Multiple images are delimited by a colon :

attach_scsi_devices is called by the scsi controller after the scsi controller has attached itself to the scsi bus.
The bus suffix is applied to the property name.
Curio has no suffix so it will use hdd_img and cdr_img properties.
Mesh is expected to have a suffix of 2 so it will use hdd_img2 and cdr_img2 properties.

HDDs will skip SCSI ID 3 unless 7 HDDs are added, in which case, the seventh HDD will use ID 3.
CDs will start at SCSI ID 3, go to 7, then down to 0.
SCSI IDs are skipped if a device is already using that SCSI ID.

ScsiCdrom and ScsiHD no longer use REGISTER_DEVICE or DeviceDescription or PropMap which is normal for devices that can have multiple instances.
2024-03-14 19:12:11 -07:00
..
mesh.cpp Add SCSI devices. 2024-03-14 19:12:11 -07:00
mesh.h grandcentral: use MeshStub on machines without MESH. 2024-02-12 02:38:38 +01:00
sc53c94.cpp Add SCSI devices. 2024-03-14 19:12:11 -07:00
sc53c94.h sc53c94: Split real_dma_xfer. 2024-03-14 08:01:07 -07:00
scsi.h Add SCSI devices. 2024-03-14 19:12:11 -07:00
scsibus.cpp Add SCSI devices. 2024-03-14 19:12:11 -07:00
scsicdrom.cpp Add SCSI devices. 2024-03-14 19:12:11 -07:00
scsicdrom.h Add SCSI devices. 2024-03-14 19:12:11 -07:00
scsidevice.cpp scsi: Add illegal_command method. 2024-03-13 07:45:50 -07:00
scsihd.cpp Add SCSI devices. 2024-03-14 19:12:11 -07:00
scsihd.h Add SCSI devices. 2024-03-14 19:12:11 -07:00