diff options
| author | Mike Karels <karels@FreeBSD.org> | 2023-08-25 20:11:46 +0000 |
|---|---|---|
| committer | Mike Karels <karels@FreeBSD.org> | 2023-08-25 20:11:46 +0000 |
| commit | b4ef09b9eb117d622bb274448e5cffcae0ba3488 (patch) | |
| tree | 8f2b80b1b57949a494c63e86ab76b81f3250f603 /sys/dev/netmap/netmap_null.c | |
| parent | 7aec088cbce8381bd5bf730419b8fdcddf43b08d (diff) | |
clk_fixed: reduce and clarify messages due to missing clk-frequency
The current dts for Raspberry 3B+ and 4B have 2 disabled fixed-clock
nodes which have no clock-frequency value. Such nodes are non-standard.
This results in about 150 messages during autoconfiguration:
clk_fixed2: <Fixed clock> disabled on ofwbus0
clk_fixed2: Cannot FDT parameters.
device_attach: clk_fixed2 attach returned 6
Defensively check for clock-frequency in the probe routine, and if
none, return an error with a more direct error message (1 line per
occurrence, 50 lines total):
clk_fixed2: clock-fixed has no clock-frequency
Based on a patch by manu.
MFC after: 1 week
Reviewed by: manu
Differential Revision: https://reviews.freebsd.org/D41594
Diffstat (limited to 'sys/dev/netmap/netmap_null.c')
0 files changed, 0 insertions, 0 deletions
