patch-2.3.40 linux/drivers/block/ide-probe.c
Next file: linux/drivers/block/ide-tape.c
Previous file: linux/drivers/block/ide-pci.c
Back to the patch index
Back to the overall index
- Lines: 10
- Date:
Sun Jan 16 19:34:28 2000
- Orig file:
v2.3.39/linux/drivers/block/ide-probe.c
- Orig date:
Wed Dec 29 13:13:15 1999
diff -u --recursive --new-file v2.3.39/linux/drivers/block/ide-probe.c linux/drivers/block/ide-probe.c
@@ -687,9 +687,7 @@
gd->major_name = IDE_MAJOR_NAME; /* treated special in genhd.c */
gd->minor_shift = PARTN_BITS; /* num bits for partitions */
gd->max_p = 1<<PARTN_BITS; /* 1 + max partitions / drive */
- gd->max_nr = units; /* max num real drives */
gd->nr_real = units; /* current num real drives */
- gd->init = &ide_geninit; /* initialization function */
gd->real_devices= hwif; /* ptr to internal data */
gd->next = NULL; /* linked list of major devs */
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)