diff options
author | Michael Brown | 2007-01-13 18:54:41 +0100 |
---|---|---|
committer | Michael Brown | 2007-01-13 18:54:41 +0100 |
commit | d0f4e9a54b26d39d93c44a7c2c80892a4adadb89 (patch) | |
tree | a155654bff45892ea14bffcc0f38e5901b903aaf /src/arch/i386/drivers | |
parent | Advertise a larger MSS to improve TCP performance. (diff) | |
download | ipxe-d0f4e9a54b26d39d93c44a7c2c80892a4adadb89.tar.gz ipxe-d0f4e9a54b26d39d93c44a7c2c80892a4adadb89.tar.xz ipxe-d0f4e9a54b26d39d93c44a7c2c80892a4adadb89.zip |
Add some trace messages for important events
Diffstat (limited to 'src/arch/i386/drivers')
-rw-r--r-- | src/arch/i386/drivers/net/undinet.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/arch/i386/drivers/net/undinet.c b/src/arch/i386/drivers/net/undinet.c index b5100ce6..e479269a 100644 --- a/src/arch/i386/drivers/net/undinet.c +++ b/src/arch/i386/drivers/net/undinet.c @@ -527,6 +527,7 @@ static int undinet_open ( struct net_device *netdev ) { sizeof ( undi_open ) ) ) != 0 ) goto err; + DBGC ( undinic, "UNDINIC %p opened\n", undinic ); return 0; err: @@ -570,6 +571,8 @@ static void undinet_close ( struct net_device *netdev ) { /* Disable interrupt and unhook ISR */ disable_irq ( undinic->irq ); undinet_unhook_isr ( undinic->irq ); + + DBGC ( undinic, "UNDINIC %p closed\n", undinic ); } /** @@ -648,6 +651,7 @@ int undinet_probe ( struct undi_device *undi ) { if ( ( rc = register_netdev ( netdev ) ) != 0 ) goto err_register; + DBGC ( undinic, "UNDINIC %p added\n", undinic ); return 0; err_register: @@ -702,4 +706,6 @@ void undinet_remove ( struct undi_device *undi ) { /* Free network device */ free_netdev ( netdev ); + + DBGC ( undinic, "UNDINIC %p removed\n", undinic ); } |