summaryrefslogtreecommitdiff
path: root/emulators/virtualbox-ose/files/patch-src-VBox-Devices-Storage-DevAHCI.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'emulators/virtualbox-ose/files/patch-src-VBox-Devices-Storage-DevAHCI.cpp')
-rw-r--r--emulators/virtualbox-ose/files/patch-src-VBox-Devices-Storage-DevAHCI.cpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/emulators/virtualbox-ose/files/patch-src-VBox-Devices-Storage-DevAHCI.cpp b/emulators/virtualbox-ose/files/patch-src-VBox-Devices-Storage-DevAHCI.cpp
new file mode 100644
index 000000000000..1bf7e5490699
--- /dev/null
+++ b/emulators/virtualbox-ose/files/patch-src-VBox-Devices-Storage-DevAHCI.cpp
@@ -0,0 +1,11 @@
+--- src/VBox/Devices/Storage/DevAHCI.cpp.orig 2013-11-29 14:23:47.000000000 -0500
++++ src/VBox/Devices/Storage/DevAHCI.cpp 2013-12-13 20:05:56.000000000 -0500
+@@ -3242,7 +3242,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. */