Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 91551
b: refs/heads/master
c: 7f4392c
h: refs/heads/master
i:
  91549: 1515a29
  91547: 92b9b28
  91543: 72d88be
  91535: 259c5f7
  91519: a3321f5
v: v3
  • Loading branch information
David Woodhouse authored and Paul Mackerras committed Apr 16, 2008
1 parent 8d84683 commit 20bc48b
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 612212a3f2f053ea68ce9cd16d3deeca7754e8c9
refs/heads/master: 7f4392cdcc63fea72fc77d14497059267d77d5d0
8 changes: 8 additions & 0 deletions trunk/arch/powerpc/kernel/prom_init.c
Original file line number Diff line number Diff line change
Expand Up @@ -2240,6 +2240,14 @@ static void __init fixup_device_tree_efika(void)
if (rv != PROM_ERROR && (strcmp(prop, "chrp") == 0))
prom_setprop(node, "/", "device_type", "efika", sizeof("efika"));

/* CODEGEN,description is exposed in /proc/cpuinfo so
fix that too */
rv = prom_getprop(node, "CODEGEN,description", prop, sizeof(prop));
if (rv != PROM_ERROR && (strstr(prop, "CHRP")))
prom_setprop(node, "/", "CODEGEN,description",
"Efika 5200B PowerPC System",
sizeof("Efika 5200B PowerPC System"));

/* Fixup bestcomm interrupts property */
node = call_prom("finddevice", 1, 1, ADDR("/builtin/bestcomm"));
if (PHANDLE_VALID(node)) {
Expand Down

0 comments on commit 20bc48b

Please sign in to comment.