Add PCI IDs for Intel Apollo Lake SoC

2018-12-16 Thread Kevin Lo
Hi, Diff below adds PCI product IDs found on Intel Leaf Hill CRB, ok? Index: sys/dev/pci/pcidevs === RCS file: /cvs/src/sys/dev/pci/pcidevs,v retrieving revision 1.1871 diff -u -p -u -p -r1.1871 pcidevs --- sys/dev/pci/pcidevs 16 Dec

Re: convert some timeout_add to timeout_add_*

2018-12-16 Thread Claudio Jeker
On Mon, Dec 17, 2018 at 08:18:42AM +0100, Claudio Jeker wrote: > On Sun, Dec 16, 2018 at 04:58:35PM -0600, Scott Cheloha wrote: > > On Sun, Dec 16, 2018 at 06:45:39PM +0100, Claudio Jeker wrote: > > > Simple conversion of timeout_add(X, Y * hz) to timeout_add_sec(X, Y) > > > and timeout_add(X, tvto

Re: convert some timeout_add to timeout_add_*

2018-12-16 Thread Claudio Jeker
On Sun, Dec 16, 2018 at 04:58:35PM -0600, Scott Cheloha wrote: > On Sun, Dec 16, 2018 at 06:45:39PM +0100, Claudio Jeker wrote: > > Simple conversion of timeout_add(X, Y * hz) to timeout_add_sec(X, Y) > > and timeout_add(X, tvtohz(&tv)) to timeout_add_tv(X, &tv). > > Remember that tvtohz(9) adds a

Re: convert some timeout_add to timeout_add_*

2018-12-16 Thread Scott Cheloha
On Sun, Dec 16, 2018 at 06:45:39PM +0100, Claudio Jeker wrote: > Simple conversion of timeout_add(X, Y * hz) to timeout_add_sec(X, Y) > and timeout_add(X, tvtohz(&tv)) to timeout_add_tv(X, &tv). Remember that tvtohz(9) adds an extra tick where timeout_add_tv(9) does not. That doesn't look to be a

Re: convert some timeout_add to timeout_add_*

2018-12-16 Thread Klemens Nanni
On Sun, Dec 16, 2018 at 06:45:39PM +0100, Claudio Jeker wrote: > Simple conversion of timeout_add(X, Y * hz) to timeout_add_sec(X, Y) > and timeout_add(X, tvtohz(&tv)) to timeout_add_tv(X, &tv). OK

Re: [PATCH] Gemini Lake SoC pcidevs

2018-12-16 Thread Heppler, J. Scott
Jonathan Gray wrote: For acpi attached sdhc the contents of /var/db/acpi would be more helpful. Most likely someone needs to write another gpio driver along the lines of chvgpio(4) and bytgpio(4) for INT3453 due to gpio signalled interrupts. /var/db/acpi w/ /var/db/acpi/headers content appended

convert some timeout_add to timeout_add_*

2018-12-16 Thread Claudio Jeker
Simple conversion of timeout_add(X, Y * hz) to timeout_add_sec(X, Y) and timeout_add(X, tvtohz(&tv)) to timeout_add_tv(X, &tv). OK? -- :wq Claudio Index: net/pf.c === RCS file: /cvs/src/sys/net/pf.c,v retrieving revision 1.1079 diff

Intel LPC and Nvidia pcidevs for Dell XPS 15

2018-12-16 Thread Jan Schreiber
Hi, the NVidia graphics card and Intel LPC for a Dell XPS 15 are missing from pcidevs. I'd really appreciate if someone would add them. Thanks Jan diff --git sys/dev/pci/pcidevs sys/dev/pci/pcidevs index 8cac704548b..ee8c0419874 100644 --- sys/dev/pci/pcidevs +++ sys/dev/pci/pcidevs @@ -5188,6

Re: pkg_add testing

2018-12-16 Thread Marc Espie
On Wed, Dec 12, 2018 at 03:20:49PM +0100, Marc Espie wrote: > Please test: > > pkg_add -u -DSHORTENED And Landry found an issue. I forgot to update some code when I tweaked stuff to add @version support. Please try again with just committed pkg_add code... (basically, the older version didn't u