IB/ipath: Test interrupts at driver startup
authorArthur Jones <arthur.jones@qlogic.com>
Fri, 6 Jul 2007 19:48:53 +0000 (12:48 -0700)
committerRoland Dreier <rolandd@cisco.com>
Tue, 10 Jul 2007 03:12:26 +0000 (20:12 -0700)
commit3588423fbab1cfaf839e67378897e232a054f317
tree4885593a70ef1168a33ec261b1e0fad7f7a6a11c
parent9ca48655667214be6ebd191628a3c4b5b529a87e
IB/ipath: Test interrupts at driver startup

All too often, interrupts do not get enabled for our card due to BIOS
misconfiguration and other issues.  This patch checks for that
condition on startup and warns the user.  This patch is based on work
(check LID availability) by Robert Walsh.

Signed-off-by: Arthur Jones <arthur.jones@qlogic.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
drivers/infiniband/hw/ipath/ipath_driver.c
drivers/infiniband/hw/ipath/ipath_intr.c
drivers/infiniband/hw/ipath/ipath_kernel.h