/* If we support more console drivers, this function is used when a driver wants to take over some existing consoles and become default driver for newly opened ones.  */
int take_over_console(const struct consw *csw, int first, int last, int deflt)
/* If we support more console drivers, this function is used when a driver wants to take over some existing consoles and become default driver for newly opened ones.  */
int take_over_console(const struct consw *csw, int first, int last, int deflt)
{
	int err;
	err = register_con_driver(csw, first, last);
	if (!err)
		bind_con_driver(csw, first, last, deflt);
	return err;
}