summaryrefslogtreecommitdiff
path: root/emulators/virtualbox-ose/files/patch-src-VBox-Devices-Storage-DevATA.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'emulators/virtualbox-ose/files/patch-src-VBox-Devices-Storage-DevATA.cpp')
-rw-r--r--emulators/virtualbox-ose/files/patch-src-VBox-Devices-Storage-DevATA.cpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/emulators/virtualbox-ose/files/patch-src-VBox-Devices-Storage-DevATA.cpp b/emulators/virtualbox-ose/files/patch-src-VBox-Devices-Storage-DevATA.cpp
new file mode 100644
index 000000000000..37c3fb2bbb1d
--- /dev/null
+++ b/emulators/virtualbox-ose/files/patch-src-VBox-Devices-Storage-DevATA.cpp
@@ -0,0 +1,11 @@
+--- src/VBox/Devices/Storage/DevATA.cpp.orig 2014-07-15 13:24:35.000000000 -0400
++++ src/VBox/Devices/Storage/DevATA.cpp 2014-07-16 18:17:03.000000000 -0400
+@@ -2479,7 +2479,7 @@
+ return 0;
+
+ ataH2BE_U16(pbBuf, 0x0); /* feature 0: list of profiles supported */
+- pbBuf[2] = (0 << 2) | (1 << 1) | (1 || 0); /* version 0, persistent, current */
++ pbBuf[2] = (0 << 2) | (1 << 1) | (1 << 0); /* version 0, persistent, current */
+ pbBuf[3] = 8; /* additional bytes for profiles */
+ /* The MMC-3 spec says that DVD-ROM read capability should be reported
+ * before CD-ROM read capability. */