Page MenuHomeFreeBSD

D56204.diff
No OneTemporary

D56204.diff

diff --git a/sys/dev/clk/clk_fixed.c b/sys/dev/clk/clk_fixed.c
--- a/sys/dev/clk/clk_fixed.c
+++ b/sys/dev/clk/clk_fixed.c
@@ -158,8 +158,10 @@
switch (clk_type) {
case CLK_TYPE_FIXED:
if (!OF_hasprop(ofw_bus_get_node(dev), "clock-frequency")) {
- device_printf(dev,
- "clock-fixed has no clock-frequency\n");
+ if (bootverbose) {
+ device_printf(dev,
+ "clock-fixed has no clock-frequency\n");
+ }
return (ENXIO);
}
device_set_desc(dev, "Fixed clock");

File Metadata

Mime Type
text/plain
Expires
Fri, Aug 14, 12:38 AM (13 h, 15 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
36689274
Default Alt Text
D56204.diff (494 B)

Event Timeline