Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=06462d9263e168da3ecdff5a3d95ed470a91bbdc
Commit:     06462d9263e168da3ecdff5a3d95ed470a91bbdc
Parent:     85d02924a38789be35e83adba32eb6690535cfb0
Author:     Geert Uytterhoeven <[EMAIL PROTECTED]>
AuthorDate: Wed Sep 12 18:43:16 2007 +1000
Committer:  Paul Mackerras <[EMAIL PROTECTED]>
CommitDate: Fri Sep 14 01:33:25 2007 +1000

    [POWERPC] PS3: Add new LV1 error codes
    
    Add new error codes that may be returned by the LV1 hypervisor
    
    Signed-off-by: Geert Uytterhoeven <[EMAIL PROTECTED]>
    Signed-off-by: Geoff Levand <[EMAIL PROTECTED]>
    Signed-off-by: Paul Mackerras <[EMAIL PROTECTED]>
---
 include/asm-powerpc/ps3.h |    9 +++++++++
 1 files changed, 9 insertions(+), 0 deletions(-)

diff --git a/include/asm-powerpc/ps3.h b/include/asm-powerpc/ps3.h
index a6f3f5e..f577a16 100644
--- a/include/asm-powerpc/ps3.h
+++ b/include/asm-powerpc/ps3.h
@@ -229,6 +229,9 @@ enum lv1_result {
        LV1_INVALID_CLASS_ID            = -21,
        LV1_CONSTRAINT_NOT_SATISFIED    = -22,
        LV1_ALIGNMENT_ERROR             = -23,
+       LV1_HARDWARE_ERROR              = -24,
+       LV1_INVALID_DATA_FORMAT         = -25,
+       LV1_INVALID_OPERATION           = -26,
        LV1_INTERNAL_ERROR              = -32768,
 };
 
@@ -284,6 +287,12 @@ static inline const char* ps3_result(int result)
                return "LV1_CONSTRAINT_NOT_SATISFIED (-22)";
        case LV1_ALIGNMENT_ERROR:
                return "LV1_ALIGNMENT_ERROR (-23)";
+       case LV1_HARDWARE_ERROR:
+               return "LV1_HARDWARE_ERROR (-24)";
+       case LV1_INVALID_DATA_FORMAT:
+               return "LV1_INVALID_DATA_FORMAT (-25)";
+       case LV1_INVALID_OPERATION:
+               return "LV1_INVALID_OPERATION (-26)";
        case LV1_INTERNAL_ERROR:
                return "LV1_INTERNAL_ERROR (-32768)";
        default:
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to