文件drivers\ide\ide.c中的IDE接口初始化函数
/*
* This is gets invoked once during initialization, to set *everything* up
*/
static int __init ide_init(void)
{
printk(KERN_INFO "Uniform Multi-Platform E-IDE driver " REVISION "\n");
system_bus_speed = ide_system_bus_speed();
文件drivers\ide\ide-generic.c中
static int __init ide_generic_init(void)
{
if (ide_hwifs[0].io_ports[IDE_DATA_OFFSET])
ide_get_lock(NULL, NULL); /* for atari only */
(void)ideprobe_init();
if (ide_hwifs[0].io_ports[IDE_DATA_OFFSET])
ide_release_lock(); /* for atari only */