{
u32 status = src_readl(dev, MUnit.OMR);
{
u32 status = src_readl(dev, MUnit.OMR);
- /*
- * Check to see if the board panic'd.
- */
- if (unlikely(status & KERNEL_PANIC))
- goto err_blink;
-
/*
* Check to see if the board failed any self tests.
*/
if (unlikely(status & SELF_TEST_FAILED))
/*
* Check to see if the board failed any self tests.
*/
if (unlikely(status & SELF_TEST_FAILED))
- * Check to see if the board failed any self tests.
+ * Check to see if the board panic'd.
- if (unlikely(status & MONITOR_PANIC))
- goto err_out;
-
+ if (unlikely(status & KERNEL_PANIC))
+ return (status >> 16) & 0xFF;
/*
* Wait for the adapter to be up and running.
*/
/*
* Wait for the adapter to be up and running.
*/
* Everything is OK
*/
return 0;
* Everything is OK
*/
return 0;
-
-err_out:
- return -1;
-
-err_blink:
- return (status > 16) & 0xFF;
}
static inline u32 aac_get_vector(struct aac_dev *dev)
}
static inline u32 aac_get_vector(struct aac_dev *dev)