patch-2.3.28 linux/drivers/block/ide-geometry.c

Next file: linux/drivers/block/ide-pci.c
Previous file: linux/drivers/block/ide-floppy.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.27/linux/drivers/block/ide-geometry.c linux/drivers/block/ide-geometry.c
@@ -1,6 +1,7 @@
 /*
  * linux/drivers/block/ide-geometry.c
  */
+#include <linux/config.h>
 #include <linux/ide.h>
 
 #include <asm/io.h>
@@ -65,9 +66,7 @@
 			drive->head  = drive->bios_head = *(BIOS+2);
 			drive->sect  = drive->bios_sect = *(BIOS+14);
 			drive->ctl   = *(BIOS+8);
-#if 0
 			drive->present = 1;
-#endif
 		}
 		BIOS += 16;
 	}

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)