patch-2.4.23 linux-2.4.23/net/irda/irlan/irlan_eth.c
Next file: linux-2.4.23/net/irda/irlan/irlan_event.c
Previous file: linux-2.4.23/net/irda/irlan/irlan_common.c
Back to the patch index
Back to the overall index
- Lines: 68
- Date:
2003-11-28 10:26:21.000000000 -0800
- Orig file:
linux-2.4.22/net/irda/irlan/irlan_eth.c
- Orig date:
2003-08-25 04:44:44.000000000 -0700
diff -urN linux-2.4.22/net/irda/irlan/irlan_eth.c linux-2.4.23/net/irda/irlan/irlan_eth.c
@@ -51,7 +51,7 @@
{
struct irlan_cb *self;
- IRDA_DEBUG(2, __FUNCTION__"()\n");
+ IRDA_DEBUG(2,"%s()\n", __FUNCTION__);
ASSERT(dev != NULL, return -1;);
@@ -109,7 +109,7 @@
{
struct irlan_cb *self;
- IRDA_DEBUG(2, __FUNCTION__ "()\n");
+ IRDA_DEBUG(2, "%s()\n", __FUNCTION__);
ASSERT(dev != NULL, return -1;);
@@ -143,7 +143,7 @@
struct irlan_cb *self = (struct irlan_cb *) dev->priv;
struct sk_buff *skb;
- IRDA_DEBUG(2, __FUNCTION__ "()\n");
+ IRDA_DEBUG(2, "%s()\n", __FUNCTION__);
/* Stop device */
netif_stop_queue(dev);
@@ -354,14 +354,14 @@
self = dev->priv;
- IRDA_DEBUG(2, __FUNCTION__ "()\n");
+ IRDA_DEBUG(2, "%s()\n", __FUNCTION__);
ASSERT(self != NULL, return;);
ASSERT(self->magic == IRLAN_MAGIC, return;);
/* Check if data channel has been connected yet */
if (self->client.state != IRLAN_DATA) {
- IRDA_DEBUG(1, __FUNCTION__ "(), delaying!\n");
+ IRDA_DEBUG(1, "%s(), delaying!\n", __FUNCTION__);
return;
}
@@ -371,20 +371,20 @@
}
else if ((dev->flags & IFF_ALLMULTI) || dev->mc_count > HW_MAX_ADDRS) {
/* Disable promiscuous mode, use normal mode. */
- IRDA_DEBUG(4, __FUNCTION__ "(), Setting multicast filter\n");
+ IRDA_DEBUG(4, "%s(), Setting multicast filter\n", __FUNCTION__);
/* hardware_set_filter(NULL); */
irlan_set_multicast_filter(self, TRUE);
}
else if (dev->mc_count) {
- IRDA_DEBUG(4, __FUNCTION__ "(), Setting multicast filter\n");
+ IRDA_DEBUG(4, "%s(), Setting multicast filter\n", __FUNCTION__);
/* Walk the address list, and load the filter */
/* hardware_set_filter(dev->mc_list); */
irlan_set_multicast_filter(self, TRUE);
}
else {
- IRDA_DEBUG(4, __FUNCTION__ "(), Clearing multicast filter\n");
+ IRDA_DEBUG(4, "%s(), Clearing multicast filter\n", __FUNCTION__);
irlan_set_multicast_filter(self, FALSE);
}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)