Implement software control for the internal delays of the RTL8211F PHY.
authorkettenis <kettenis@openbsd.org>
Wed, 5 Apr 2023 10:45:07 +0000 (10:45 +0000)
committerkettenis <kettenis@openbsd.org>
Wed, 5 Apr 2023 10:45:07 +0000 (10:45 +0000)
commit8a9da3c4b1580268ebe2e287a63a66317fe0de44
tree251449189eace0fb1bb65fc3bf70924bdf9084f6
parent0c275c01dd4d9cfe9edb425613cf33fbb4cbc203
Implement software control for the internal delays of the RTL8211F PHY.
Since we need to retain the hardware/firmware configuration of the delays
in most existing hardware that uses rgephy(4) (such as PCIe NICs), add a
bew MIIF_SETDELAY flag that controls the software configuration of the
delays.

ok dlg@, jsg@
sys/dev/mii/miivar.h
sys/dev/mii/rgephy.c
sys/dev/mii/rgephyreg.h