Skip to contentSkip to conversation

disable the floppy controller on the Malta platform

PATCH New Aurelien Jarno 1 participant 1 message Jan 16, 2007

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 disable the floppy controller on the Malta platform

The floppy controller on the Malta platform does not work correctly, as written in the source code. I have just discoverd that it also make debian-installer to crash.

The patch below disables the floppy controller until we fix the problem (low priority on my TODO list).

Index: hw/mips_malta.c
===================================================================
RCS file: /sources/qemu/qemu/hw/mips_malta.c,v
retrieving revision 1.1

mips_malta.c +2 -2
diff -u -d -p -r1.1 mips_malta.c
@@ -571,8 +571,8 @@ void mips_malta_init (int ram_size, int 
     serial_init(&pic_set_irq_new, isa_pic, 0x3f8, 4, serial_hds[0]);
     parallel_init(0x378, 7, parallel_hds[0]);
     /* XXX: The floppy controller does not work correctly, something is
-       probably wrong */
-    floppy_controller = fdctrl_init(6, 2, 0, 0x3f0, fd_table);
+       probably wrong 
+    floppy_controller = fdctrl_init(6, 2, 0, 0x3f0, fd_table); */
 
     /* Sound card */
 #ifdef HAS_AUDIO
Signature · 4 lines
  .''`.  Aurelien Jarno	            | GPG: 1024D/F1BCDB73
 : :' :  Debian developer           | Electrical Engineer
 `. `'   [email protected]         | [email protected]
   `-    people.debian.org/~aurel32 | www.aurel32.net