|
@@ -668,7 +668,7 @@ static void mvs_94xx_command_active(struct mvs_info *mvi, u32 slot_idx)
|
|
{
|
|
{
|
|
u32 tmp;
|
|
u32 tmp;
|
|
tmp = mvs_cr32(mvi, MVS_COMMAND_ACTIVE+(slot_idx >> 3));
|
|
tmp = mvs_cr32(mvi, MVS_COMMAND_ACTIVE+(slot_idx >> 3));
|
|
- if (tmp && 1 << (slot_idx % 32)) {
|
|
|
|
|
|
+ if (tmp & 1 << (slot_idx % 32)) {
|
|
mv_printk("command active %08X, slot [%x].\n", tmp, slot_idx);
|
|
mv_printk("command active %08X, slot [%x].\n", tmp, slot_idx);
|
|
mvs_cw32(mvi, MVS_COMMAND_ACTIVE + (slot_idx >> 3),
|
|
mvs_cw32(mvi, MVS_COMMAND_ACTIVE + (slot_idx >> 3),
|
|
1 << (slot_idx % 32));
|
|
1 << (slot_idx % 32));
|