sizeof ( undi_open ) ) ) != 0 )
goto err;
+ DBGC ( undinic, "UNDINIC %p opened\n", undinic );
return 0;
err:
/* Disable interrupt and unhook ISR */
disable_irq ( undinic->irq );
undinet_unhook_isr ( undinic->irq );
+
+ DBGC ( undinic, "UNDINIC %p closed\n", undinic );
}
/**
if ( ( rc = register_netdev ( netdev ) ) != 0 )
goto err_register;
+ DBGC ( undinic, "UNDINIC %p added\n", undinic );
return 0;
err_register:
/* Free network device */
free_netdev ( netdev );
+
+ DBGC ( undinic, "UNDINIC %p removed\n", undinic );
}