|
@@ -252,11 +252,15 @@ static int pvr2_debugifc_do1cmd(struct pvr2_hdw *hdw,const char *buf,
|
|
|
scnt = debugifc_isolate_word(buf,count,&wptr,&wlen);
|
|
|
if (scnt && wptr) {
|
|
|
count -= scnt; buf += scnt;
|
|
|
- if (debugifc_match_keyword(wptr,wlen,"prom")) {
|
|
|
- pvr2_hdw_cpufw_set_enabled(hdw,!0,!0);
|
|
|
- } else if (debugifc_match_keyword(wptr,wlen,
|
|
|
- "ram")) {
|
|
|
- pvr2_hdw_cpufw_set_enabled(hdw,0,!0);
|
|
|
+ if (debugifc_match_keyword(wptr, wlen,
|
|
|
+ "prom")) {
|
|
|
+ pvr2_hdw_cpufw_set_enabled(hdw, 2, !0);
|
|
|
+ } else if (debugifc_match_keyword(wptr, wlen,
|
|
|
+ "ram8k")) {
|
|
|
+ pvr2_hdw_cpufw_set_enabled(hdw, 0, !0);
|
|
|
+ } else if (debugifc_match_keyword(wptr, wlen,
|
|
|
+ "ram16k")) {
|
|
|
+ pvr2_hdw_cpufw_set_enabled(hdw, 1, !0);
|
|
|
} else {
|
|
|
return -EINVAL;
|
|
|
}
|