Patchwork [04/10] fdc: emulate stepping 0

login
register
mail settings
Submitter Hervé Poussineau
Date Jan. 8, 2012, 8:27 p.m.
Message ID <1326054468-5361-5-git-send-email-hpoussin@reactos.org>
Download mbox | patch
Permalink /patch/134934/
State New
Headers show

Comments

Hervé Poussineau - Jan. 8, 2012, 8:27 p.m.
Stepping 1 (S82078B) is not fully i82078 compatible, so better stick to initial revision

Signed-off-by: Hervé Poussineau <hpoussin@reactos.org>
---
 hw/fdc.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

Patch

diff --git a/hw/fdc.c b/hw/fdc.c
index bedaeca..0e167f8 100644
--- a/hw/fdc.c
+++ b/hw/fdc.c
@@ -1385,7 +1385,7 @@  static void fdctrl_handle_version(FDCtrl *fdctrl, int direction)
 
 static void fdctrl_handle_partid(FDCtrl *fdctrl, int direction)
 {
-    fdctrl->fifo[0] = 0x41; /* Stepping 1 */
+    fdctrl->fifo[0] = 0x01; /* Stepping 0 */
     fdctrl_set_fifo(fdctrl, 1, 0);
 }