More changes and cleanups to the cdrom/scsi layers.

Several small fixes to the previous commit (IDE works again ;-)
First attempt at "bringing back" the Host CDROM (formerly "ioctl") module.
This commit is contained in:
waltje
2018-10-18 02:20:23 -04:00
parent 8471941cb7
commit 80ca36536d
62 changed files with 2284 additions and 2024 deletions

View File

@@ -9,7 +9,7 @@
* Implementation of the Iomega ZIP drive with SCSI(-like)
* commands, for both ATAPI and SCSI usage.
*
* Version: @(#)zip.c 1.0.17 2018/10/15
* Version: @(#)zip.c 1.0.18 2018/10/17
*
* Authors: Fred N. van Kempen, <decwiz@yahoo.com>
* Miran Grca, <mgrca8@gmail.com>
@@ -2865,6 +2865,18 @@ zip_close(void)
}
void
zip_reset_bus(int bus)
{
int i;
for (i = 0; i < ZIP_NUM; i++) {
if (zip_drives[i].bus_type == ZIP_BUS_ATAPI)
zip_reset(zip[i]);
}
}
int
zip_string_to_bus(const char *str)
{