Re: [Patch] Cleanup struct gendisk registration, 2.3.40-pre1

From: Guest section DW (dwguest@win.tue.nl)
Date: Sat Jan 15 2000 - 01:59:28 EST


On Fri, Jan 14, 2000 at 10:23:06PM -0800, Andre Hedrick wrote:

> ide-probe.c:692: gd->init = &ide_geninit; /*initialization function */
>
> include/linux/ide.h:760:void ide_geninit (struct gendisk *gd);
>
> > Note that scsi also has sd_geninit().
>
> Andries,
>
> Where are all the callbacks to "dev->init(dev)" located for block?

The definitions are usually static, see xd.c, hd.c, ps2esdi.c, md.c etc.
There is only this one call in check.c, I think.

Andries

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sat Jan 15 2000 - 21:00:25 EST