pci function level reset
Norbert Koch
nkoch at demig.de
Wed Nov 18 09:27:50 UTC 2020
Hello.
I am running 12.1 on an embedded board which is equipped with an
intel gbit ethernet controller (Intel PRO/1000, em driver).
Either the ethernet controller or the bios has a bug, which
the board manufacturer confirmed.
After soft reboot gbit ethernet sometimes stops working
while 100/10mbit are ok.
Only after power down gbit works again (mostly).
As they only support windows and linux, their "fix" is writing
a '1' to /sys/bus/pci/devices/$dev/reset.
They say this is a "function level reset", whatever this means.
Is there any way (e.g. using pciconf) to do this under FreeBSD?
Thank you.
***********************************************************************
* demig Prozessautomatisierung GmbH * demig Anlagentechnik GmbH *
* * *
* Anschrift: Haardtstrasse 40 * Haardtstrasse 40 *
* D-57076 Siegen * D-57076 Siegen *
* Registergericht: Siegen HRB 2819 * Siegen HRB 5532 *
* Geschaeftsfuehrer: Joachim Herbst, * Joachim Herbst, *
* Winfried Held * Winfried Held *
* Telefon: +49 271 772020 * +49 271 772020 *
* Telefax: +49 271 74704 * +49 271 74704 *
* E-Mail: info at demig.de * at at demig.de *
* http://www.demig.de * http://www.demig.de *
***********************************************************************
More information about the freebsd-hackers
mailing list