smc911x: Fix a few DBG macros
Subsystems (2)
PATCH 7/12 smc911x: Fix a few DBG macros
Some cosmetic around DBG macros...
Signed-off-by Bora Sahin <[email protected]>
drivers/net/smc911x.c +3 -3
@@ -389,7 +388,7 @@unsigned cr;unsigned long flags; -DBG (SMC_DEBUG_FUNC ,"%s: --> %s\n" ,CARDNAME , __FUNCTION__); +DBG (SMC_DEBUG_FUNC ,"%s: --> %s\n" , dev->name, __FUNCTION__);/* Disable IRQ's */ SMC_SET_INT_EN (0 );
@@ -408,7 +407,7 @@unsigned long ioaddr = dev->base_addr;unsigned int fifo_count, timeout, reg; -DBG (SMC_DEBUG_FUNC |SMC_DEBUG_RX ,"%s: --> %s\n" ,CARDNAME , __FUNCTION__); +DBG (SMC_DEBUG_FUNC |SMC_DEBUG_RX ,"%s: --> %s\n" , dev->name, __FUNCTION__); fifo_count =SMC_GET_RX_FIFO_INF () &0xFFFF ;if (fifo_count <=4 ) {/* Manually dump the packet data */
@@ -861,7 +857,7 @@unsigned long flags;unsigned int reg; -DBG (SMC_DEBUG_FUNC ,"%s: --> %s()\n" , dev->name, __FUNCTION__); +DBG (SMC_DEBUG_FUNC ,"%s: --> %s\n" , dev->name, __FUNCTION__);spin_lock_irqsave (&lp->lock, flags); reg =SMC_GET_PMT_CTRL ();