modular ide broken in recent kernels

From: Justin Cormack (justin@street-vision.com)
Date: Mon Apr 08 2002 - 10:59:44 EST


ide doesnt work modular in recent kernels (eg 2.4.19-pre6)

you get
depmod: *** Unresolved symbols in /lib/modules/2.4.19-pre6/kernel/drivers/ide/ide-probe-mod.o
depmod: ide_xlate_1024_hook

I cant work out what this ide_xlate_1024_hook is for, as it only appears to be
used here:

#ifdef MODULE
extern int (*ide_xlate_1024_hook)(kdev_t, int, int, const char *);

int init_module (void)
{
        unsigned int index;
        
        for (index = 0; index < MAX_HWIFS; ++index)
                ide_unregister(index);
        ideprobe_init();
        create_proc_ide_interfaces();
        ide_xlate_1024_hook = ide_xlate_1024;
        return 0;
}

void cleanup_module (void)
{
        ide_probe = NULL;
        ide_xlate_1024_hook = 0;
}
MODULE_LICENSE("GPL");
#endif /* MODULE */

What was it for? It was added some time in later 2.4 I think.

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



This archive was generated by hypermail 2b29 : Mon Apr 15 2002 - 22:00:11 EST