aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ps3
diff options
context:
space:
mode:
authorYuji Mano <yuji.mano@am.sony.com>2008-05-28 18:57:18 +0000
committerYuji Mano <yuji.mano@am.sony.com>2008-05-28 18:57:18 +0000
commita06f169bac2318cb751bb866ee4f084ca68e6141 (patch)
treeca241c0a299de1935d66107d76453fb4c907d011 /target/linux/ps3
parent1e7ed027d190ce39925c30b7bbd27c76a1b2a03c (diff)
downloadupstream-a06f169bac2318cb751bb866ee4f084ca68e6141.tar.gz
upstream-a06f169bac2318cb751bb866ee4f084ca68e6141.tar.bz2
upstream-a06f169bac2318cb751bb866ee4f084ca68e6141.zip
Reduce the kernel verbosity of the ps3_system_bus_match output for ps3 builds.
Signed-off-by: Geoff Levand <geoffrey.levand@am.sony.com> SVN-Revision: 11282
Diffstat (limited to 'target/linux/ps3')
-rw-r--r--target/linux/ps3/Makefile9
-rw-r--r--target/linux/ps3/patches-2.6.25/100-ps3-system-bus-quiet-match-output.patch69
2 files changed, 72 insertions, 6 deletions
diff --git a/target/linux/ps3/Makefile b/target/linux/ps3/Makefile
index 14dbc97796..aacb116ae1 100644
--- a/target/linux/ps3/Makefile
+++ b/target/linux/ps3/Makefile
@@ -20,13 +20,10 @@ define Target/Description
Build bootloader images for the Sony PS3 Game Console
endef
-# no patches required
-define Kernel/Prepare/ps3
- bzcat $(DL_DIR)/$(LINUX_SOURCE) | $(TAR) -C $(KERNEL_BUILD_DIR) $(TAR_OPTIONS)
-endef
-
+# no generic patches required
define Kernel/Prepare
- $(call Kernel/Prepare/ps3)
+ bzcat $(DL_DIR)/$(LINUX_SOURCE) | $(TAR) -C $(KERNEL_BUILD_DIR) $(TAR_OPTIONS)
+ $(call PatchDir,$(PATCH_DIR),)
endef
KERNELNAME:="zImage"
diff --git a/target/linux/ps3/patches-2.6.25/100-ps3-system-bus-quiet-match-output.patch b/target/linux/ps3/patches-2.6.25/100-ps3-system-bus-quiet-match-output.patch
new file mode 100644
index 0000000000..53e88bdabc
--- /dev/null
+++ b/target/linux/ps3/patches-2.6.25/100-ps3-system-bus-quiet-match-output.patch
@@ -0,0 +1,69 @@
+Subject: PS3: Quiet system bus match output
+
+Reduce the verbosity of the output from ps3_system_bus_match().
+
+Signed-off-by: Geoff Levand <geoffrey.levand@am.sony.com>
+---
+ arch/powerpc/platforms/ps3/system-bus.c | 21 +++++++++++++--------
+ 1 file changed, 13 insertions(+), 8 deletions(-)
+
+--- a/arch/powerpc/platforms/ps3/system-bus.c
++++ b/arch/powerpc/platforms/ps3/system-bus.c
+@@ -349,9 +349,14 @@ static int ps3_system_bus_match(struct d
+
+ result = dev->match_id == drv->match_id;
+
+- pr_info("%s:%d: dev=%u(%s), drv=%u(%s): %s\n", __func__, __LINE__,
+- dev->match_id, dev->core.bus_id, drv->match_id, drv->core.name,
+- (result ? "match" : "miss"));
++ if (result)
++ pr_info("%s:%d: dev=%u(%s), drv=%u(%s): match\n", __func__,
++ __LINE__, dev->match_id, dev->core.bus_id,
++ drv->match_id, drv->core.name);
++ else
++ pr_debug("%s:%d: dev=%u(%s), drv=%u(%s): miss\n", __func__,
++ __LINE__, dev->match_id, dev->core.bus_id,
++ drv->match_id, drv->core.name);
+ return result;
+ }
+
+@@ -362,7 +367,7 @@ static int ps3_system_bus_probe(struct d
+ struct ps3_system_bus_driver *drv;
+
+ BUG_ON(!dev);
+- pr_info(" -> %s:%d: %s\n", __func__, __LINE__, _dev->bus_id);
++ pr_debug(" -> %s:%d: %s\n", __func__, __LINE__, _dev->bus_id);
+
+ drv = ps3_system_bus_dev_to_system_bus_drv(dev);
+ BUG_ON(!drv);
+@@ -370,10 +375,10 @@ static int ps3_system_bus_probe(struct d
+ if (drv->probe)
+ result = drv->probe(dev);
+ else
+- pr_info("%s:%d: %s no probe method\n", __func__, __LINE__,
++ pr_debug("%s:%d: %s no probe method\n", __func__, __LINE__,
+ dev->core.bus_id);
+
+- pr_info(" <- %s:%d: %s\n", __func__, __LINE__, dev->core.bus_id);
++ pr_debug(" <- %s:%d: %s\n", __func__, __LINE__, dev->core.bus_id);
+ return result;
+ }
+
+@@ -384,7 +389,7 @@ static int ps3_system_bus_remove(struct
+ struct ps3_system_bus_driver *drv;
+
+ BUG_ON(!dev);
+- pr_info(" -> %s:%d: %s\n", __func__, __LINE__, _dev->bus_id);
++ pr_debug(" -> %s:%d: %s\n", __func__, __LINE__, _dev->bus_id);
+
+ drv = ps3_system_bus_dev_to_system_bus_drv(dev);
+ BUG_ON(!drv);
+@@ -395,7 +400,7 @@ static int ps3_system_bus_remove(struct
+ dev_dbg(&dev->core, "%s:%d %s: no remove method\n",
+ __func__, __LINE__, drv->core.name);
+
+- pr_info(" <- %s:%d: %s\n", __func__, __LINE__, dev->core.bus_id);
++ pr_debug(" <- %s:%d: %s\n", __func__, __LINE__, dev->core.bus_id);
+ return result;
+ }
+