Date: Wed, 18 Nov 2020 10:27:19 +0100 From: Norbert Koch <nkoch@demig.de> To: <freebsd-hackers@freebsd.org> Subject: pci function level reset Message-ID: <8a8c7813-18fc-6dd3-28b3-803e48f89131@demig.de>
next in thread | raw e-mail | index | archive | help
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@demig.de * at@demig.de * * http://www.demig.de * http://www.demig.de * ***********************************************************************
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?8a8c7813-18fc-6dd3-28b3-803e48f89131>