diff options
author | Joyu Liao <joyul@juniper.net> | 2024-09-25 09:19:13 +0000 |
---|---|---|
committer | Kevin Bowling <kbowling@FreeBSD.org> | 2024-09-25 09:37:37 +0000 |
commit | 930a1e6f3d2dd629774f1b48b1acf7ba482ab659 (patch) | |
tree | b2121f73d5d5fe1e265d1cb816f5fe6e9536b42f /usr.bin/timeout/(public-mirror) | |
parent | 7b7e39221ec9f525a86b26d24d70260e51faa907 (diff) | |
download | src-main.tar.gz src-main.zip |
Based on sysinit_sub_id, SI_SUB_CLOCKS is after SI_SUB_CONFIGURE.
SI_SUB_CONFIGURE = 0x3800000, /* Configure devices */
At this stage, the variable “cold” will be set to 0.
SI_SUB_CLOCKS = 0x4800000, /* real-time and stat clocks*/
At this stage, the clock configuration will be done, and the real-time
clock can be used.
In the e1000 driver, if the API safe_pause_* are called between
SI_SUB_CONFIGURE and SI_SUB_CLOCKS stages, it will choose the wrong
clock source. The API safe_pause_* uses “cold” the value of which is
updated in SI_SUB_CONFIGURE, to decide if the real-time clock source is
ready. However, the real-time clock is not ready til the SI_SUB_CLOCKS
routines are done.
Obtained from: Juniper Networks
MFC after: 1 week
Differential Revision: https://reviews.freebsd.org/D42920
Diffstat (limited to 'usr.bin/timeout/(public-mirror)')
0 files changed, 0 insertions, 0 deletions