CVSROOT: /cvs
Module name: src
Changes by: [email protected] 2026/09/16 11:03:45
Modified files:
sys/arch/riscv64/dev: smtiic.c
Log message:
Work around smtiic(4) misbehavior to fix RTC setting & reboots
For some reason this i2c chip starts to misbehave after a few
hours/days, and when that happens setting the RTC or halting/rebooting
becomes impossible. Waiting a bit after enabling the device appears to
reliably fix this and alleviates the pain of handling remote machines
such as the riscv64.p ports cluster. There is probably a better fix but
I'm not sure which one exactly.
ok kettenis@