|
@@ -6,7 +6,7 @@
|
|
* GPL LICENSE SUMMARY
|
|
* GPL LICENSE SUMMARY
|
|
*
|
|
*
|
|
* Copyright(c) 2005 - 2014 Intel Corporation. All rights reserved.
|
|
* Copyright(c) 2005 - 2014 Intel Corporation. All rights reserved.
|
|
- * Copyright(c) 2015 Intel Deutschland GmbH
|
|
|
|
|
|
+ * Copyright(c) 2015 - 2016 Intel Deutschland GmbH
|
|
*
|
|
*
|
|
* This program is free software; you can redistribute it and/or modify
|
|
* This program is free software; you can redistribute it and/or modify
|
|
* it under the terms of version 2 of the GNU General Public License as
|
|
* it under the terms of version 2 of the GNU General Public License as
|
|
@@ -32,7 +32,7 @@
|
|
* BSD LICENSE
|
|
* BSD LICENSE
|
|
*
|
|
*
|
|
* Copyright(c) 2005 - 2014 Intel Corporation. All rights reserved.
|
|
* Copyright(c) 2005 - 2014 Intel Corporation. All rights reserved.
|
|
- * Copyright(c) 2015 Intel Deutschland GmbH
|
|
|
|
|
|
+ * Copyright(c) 2015 - 2016 Intel Deutschland GmbH
|
|
* All rights reserved.
|
|
* All rights reserved.
|
|
*
|
|
*
|
|
* Redistribution and use in source and binary forms, with or without
|
|
* Redistribution and use in source and binary forms, with or without
|
|
@@ -368,20 +368,24 @@ static inline unsigned int FH_MEM_CBBC_QUEUE(unsigned int chnl)
|
|
#define RFH_RXF_DMA_RBDCB_SIZE_512 (0x9 << RFH_RXF_DMA_RBDCB_SIZE_POS)
|
|
#define RFH_RXF_DMA_RBDCB_SIZE_512 (0x9 << RFH_RXF_DMA_RBDCB_SIZE_POS)
|
|
#define RFH_RXF_DMA_RBDCB_SIZE_1024 (0xA << RFH_RXF_DMA_RBDCB_SIZE_POS)
|
|
#define RFH_RXF_DMA_RBDCB_SIZE_1024 (0xA << RFH_RXF_DMA_RBDCB_SIZE_POS)
|
|
#define RFH_RXF_DMA_RBDCB_SIZE_2048 (0xB << RFH_RXF_DMA_RBDCB_SIZE_POS)
|
|
#define RFH_RXF_DMA_RBDCB_SIZE_2048 (0xB << RFH_RXF_DMA_RBDCB_SIZE_POS)
|
|
-#define RFH_RXF_DMA_MIN_RB_SIZE_MASK (0x03000000) /* bit 24-25 */
|
|
|
|
|
|
+#define RFH_RXF_DMA_MIN_RB_SIZE_MASK (0x03000000) /* bit 24-25 */
|
|
#define RFH_RXF_DMA_MIN_RB_SIZE_POS 24
|
|
#define RFH_RXF_DMA_MIN_RB_SIZE_POS 24
|
|
-#define RFH_RXF_DMA_MIN_RB_4_8 (3 << RFH_RXF_DMA_MIN_RB_SIZE_POS)
|
|
|
|
-#define RFH_RXF_DMA_SINGLE_FRAME_MASK (0x20000000) /* bit 29 */
|
|
|
|
-#define RFH_DMA_EN_MASK (0xC0000000) /* bits 30-31*/
|
|
|
|
-#define RFH_DMA_EN_ENABLE_VAL BIT(31)
|
|
|
|
|
|
+#define RFH_RXF_DMA_MIN_RB_4_8 (3 << RFH_RXF_DMA_MIN_RB_SIZE_POS)
|
|
|
|
+#define RFH_RXF_DMA_DROP_TOO_LARGE_MASK (0x04000000) /* bit 26 */
|
|
|
|
+#define RFH_RXF_DMA_SINGLE_FRAME_MASK (0x20000000) /* bit 29 */
|
|
|
|
+#define RFH_DMA_EN_MASK (0xC0000000) /* bits 30-31*/
|
|
|
|
+#define RFH_DMA_EN_ENABLE_VAL BIT(31)
|
|
|
|
|
|
#define RFH_RXF_RXQ_ACTIVE 0xA0980C
|
|
#define RFH_RXF_RXQ_ACTIVE 0xA0980C
|
|
|
|
|
|
#define RFH_GEN_CFG 0xA09800
|
|
#define RFH_GEN_CFG 0xA09800
|
|
|
|
+#define RFH_GEN_CFG_SERVICE_DMA_SNOOP BIT(0)
|
|
|
|
+#define RFH_GEN_CFG_RFH_DMA_SNOOP BIT(1)
|
|
|
|
+#define RFH_GEN_CFG_RB_CHUNK_SIZE BIT(4) /* 0 - 64B, 1- 128B */
|
|
#define RFH_GEN_CFG_DEFAULT_RXQ_NUM_MASK 0xF00
|
|
#define RFH_GEN_CFG_DEFAULT_RXQ_NUM_MASK 0xF00
|
|
-#define RFH_GEN_CFG_SERVICE_DMA_SNOOP BIT(0)
|
|
|
|
-#define RFH_GEN_CFG_RFH_DMA_SNOOP BIT(1)
|
|
|
|
-#define DEFAULT_RXQ_NUM 8
|
|
|
|
|
|
+#define RFH_GEN_CFG_DEFAULT_RXQ_NUM_POS 8
|
|
|
|
+
|
|
|
|
+#define DEFAULT_RXQ_NUM 0
|
|
|
|
|
|
/* end of 9000 rx series registers */
|
|
/* end of 9000 rx series registers */
|
|
|
|
|