On 01/13/2011 07:34 AM, David Ahern wrote:

+#ifdef CONFIG_FDC
      /* floppy type */

      fd0 = fdctrl_get_drive_type(floppy_controller, 0);
@@ -403,6 +408,7 @@ void pc_cmos_init(ram_addr_t ram_size, ram_addr_t 
above_4g_mem_size,
      val |= 0x02; /* FPU is there */
      val |= 0x04; /* PS/2 mouse installed */
      rtc_set_memory(s, REG_EQUIPMENT_BYTE, val);
+#endif

Isn't it a bit too eager? The equipment byte should still be set, or have you checked with a real machine?

Paolo

Reply via email to