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
This commit is contained in:
mtaylor 2008-01-15 23:40:36 +00:00
parent cf28881cdf
commit d2db9e2fc0

View File

@ -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__,