patch-2.1.79 linux/drivers/block/ide-probe.c
Next file: linux/drivers/block/ide-proc.c
Previous file: linux/drivers/block/ide-floppy.c
Back to the patch index
Back to the overall index
- Lines: 12
- Date:
Sat Jan 10 10:42:55 1998
- Orig file:
v2.1.78/linux/drivers/block/ide-probe.c
- Orig date:
Sun Dec 21 22:36:12 1997
diff -u --recursive --new-file v2.1.78/linux/drivers/block/ide-probe.c linux/drivers/block/ide-probe.c
@@ -624,6 +624,11 @@
for (gdp = &gendisk_head; *gdp; gdp = &((*gdp)->next)) ;
hwif->gd = *gdp = gd; /* link onto tail of list */
+
+ for (unit = 0; unit < units; ++unit) {
+ if (hwif->drives[unit].present)
+ ide_add_generic_settings(hwif->drives + unit);
+ }
}
static int hwif_init (ide_hwif_t *hwif)
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov