qcacmn: Initial changes for pine
Add device ID change and target type checks for pine. Also remove memory war added for Hk emulation. Change-Id: Idf531a48a03202d4fb241a92a1d671ee2b94cfbd CRs-fixed: 2453899
This commit is contained in:
committed by
nshrivas
parent
1e8591a2a0
commit
5d3475b985
@@ -85,6 +85,7 @@ static ssize_t ath_procfs_diag_read(struct file *file, char __user *buf,
|
||||
(tgt_info->target_type == TARGET_TYPE_QCA6390) ||
|
||||
(tgt_info->target_type == TARGET_TYPE_QCA8074) ||
|
||||
(tgt_info->target_type == TARGET_TYPE_QCA8074V2) ||
|
||||
(tgt_info->target_type == TARGET_TYPE_QCN9000) ||
|
||||
(tgt_info->target_type == TARGET_TYPE_QCA6018)))) {
|
||||
memtype = ((uint32_t)(*pos) & 0xff000000) >> 24;
|
||||
offset = (uint32_t)(*pos) & 0xffffff;
|
||||
@@ -160,6 +161,7 @@ static ssize_t ath_procfs_diag_write(struct file *file,
|
||||
(tgt_info->target_type == TARGET_TYPE_QCA6390) ||
|
||||
(tgt_info->target_type == TARGET_TYPE_QCA8074) ||
|
||||
(tgt_info->target_type == TARGET_TYPE_QCA8074V2) ||
|
||||
(tgt_info->target_type == TARGET_TYPE_QCN9000) ||
|
||||
(tgt_info->target_type == TARGET_TYPE_QCA6018)))) {
|
||||
memtype = ((uint32_t)(*pos) & 0xff000000) >> 24;
|
||||
offset = (uint32_t)(*pos) & 0xffffff;
|
||||
|
||||
Reference in New Issue
Block a user