Beispiel #1
0
/**
 * driver_init - initialize driver model.
 *
 * Call the driver model init functions to initialize their
 * subsystems. Called early from init/main.c.
 */
void __init driver_init(void)
{
	printk(KERN_INFO "%s, devtmpfs_init\n", __FILE__);
	printk(KERN_INFO "%s, devices_init\n", __FILE__);
	printk(KERN_INFO "%s, buses_init\n", __FILE__);
	printk(KERN_INFO "%s, classes_init\n", __FILE__);
	printk(KERN_INFO "%s, firmware_init\n", __FILE__);
	printk(KERN_INFO "%s, hypervisor_init\n", __FILE__);
	printk(KERN_INFO "%s, platform_bus_init\n", __FILE__);
	printk(KERN_INFO "%s, cpu_dev_init\n", __FILE__);
	printk(KERN_INFO "%s, memory_dev_init\n", __FILE__);
	/* These are the core pieces */
	devtmpfs_init();
	devices_init();
	buses_init();
	classes_init();
	firmware_init();
	hypervisor_init();

	/* These are also core pieces, but must come after the
	 * core core pieces.
	 */
	platform_bus_init();
	cpu_dev_init();
	memory_dev_init();
}
Beispiel #2
0
void __init driver_init(void)
{
	/* These are the core pieces */
	devices_init();
	buses_init();
	classes_init();
	firmware_init();

	/* These are also core pieces, but must come after the 
	 * core core pieces.
	 */
	platform_bus_init();
	system_bus_init();
	cpu_dev_init();
}
Beispiel #3
0
/**
 * driver_init - initialize driver model.
 *
 * Call the driver model init functions to initialize their
 * subsystems. Called early from init/main.c.
 */
void __init driver_init(void)
{
	/* These are the core pieces */
	devtmpfs_init();
	devices_init();
	buses_init();
	classes_init();
	firmware_init();
	hypervisor_init();

	/* These are also core pieces, but must come after the
	 * core core pieces.
	 */
	platform_bus_init();
	cpu_dev_init();
	memory_dev_init();
	container_dev_init();
	of_core_init();
}
Beispiel #4
0
void __init driver_init(void)
{
	/* These are the core pieces */
	devices_init();
	buses_init();
	classes_init();
#ifndef DDE_LINUX
	firmware_init();
	hypervisor_init();
#endif

	/* These are also core pieces, but must come after the
	 * core core pieces.
	 */
	platform_bus_init();
#ifndef DDE_LINUX
	system_bus_init();
	cpu_dev_init();
	memory_dev_init();
	attribute_container_init();
#endif
}