ure(4): fix URE_WDT6_SET_MODE register definition

2019-04-09 Thread Kevin Lo
Hi, Based on FreeBSD r346028, this fixes ure(4) not detected after a reboot. Tested: ure0 at uhub0 port 4 configuration 1 interface 0 "Realtek USB 10/100 LAN" rev 2.10/20.00 addr 3 ure0: ver 4c10, address 00:e0:4c:xx:xx:xx rlphy0 at ure0 phy 0: RTL8201E 10/100 PHY, rev. 2 ure0 at uhub0 port 4 c

Re: pci_sdhc: Intel eMMC controller fix

2019-04-09 Thread James Hastings
On 03/29/2019 05:22 AM, James Hastings wrote: > Index: dev/pci/pcidevs > === > RCS file: /cvs/src/sys/dev/pci/pcidevs,v > retrieving revision 1.1881 > diff -u -p -r1.1881 pcidevs > --- dev/pci/pcidevs 20 Mar 2019 10:51:25 -

Re: introduce 'pfctl -FR' to reset settings to defaults

2019-04-09 Thread Alexandr Nedvedicky
Hello Klemens, On Tue, Apr 09, 2019 at 04:02:06PM +0200, Klemens Nanni wrote: > OK either way, but see below. > > On Mon, Apr 08, 2019 at 09:56:46AM +0200, Alexandr Nedvedicky wrote: > > + pf.ifname = strdup("none"); > > + if (pf.ifname == NULL) > > + err(1, "%s: strdup", __func__);

Re: introduce 'pfctl -FR' to reset settings to defaults

2019-04-09 Thread Klemens Nanni
OK either way, but see below. On Mon, Apr 08, 2019 at 09:56:46AM +0200, Alexandr Nedvedicky wrote: > + pf.ifname = strdup("none"); > + if (pf.ifname == NULL) > + err(1, "%s: strdup", __func__); > + else > + pf.ifname_set = 1; This branch is redundant and confusi

Re: sfp module info and diagnostics

2019-04-09 Thread Hrvoje Popovski
On 8.4.2019. 22:13, Stuart Henderson wrote: > On 2019/04/08 19:55, Hrvoje Popovski wrote: >> On 8.4.2019. 11:33, David Gwynne wrote: >>> this updates the ifconfig part of the diff >> This is great feature... thank you .. >> it would be great if dBm could be exported via snmp :) > You can do this vi

Re: sfp module info and diagnostics

2019-04-09 Thread Hrvoje Popovski
On 8.4.2019. 19:55, Hrvoje Popovski wrote: > On 8.4.2019. 11:33, David Gwynne wrote: >> this updates the ifconfig part of the diff > > This is great feature... thank you .. maybe to put laser wavelength in sff output? ix0 - 1000BASE-LX x3550m4# ifconfig ix0 sff ix0: identifier SFP (03) c