artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
529a736
)
Handle clock that can't be gated as a no-op.
author
kettenis
<kettenis@openbsd.org>
Wed, 28 Dec 2022 11:20:09 +0000
(11:20 +0000)
committer
kettenis
<kettenis@openbsd.org>
Wed, 28 Dec 2022 11:20:09 +0000
(11:20 +0000)
ok patrick@
sys/arch/riscv64/dev/stfclock.c
patch
|
blob
|
history
diff --git
a/sys/arch/riscv64/dev/stfclock.c
b/sys/arch/riscv64/dev/stfclock.c
index
f91fe23
..
2fef8b6
100644
(file)
--- a/
sys/arch/riscv64/dev/stfclock.c
+++ b/
sys/arch/riscv64/dev/stfclock.c
@@
-1,4
+1,4
@@
-/* $OpenBSD: stfclock.c,v 1.
2 2022/06/12 10:51:55
kettenis Exp $ */
+/* $OpenBSD: stfclock.c,v 1.
3 2022/12/28 11:20:09
kettenis Exp $ */
/*
* Copyright (c) 2022 Mark Kettenis <kettenis@openbsd.org>
*
@@
-289,6
+289,9
@@
stfclock_enable(void *cookie, uint32_t *cells, int on)
else
HCLR4(sc, idx * 4, 1U << 31);
return;
+ case JH7100_CLK_GMAC_ROOT_DIV:
+ /* No gate */
+ return;
}
printf("%s: 0x%08x\n", __func__, idx);