patch-2.2.3 linux/drivers/block/hd.c
Next file: linux/drivers/block/ide.c
Previous file: linux/drivers/block/genhd.c
Back to the patch index
Back to the overall index
- Lines: 14
- Date:
Wed Feb 24 16:27:53 1999
- Orig file:
v2.2.2/linux/drivers/block/hd.c
- Orig date:
Tue Jan 19 11:32:51 1999
diff -u --recursive --new-file v2.2.2/linux/drivers/block/hd.c linux/drivers/block/hd.c
@@ -744,11 +744,12 @@
*/
- if ((cmos_disks = CMOS_READ(0x12)) & 0xf0)
+ if ((cmos_disks = CMOS_READ(0x12)) & 0xf0) {
if (cmos_disks & 0x0f)
NR_HD = 2;
else
NR_HD = 1;
+ }
}
#endif /* __i386__ */
for (drive=0 ; drive < NR_HD ; drive++) {
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)