|
@@ -527,6 +527,7 @@ static int undinet_open ( struct net_device *netdev ) {
|
527
|
527
|
sizeof ( undi_open ) ) ) != 0 )
|
528
|
528
|
goto err;
|
529
|
529
|
|
|
530
|
+ DBGC ( undinic, "UNDINIC %p opened\n", undinic );
|
530
|
531
|
return 0;
|
531
|
532
|
|
532
|
533
|
err:
|
|
@@ -570,6 +571,8 @@ static void undinet_close ( struct net_device *netdev ) {
|
570
|
571
|
/* Disable interrupt and unhook ISR */
|
571
|
572
|
disable_irq ( undinic->irq );
|
572
|
573
|
undinet_unhook_isr ( undinic->irq );
|
|
574
|
+
|
|
575
|
+ DBGC ( undinic, "UNDINIC %p closed\n", undinic );
|
573
|
576
|
}
|
574
|
577
|
|
575
|
578
|
/**
|
|
@@ -648,6 +651,7 @@ int undinet_probe ( struct undi_device *undi ) {
|
648
|
651
|
if ( ( rc = register_netdev ( netdev ) ) != 0 )
|
649
|
652
|
goto err_register;
|
650
|
653
|
|
|
654
|
+ DBGC ( undinic, "UNDINIC %p added\n", undinic );
|
651
|
655
|
return 0;
|
652
|
656
|
|
653
|
657
|
err_register:
|
|
@@ -702,4 +706,6 @@ void undinet_remove ( struct undi_device *undi ) {
|
702
|
706
|
|
703
|
707
|
/* Free network device */
|
704
|
708
|
free_netdev ( netdev );
|
|
709
|
+
|
|
710
|
+ DBGC ( undinic, "UNDINIC %p removed\n", undinic );
|
705
|
711
|
}
|