From: mtaylor Date: Tue, 15 Jan 2008 23:40:36 +0000 (+0000) Subject: Show more flags in interrupt debugging output. Continuation of r3126. X-Git-Url: http://git.ozo.com/?a=commitdiff_plain;h=d2db9e2fc0619a6bef5d6661129d3340c87c07c0;p=madwifi%2F.git Show more flags in interrupt debugging output. Continuation of r3126. git-svn-id: http://madwifi-project.org/svn/madwifi/trunk@3128 0192ed92-7a03-0410-a25b-9323aeb14dbd --- diff --git a/ath/if_ath.c b/ath/if_ath.c index 3aebcb4..44f9be7 100644 --- a/ath/if_ath.c +++ b/ath/if_ath.c @@ -1991,6 +1991,27 @@ ath_intr(int irq, void *dev_id, struct pt_regs *regs) HAL_INT status; int needmark; + DPRINTF(sc, ATH_DEBUG_INTR, "%s:%d [flags 0x%x%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s] - " + "entered\n", + __func__, __LINE__, + dev->flags, + (dev->flags & IFF_UP) ? " IFF_UP" : "", + (dev->flags & IFF_BROADCAST) ? " IFF_BROADCAST" : "", + (dev->flags & IFF_DEBUG) ? " IFF_DEBUG" : "", + (dev->flags & IFF_LOOPBACK) ? " IFF_LOOPBACK" : "", + (dev->flags & IFF_POINTOPOINT) ? " IFF_POINTOPOINT" : "", + (dev->flags & IFF_NOTRAILERS) ? " IFF_NOTRAILERS" : "", + (dev->flags & IFF_RUNNING) ? " IFF_RUNNING" : "", + (dev->flags & IFF_NOARP) ? " IFF_NOARP" : "", + (dev->flags & IFF_PROMISC) ? " IFF_PROMISC" : "", + (dev->flags & IFF_ALLMULTI) ? " IFF_ALLMULTI" : "", + (dev->flags & IFF_MASTER) ? " IFF_MASTER" : "", + (dev->flags & IFF_SLAVE) ? " IFF_SLAVE" : "", + (dev->flags & IFF_MULTICAST) ? " IFF_MULTICAST" : "", + (dev->flags & IFF_PORTSEL) ? " IFF_PORTSEL" : "", + (dev->flags & IFF_AUTOMEDIA) ? " IFF_AUTOMEDIA" : "", + (dev->flags & IFF_DYNAMIC) ? " IFF_DYNAMIC" : ""); + DPRINTF(sc, ATH_DEBUG_INTR, "%s:%d [flags 0x%x%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s] - " "entered\n", __func__, __LINE__,