[Patch 25/25] GRU - update cbrstate definitions

From: steiner
Date: Mon Jul 19 2010 - 17:39:32 EST


From: Jack Steiner <steiner@xxxxxxx>

Update the CBRSTATE definitions to match what was actually
implemented in hardware.

Signed-off-by: Jack Steiner <steiner@xxxxxxx>

---
drivers/misc/sgi-gru/gruhandles.h | 12 ++++++++----
1 file changed, 8 insertions(+), 4 deletions(-)

Index: linux/drivers/misc/sgi-gru/gruhandles.h
===================================================================
--- linux.orig/drivers/misc/sgi-gru/gruhandles.h 2010-07-19 10:25:57.000000000 -0500
+++ linux/drivers/misc/sgi-gru/gruhandles.h 2010-07-19 13:03:39.982295167 -0500
@@ -478,15 +478,19 @@ enum gru_cbr_state {
CBRSTATE_INACTIVE,
CBRSTATE_IDLE,
CBRSTATE_PE_CHECK,
+ CBRSTATE_DSR_PRE,
CBRSTATE_QUEUED,
+ CBRSTATE_ISSUED,
CBRSTATE_WAIT_RESPONSE,
- CBRSTATE_INTERRUPTED,
- CBRSTATE_INTERRUPTED_MISS_FMM,
+ CBRSTATE_DSR_POST,
CBRSTATE_BUSY_INTERRUPT_MISS_FMM,
+ CBRSTATE_INTERRUPTED_MISS_FMM,
+ CBRSTATE_BUSY_INTERRUPT_MISS_UPM,
CBRSTATE_INTERRUPTED_MISS_UPM,
- CBRSTATE_BUSY_INTERRUPTED_MISS_UPM,
- CBRSTATE_REQUEST_ISSUE,
CBRSTATE_BUSY_INTERRUPT,
+ CBRSTATE_INTERRUPTED,
+ CBRSTATE_BCPY_CHECK,
+ CBRSTATE_WAIT_DONE,
};

/* CBE cbrexecstatus bits - defined in gru_instructions.h*/

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/