Beispiel #1
0
/*
 * Determine i/o configuration for a machine.
 */
static void
configure(void *dummy)
{
	configure_start();

	device_add_child(root_bus, platform.iobus, 0);

	root_bus_configure();

	if((hwrpb->rpb_type != ST_DEC_3000_300) &&
	   (hwrpb->rpb_type != ST_DEC_3000_500)){
		/*
		 * Probe ISA devices after everything.
		 */
#if NISA > 0
		if (isa_bus_device)
			isa_probe_children(isa_bus_device);
#endif
	} 
	configure_finish();

	cninit_finish();

	/*
	 * Now we're ready to handle (pending) interrupts.
	 * XXX this is slightly misplaced.
	 */
	spl0();

	cold = 0;
}
Beispiel #2
0
static void
configure(void *dummy)
{

	/* initialize new bus architecture */
	root_bus_configure();
}
Beispiel #3
0
static void
configure(void *dummy)
{

	root_bus_configure();
#ifdef DEV_ISA
	if (isa_bus_device)
		isa_probe_children(isa_bus_device);
#endif
}
Beispiel #4
0
static void
configure(void *v)
{

	nexusdev = device_add_child(root_bus, "nexus", 0);
	root_bus_configure();
#ifdef DEV_ISA
	if (isa_bus_device != NULL)
		isa_probe_children(isa_bus_device);
#endif
	cold = 0;
}
Beispiel #5
0
static void
configure(void *dummy)
{

	root_bus_configure();

	/*
	 * Probe ISA devices after everything.
	 */
#ifdef DEV_ISA
	if (isa_bus_device)
		isa_probe_children(isa_bus_device);
#endif
}
Beispiel #6
0
/*
 * Determine i/o configuration for a machine.
 */
static void
configure(void *dummy)
{
	device_add_child(root_bus, "nexus", 0);

	root_bus_configure();

	/*
	 * Enable device interrupts
	 */
	mtmsr(mfmsr() | PSL_EE | PSL_RI);

	cold = 0;
}
Beispiel #7
0
static void
configure(void *dummy)
{

	root_bus_configure();
#ifdef DEV_ISA
	/*
	 * We bypass isa_probe_children(9) here in order to avoid
	 * invasive probes done by identify-routines of ISA drivers,
	 * which in turn can trigger master/target aborts, and the
	 * addition of ISA hints, which might erroneously exist.
	 */
	if (isa_bus_device != NULL)
		(void)bus_generic_attach(isa_bus_device);
#endif
}
static void
configure(void *dummy)
{

	root_bus_configure();
}