projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8db23f7
)
MIPS: Netlogic: Fix cop0 prid check in AHCI init
author
Ganesan Ramalingam
<
[email protected]
>
Wed, 7 Jan 2015 11:28:24 +0000
(16:58 +0530)
committer
Ralf Baechle
<
[email protected]
>
Wed, 1 Apr 2015 15:21:48 +0000
(17:21 +0200)
PRID register should be masked with IMP_MASK to get processor ID.
Signed-off-by: Ganesan Ramalingam <
[email protected]
>
Signed-off-by: Jayachandran C <
[email protected]
>
Cc:
[email protected]
Patchwork: https://patchwork.linux-mips.org/patch/8883/
Signed-off-by: Ralf Baechle <
[email protected]
>
arch/mips/netlogic/xlp/ahci-init.c
patch
|
blob
|
history
diff --git
a/arch/mips/netlogic/xlp/ahci-init.c
b/arch/mips/netlogic/xlp/ahci-init.c
index a9d0fae02103653ea10a4f51cd797bb2c8e15ae4..92be1a3258b1615697607d951dd1045469bad36e 100644
(file)
--- a/
arch/mips/netlogic/xlp/ahci-init.c
+++ b/
arch/mips/netlogic/xlp/ahci-init.c
@@
-151,7
+151,7
@@
static void nlm_sata_firmware_init(int node)
static int __init nlm_ahci_init(void)
{
int node = 0;
- int chip = read_c0_prid() & PRID_
REV
_MASK;
+ int chip = read_c0_prid() & PRID_
IMP
_MASK;
if (chip == PRID_IMP_NETLOGIC_XLP3XX)
nlm_sata_firmware_init(node);