david/ipxe
david
/
ipxe
Archived
1
0
Fork 0

[vlan] Add non-error debug messages

Signed-off-by: Michael Brown <mcb30@ipxe.org>
This commit is contained in:
Michael Brown 2010-11-25 23:50:41 +00:00
parent 7e1b1d6145
commit f1e1545372
1 changed files with 5 additions and 0 deletions

View File

@ -360,6 +360,9 @@ int vlan_create ( struct net_device *trunk, unsigned int tag,
/* Synchronise with trunk device */
vlan_sync ( netdev );
DBGC ( netdev, "VLAN %s created with tag %d and priority %d\n",
netdev->name, vlan->tag, vlan->priority );
return 0;
unregister_netdev ( netdev );
@ -389,6 +392,8 @@ int vlan_destroy ( struct net_device *netdev ) {
return -ENOTTY;
}
DBGC ( netdev, "VLAN %s destroyed\n", netdev->name );
/* Remove VLAN device */
unregister_netdev ( netdev );
trunk = vlan->trunk;