Exemplo n.º 1
0
/*
 * Context: process
 */
static int __init ozwpan_init(void)
{
	oz_cdev_register();
	oz_protocol_init(g_net_dev);
	oz_app_enable(OZ_APPID_USB, 1);
	oz_apps_init();
	return 0;
}
Exemplo n.º 2
0
/*------------------------------------------------------------------------------
 * Context: process
 */
static int __init ozwpan_init(void)
{
    oz_event_init();
    oz_cdev_register();
    oz_protocol_init(g_net_dev);
    oz_app_enable(OZ_APPID_USB, 1);
    oz_apps_init();
#ifdef CONFIG_DEBUG_FS
    oz_debugfs_init();
#endif
    return 0;
}
Exemplo n.º 3
0
/*------------------------------------------------------------------------------
 * Context: process
 */
void oz_cdev_term(void)
{
	oz_event_log(OZ_EVT_SERVICE, 2, OZ_APPID_SERIAL, 0, 0);
	oz_app_enable(OZ_APPID_SERIAL, 0);
}
Exemplo n.º 4
0
/*------------------------------------------------------------------------------
 * Context: process
 */
int oz_cdev_init(void)
{
	oz_event_log(OZ_EVT_SERVICE, 1, OZ_APPID_SERIAL, 0, 0);
	oz_app_enable(OZ_APPID_SERIAL, 1);
	return 0;
}