| 1 | /*************************************************************************** |
|---|
| 2 | * Copyright (c) 2003-2008, Broadcom Corporation |
|---|
| 3 | * All Rights Reserved |
|---|
| 4 | * Confidential Property of Broadcom Corporation |
|---|
| 5 | * |
|---|
| 6 | * THIS SOFTWARE MAY ONLY BE USED SUBJECT TO AN EXECUTED SOFTWARE LICENSE |
|---|
| 7 | * AGREEMENT BETWEEN THE USER AND BROADCOM. YOU HAVE NO RIGHT TO USE OR |
|---|
| 8 | * EXPLOIT THIS MATERIAL EXCEPT SUBJECT TO THE TERMS OF SUCH AN AGREEMENT. |
|---|
| 9 | * |
|---|
| 10 | * $brcm_Workfile: bdma_errors.h $ |
|---|
| 11 | * $brcm_Revision: Hydra_Software_Devel/4 $ |
|---|
| 12 | * $brcm_Date: 7/11/08 11:49a $ |
|---|
| 13 | * |
|---|
| 14 | * Module Description: |
|---|
| 15 | * |
|---|
| 16 | * Revision History: |
|---|
| 17 | * |
|---|
| 18 | * $brcm_Log: /magnum/portinginterface/dma/7400/bdma_errors.h $ |
|---|
| 19 | * |
|---|
| 20 | * Hydra_Software_Devel/4 7/11/08 11:49a syang |
|---|
| 21 | * PR 43729: make bdma.h chip independent |
|---|
| 22 | * |
|---|
| 23 | * Hydra_Software_Devel/3 12/7/07 6:39p syang |
|---|
| 24 | * PR 34606: move SetCrypto to Tran level from Engine level for better |
|---|
| 25 | * sharing by threads of the same progress |
|---|
| 26 | * |
|---|
| 27 | * Hydra_Software_Devel/2 3/19/07 4:18p syang |
|---|
| 28 | * PR 28171: prepare to add sharf support |
|---|
| 29 | * |
|---|
| 30 | * Hydra_Software_Devel/1 10/23/03 11:02a syang |
|---|
| 31 | * init version |
|---|
| 32 | * |
|---|
| 33 | ***************************************************************************/ |
|---|
| 34 | #ifndef BDMA_ERRORS_H__ |
|---|
| 35 | #define BDMA_ERRORS_H__ |
|---|
| 36 | |
|---|
| 37 | #include "berr_ids.h" |
|---|
| 38 | |
|---|
| 39 | #ifdef __cplusplus |
|---|
| 40 | extern "C" { |
|---|
| 41 | #endif |
|---|
| 42 | |
|---|
| 43 | |
|---|
| 44 | /*************************************************************************** |
|---|
| 45 | Summary: |
|---|
| 46 | DMA specific error code. |
|---|
| 47 | |
|---|
| 48 | Description: |
|---|
| 49 | |
|---|
| 50 | |
|---|
| 51 | See Also: |
|---|
| 52 | BDMA_Mem_Tran_Create, BDMA_Mem_Tran_SetBlockInfo |
|---|
| 53 | BDMA_Mem_Tran_Start |
|---|
| 54 | BDMA_Mem_Tran_Reset, BDMA_Mem_Tran_Destroy |
|---|
| 55 | BDMA_Pci_Tran_Create, BDMA_Pci_Tran_SetBlockInfo |
|---|
| 56 | BDMA_Pci_Tran_Start |
|---|
| 57 | BDMA_Pci_Tran_Reset, BDMA_Pci_Tran_Destroy |
|---|
| 58 | ***************************************************************************/ |
|---|
| 59 | #define BDMA_ERR_TRAN_IN_PROGRESS BERR_MAKE_CODE(BERR_DMA_ID, 0x0101) |
|---|
| 60 | #define BDMA_ERR_ENGINE_BUSY BERR_MAKE_CODE(BERR_DMA_ID, 0x0102) |
|---|
| 61 | #define BDMA_ERR_BLOCK_INFO_UNSET BERR_MAKE_CODE(BERR_DMA_ID, 0x0103) |
|---|
| 62 | #define BDMA_ERR_OUT_OF_QUEUE BERR_MAKE_CODE(BERR_DMA_ID, 0x0104) |
|---|
| 63 | #define BDMA_ERR_ENGINE_OCCUPIED BERR_MAKE_CODE(BERR_DMA_ID, 0x0105) |
|---|
| 64 | #define BDMA_ERR_NOT_WORD_ALIGNED BERR_MAKE_CODE(BERR_DMA_ID, 0x0106) |
|---|
| 65 | #define BDMA_ERR_NOT_CRYPT_ALIGNED BERR_MAKE_CODE(BERR_DMA_ID, 0x0107) |
|---|
| 66 | #define BDMA_ERR_SIZE_OUT_RANGE BERR_MAKE_CODE(BERR_DMA_ID, 0x0108) |
|---|
| 67 | #define BDMA_ERR_OVERLAP BERR_MAKE_CODE(BERR_DMA_ID, 0x0109) |
|---|
| 68 | #define BDMA_ERR_SG_MISMATCH BERR_MAKE_CODE(BERR_DMA_ID, 0x010a) |
|---|
| 69 | #define BDMA_ERR_OBSOLETE_API_MIX BERR_MAKE_CODE(BERR_DMA_ID, 0x010b) |
|---|
| 70 | #define BDMA_ERR_ENGINE_NOT_SUPPORTED BERR_MAKE_CODE(BERR_DMA_ID, 0x010c) |
|---|
| 71 | #define BDMA_ERR_FEATURE_NOT_SUPPORTED BERR_MAKE_CODE(BERR_DMA_ID, 0x010d) |
|---|
| 72 | |
|---|
| 73 | #ifdef __cplusplus |
|---|
| 74 | } |
|---|
| 75 | #endif |
|---|
| 76 | |
|---|
| 77 | #endif /* #ifndef BDMA_ERRORS_H__ */ |
|---|
| 78 | /* End of file. */ |
|---|