Re: if_ethersubr.c: if_ierrors -> if_iqdrops?

2021-11-24 Thread SAITOH Masanobu
On 2021/11/24 3:41, Christos Zoulas wrote: In article <87b00947-9e9a-f2c1-7c79-d3ba6e41a...@execsw.org>, SAITOH Masanobu wrote: Hi. On 2021/11/11 17:32, RVP wrote: On Wed, 10 Nov 2021, Ryota Ozaki wrote: Another option may be if_noproto.  ozaki-r On Wed, 10 Nov 2021, Havard

Re: if_ethersubr.c: if_ierrors -> if_iqdrops?

2021-11-22 Thread SAITOH Masanobu
s sending these short frames or what. The alc driver isn't reporting any received error counts at any rate. Thanks, -RVP -- --- SAITOH Masanobu (msai...@execsw.org msai...@netbsd.org)

to check timer availability in shutdown sequence

2020-06-25 Thread SAITOH Masanobu
setting cold = 1 after splhigh()). Thanks. -- ------- SAITOH Masanobu (msai...@execsw.org msai...@netbsd.org)

Re: kpause()'s timeout value

2020-06-23 Thread SAITOH Masanobu
On 2020/06/19 3:17, SAITOH Masanobu wrote: Hi. I'm now working to reduce ixgbe's busy loop using with kpause()[*1]. I wrote the following code: #define usec_delay(x) ixgbe_delay(x) #define msec_delay(x) ixgbe_delay((x) * 1000) void ixgbe_delay(unsigned int us) { if (__pre

kpause()'s timeout value

2020-06-18 Thread SAITOH Masanobu
*1] http://www.netbsd.org/~msaitoh/ixgbe-sleep-20200618-0.dif Thanks in advance. -- --- SAITOH Masanobu (msai...@execsw.org msai...@netbsd.org)

Re: TSC improvement

2020-06-15 Thread SAITOH Masanobu
possible to improve. - dtrace/amd64/dtrace_subr.c has it's own rdtsc code. I've not touched it. Please someone(TM) modify it if you want. Thanks. -- --- SAITOH Masanobu (msai...@execsw.org msai...@netbsd.org)

TSC improvement

2020-06-09 Thread SAITOH Masanobu
ction + rdtsc, but it's not good as [lm]fence. Both Intel and AMD's document say that the latency of rdtscp is bigger than rdtsc, so I suspect the difference of the result comes from it. And, thanks ad@, knakahara@, nonaka@ and some other people to help this work. --

Re: UEFI boot and PCI interrupt routing (amd64)

2020-06-03 Thread SAITOH Masanobu
pt wheh MSI-X is used. If INTx is used, it works. I don't know if the problem is caused from xHCI, ioapic or some others. Jaromir -- ------- SAITOH Masanobu (msai...@execsw.org msai...@netbsd.org)

Re: DVF_ATTACH_INPROGRESS

2018-11-30 Thread SAITOH Masanobu
e; /* Success!  */ @@ -177,6 +178,7 @@ intelfb_attach_task(struct i915drmkms_ta }; int error; +    sc->sc_dev->dv_flags &= ~DVF_ATTACH_INPROGRESS; error = drmfb_attach(&sc->sc_drmfb, &da); if (error) { aprint_error_dev(sc->sc_dev, "fail

EuroBSDCon 2015 DevSummit presentation material (IIJ)

2015-10-02 Thread SAITOH Masanobu
Hi, all. I put my presentation material at: http://www.netbsd.org/~msaitoh/EuroBSDCon2015-devsummit-IIJ-20151002-0.pdf Advice, opinion and discussion are welcome. Thanks in advance. -- --- SAITOH Masanobu (msai...@execsw.org

Re: Tester(s) needed: ixv(4)

2015-08-13 Thread SAITOH Masanobu
01) 5) Add passthrough setting of a virtual function. (You might want to add "blacklist ixgbevf" in /etc/modprobe.d/blacklist.conf) 6) You might have to add some other variable settings to your kernel's boot argumen

Re: Tester(s) needed: ixv(4)

2015-08-13 Thread SAITOH Masanobu
r testing. Accessing SR-IOV's extend capability is required to create VFs. It' not possible in -current now, but it will be possible when nonaka@'s patch is merged. > Thor > -- --- SAITOH Masanobu (msai...@execsw.org msai...@netbsd.org)

Re: if_wm between netbsd-6 and netbsd-7 issue

2015-01-09 Thread SAITOH Masanobu
SPI EEPROM > wm3: Ethernet address 00:18:fe:2e:d6:86 > igphy3 at wm3 phy 1: Intel IGP01E1000 Gigabit PHY, rev. 0 > igphy3: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, > 1000baseT-FDX, auto wm(4) has some debug code: > #ifdef WM_DEBUG > #define WM_DEBUG_LINK

Re: 4byte aligned com(4) and PCI_MAPREG_TYPE_MEM

2014-02-13 Thread SAITOH Masanobu
tter explicit "1" or sizeof(uint8_t) > if this means stride. When the first time I made that patch it was "1" and "4". And when I saw the code: COM_INIT_REGS(sc->sc_regs, iot, ioh, iobase, 1); I thought that someone should think "What is 1 mean? Number or flag?", so I rewrite to use sizeof() to make clear it's not a flag. I'd like to know other people's thought. > (you use "1" and "4" in com_puc.c) inconsistent. >> --- arch/hp300/dev/com_dio.c28 Apr 2008 20:23:19 - 1.8 >> +++ arch/hp300/dev/com_dio.c9 Feb 2014 17:43:21 - > > At least arch/hp300/dev/com_frodo.c was missed? Right. My falut. I'll add in the next patch. > --- > Izumi Tsutsui > -- --- SAITOH Masanobu (msai...@execsw.org msai...@netbsd.org) * 英語 - 自動検出 * 英語 * 日本語 * 英語 * 日本語 <#>

Re: 4byte aligned com(4) and PCI_MAPREG_TYPE_MEM

2014-02-13 Thread SAITOH Masanobu
Hi, Christos. (2014/02/10 5:26), Christos Zoulas wrote: > In article <52f7c96e.6000...@execsw.org>, > SAITOH Masanobu wrote: >> Hello, all. >> >> I'm now working to support Intel Quark X1000. >> This chip's internal com is MMIO(PCI_MAPREG_TYPE_MEM).

puccn improvement

2014-01-23 Thread SAITOH Masanobu
cn.h 22 Jul 2013 13:40:36 - 1.5 +++ sys/dev/pci/puccn.h 23 Jan 2014 18:56:23 - @@ -35,6 +35,7 @@ */ #include +#include /* * Machine independent support for PCI serial console support. @@ -44,4 +45,6 @@ * used before the normal PCI bus initialization. */ -int cpu_comcnprobe(s

Re: broadcom 57766 and jumbo frames

2013-07-03 Thread SAITOH Masanobu
It's time for me to buy iMac... ;-) -- --- SAITOH Masanobu (msai...@execsw.org msai...@netbsd.org)

Re: Another MII PHY fix.

2013-06-09 Thread SAITOH Masanobu
The FreeBSD's original change was if (sc->mii_tick++ == 0) so I'll fix to be the same with FreeBSD. Thanks! > /~\ The ASCII Mouse > \ / Ribbon Campaign > X Against HTML mo...@rodents-montreal.org > / \ Email!

Re: Another MII PHY fix.

2013-06-09 Thread SAITOH Masanobu
if (sc->mii_ticks == 0) > + return (0); > + > + /* Now increment the tick */ > + sc->mii_ticks++; > + > + /* > * Only retry autonegotiation every N seconds. >*/ > KASSERT(sc->mii_anegticks != 0); Done. Some MII PHY drivers have the same problem and have been fixed now. -- --- SAITOH Masanobu (msai...@execsw.org msai...@netbsd.org)

Re: ETHERCAP_* & ioctl()

2012-11-08 Thread SAITOH Masanobu
apabililties exist. C) Both ec_capabilities and ec_capenable exist and these are consistently used like other capability stuff. I suspect the majority is A. > I am curious whether these flags good for anything except diagnosing and > working around driver bugs? Currently, there i

Re: Panic at init on arm (Seagate Dockstar) with -current

2012-10-23 Thread SAITOH Masanobu
ould I open a PR? >> >> Andy This problem was fixed by arm32/bus_space.c rev. 1.65 yesterday. And another bus_space.c's bug was fixed today by Nick. Could you try again? -- --- SAITOH Masanobu (msai...@execsw.org msai...@netbsd.org)

Re: Panic at init on arm (Seagate Dockstar) with -current

2012-10-19 Thread SAITOH Masanobu
(2012/09/28 1:57), SAITOH Masanobu wrote: > Hi. > > (2012/09/27 2:59), Andy Ruhl wrote: >> Hello all, >> >> I posted this on port-arm a few weeks ago and I have someone helping >> me look at it, but I figured I would post again. >> >> My Seagate Dock

Re: Panic at init on arm (Seagate Dockstar) with -current

2012-09-27 Thread SAITOH Masanobu
t; If we get a fault we shouldn't have, set pmap_needs_pte_sync and retry. > > > To generate a diff of this commit: > cvs rdiff -u -r1.237 -r1.238 src/sys/arch/arm/arm32/pmap.c > > Please note that diffs are not public domain; they are subject to the > copyright notices on the relevant files. -- --- SAITOH Masanobu (msai...@execsw.org msai...@netbsd.org)