35 #include <linux/pci.h>
47 static void qib_format_hwmsg(
char *
msg,
size_t msgl,
const char *hwmsg)
63 size_t nhwerrmsgs,
char *
msg,
size_t msgl)
67 for (i = 0; i < nhwerrmsgs; i++)
68 if (hwerrs & hwerrmsgs[i].
mask)
69 qib_format_hwmsg(msg, msgl, hwerrmsgs[i].msg);
78 event.element.port_num = ppd->
port;
149 spin_unlock_irqrestore(&ppd->lflags_lock, flags);
198 if (!(ctxtr & (1ULL << i)))
201 if (!rcd || !rcd->
cnt)
214 spin_unlock_irqrestore(&dd->
uctxt_lock, flags);
228 "Read of chip interrupt status failed disabling interrupts\n");
235 "2nd bad interrupt status, unregistering interrupts\n");