PATCH: small fix for ATAPI cdroms under SCSI emulation

Rafael Kitover caelum at debian.org
Thu Jul 25 20:33:59 CDT 2002


  Just added one line so that CDROMs using SCSI emulation will be added 
as a registry key and not give that unknown major device error, I 
haven't gotten a chance to test other cdrom functionality.

License: LGPL, X11
Changelog: minor fix for ide-scsi cdroms
-------------- next part --------------
Name: IDE_SCSI_CDROM
ChangeLog: minor fix for ide-scsi cdroms
GenDate: 2002/07/26 00:35:35 UTC
ModifiedFiles: dlls/ntdll/cdrom.c
AddedFiles: 
===================================================================
RCS file: /home/wine/wine/dlls/ntdll/cdrom.c,v
retrieving revision 1.15
diff -u -r1.15 cdrom.c
--- dlls/ntdll/cdrom.c	13 Jun 2002 21:46:02 -0000	1.15
+++ dlls/ntdll/cdrom.c	26 Jul 2002 00:35:37 -0000
@@ -137,6 +137,7 @@
             case IDE5_MAJOR: *iface = 5; break;
             case IDE6_MAJOR: *iface = 6; break;
             case IDE7_MAJOR: *iface = 7; break;
+            case SCSI_CDROM_MAJOR: *iface = 11; break;
             default:
                 FIXME("CD-ROM device with major ID %d not supported\n", major(st.st_rdev));
                 break;


More information about the wine-patches mailing list