CVS commit: src/sys/arch/alpha

2021-05-23 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Mon May 24 03:43:24 UTC 2021 Modified Files: src/sys/arch/alpha/alpha: pmap.c src/sys/arch/alpha/include: pmap.h Log Message: pmap_tlb_shootdown_all_user() can be called in the PV scenario as well as the forward scenario,

CVS commit: src/sys/arch/alpha/alpha

2021-05-23 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Sun May 23 19:13:27 UTC 2021 Modified Files: src/sys/arch/alpha/alpha: pmap.c Log Message: Fix a bug in pmap_tlb_shootdown_all_user(), where it was not stashing away the pointer to the pmap in the TLB context structure like pmap_

CVS commit: src/sbin/ping6

2021-05-23 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Sun May 23 07:17:51 UTC 2021 Modified Files: src/sbin/ping6: ping6.c Log Message: Make sure the output packet buffer and the control message buffer are aligned. Fixes bin/56198. To generate a diff of this commit: cvs rdiff -u

CVS commit: src/sys/arch/alpha/conf

2021-05-22 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Sun May 23 01:34:18 UTC 2021 Added Files: src/sys/arch/alpha/conf: GENERIC.QEMU Log Message: Add a GENERIC.QEMU kernel config. This just includes QEMU and then sets some options specifically to make the Qemu experience a little

CVS commit: src/sys/arch/alpha/alpha

2021-05-22 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Sun May 23 01:00:53 UTC 2021 Modified Files: src/sys/arch/alpha/alpha: locore.s Log Message: Fix an error introduced in rev 1.130 where the previous pcb_onfault handler was not restored properly in the kcopyerr case. Also add a

CVS commit: src/sys/arch/hpcmips/vr

2021-05-22 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Sat May 22 16:00:42 UTC 2021 Modified Files: src/sys/arch/hpcmips/vr: vrgiu.c Log Message: Be explicit about our interface attributes. To generate a diff of this commit: cvs rdiff -u -r1.45 -r1.46 src/sys/arch/hpcmips/vr/vrgiu.

CVS commit: src/sys/arch/alpha/alpha

2021-05-22 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Sat May 22 15:05:37 UTC 2021 Modified Files: src/sys/arch/alpha/alpha: autoconf.c Log Message: Gah, fix cut-and-paste-o. To generate a diff of this commit: cvs rdiff -u -r1.56 -r1.57 src/sys/arch/alpha/alpha/autoconf.c Please

CVS commit: src/sys/arch/alpha/alpha

2021-05-22 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Sat May 22 15:04:34 UTC 2021 Modified Files: src/sys/arch/alpha/alpha: autoconf.c Log Message: qemu_find_rootdev(): Zero the buffer that we use to fetch the Qemu "prom" root device variable; junk past the trailing NUL would cause

CVS commit: src/sys/dev/ic

2021-05-21 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Sat May 22 01:24:27 UTC 2021 Modified Files: src/sys/dev/ic: tpm.c Log Message: Remove extra newline from boot messages (isa and acpi front-ends already provide the newline). To generate a diff of this commit: cvs rdiff -u -r1.

CVS commit: [thorpej-i2c-spi-conf] src/sys/dev/spi

2021-05-19 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Wed May 19 14:17:08 UTC 2021 Modified Files: src/sys/dev/spi [thorpej-i2c-spi-conf]: ssdfb_spi.c Log Message: If we were attached via FDT, check for a "dc-gpios" property and, if present, use the specified GPIO pin for 4-wire mod

CVS commit: [thorpej-i2c-spi-conf] src/sys/dev/spi

2021-05-19 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Wed May 19 13:40:57 UTC 2021 Modified Files: src/sys/dev/spi [thorpej-i2c-spi-conf]: mcp3k.c Log Message: If we were directly configured using the platform device tree, consult the device tree for our reference voltage and make t

CVS commit: [thorpej-i2c-spi-conf] src/sys/dev/spi

2021-05-19 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Wed May 19 13:23:23 UTC 2021 Modified Files: src/sys/dev/spi [thorpej-i2c-spi-conf]: mcp23s17.c Log Message: Oops, fix 2 paste-o's. To generate a diff of this commit: cvs rdiff -u -r1.2.2.4 -r1.2.2.5 src/sys/dev/spi/mcp23s17.c

CVS commit: [thorpej-i2c-spi-conf] src/sys/dev/spi

2021-05-19 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Wed May 19 12:37:47 UTC 2021 Modified Files: src/sys/dev/spi [thorpej-i2c-spi-conf]: mcp23s17.c Log Message: Use instead of . To generate a diff of this commit: cvs rdiff -u -r1.2.2.3 -r1.2.2.4 src/sys/dev/spi/mcp23s17.c Plea

CVS commit: [thorpej-i2c-spi-conf] src/sys/dev/spi

2021-05-19 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Wed May 19 12:35:28 UTC 2021 Modified Files: src/sys/dev/spi [thorpej-i2c-spi-conf]: mcp23s17.c Log Message: The MCP23S17 can multiplex multiple chips on the same chip select. This driver has traditionally used cf_flags (from the

CVS commit: [thorpej-i2c-spi-conf] src/sys/dev/spi

2021-05-18 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Wed May 19 03:46:26 UTC 2021 Modified Files: src/sys/dev/spi [thorpej-i2c-spi-conf]: m25p.c mcp23s17.c mcp3k.c mcp48x1.c oj6sh.c ssdfb_spi.c tmp121.c Log Message: match/probe routines should not have side-effects; cal

CVS commit: [thorpej-i2c-spi-conf] src/sys/dev/spi

2021-05-18 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Wed May 19 03:34:11 UTC 2021 Modified Files: src/sys/dev/spi [thorpej-i2c-spi-conf]: tmp121.c Log Message: Use spi_compatible_match(). XXX Should support the other variants of this device. To generate a diff of this commit: cv

CVS commit: [thorpej-i2c-spi-conf] src/sys/dev/spi

2021-05-18 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Wed May 19 03:33:33 UTC 2021 Modified Files: src/sys/dev/spi [thorpej-i2c-spi-conf]: mcp48x1.c Log Message: Use spi_compatible_match(). To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.1.54.1 src/sys/dev/spi/mcp48x1.c

CVS commit: [thorpej-i2c-spi-conf] src/sys/dev/spi

2021-05-18 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Wed May 19 03:33:05 UTC 2021 Modified Files: src/sys/dev/spi [thorpej-i2c-spi-conf]: mcp3k.c Log Message: Use spi_compatible_match(). XXX More work to do for proper FDT integration. To generate a diff of this commit: cvs rdiff

CVS commit: [thorpej-i2c-spi-conf] src/sys/dev/spi

2021-05-18 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Wed May 19 03:32:27 UTC 2021 Modified Files: src/sys/dev/spi [thorpej-i2c-spi-conf]: mcp23s17.c Log Message: Use spi_compatible_match(). XXX More work to do for proper FDT integration. To generate a diff of this commit: cvs rd

CVS commit: [thorpej-i2c-spi-conf] src/sys

2021-05-18 Thread Jason R Thorpe
+++ src/sys/arch/arm/broadcom/bcm2835_bsc_fdt.c Wed May 19 03:14:24 2021 @@ -1,4 +1,4 @@ -/* $NetBSD: bcm2835_bsc_fdt.c,v 1.6 2021/01/29 14:11:14 skrll Exp $ */ +/* $NetBSD: bcm2835_bsc_fdt.c,v 1.6.4.1 2021/05/19 03:14:24 thorpej Exp $ */ /* * Copyright (c) 2019 Jason R. Thorpe @@ -28,7 +28,7

CVS commit: [thorpej-i2c-spi-conf] src/sys

2021-05-18 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Wed May 19 02:58:26 UTC 2021 Modified Files: src/sys/arch/arm/imx [thorpej-i2c-spi-conf]: imxspi.c src/sys/arch/arm/rockchip [thorpej-i2c-spi-conf]: rk_spi.c src/sys/arch/arm/sunxi [thorpej-i2c-spi-conf]: sun4i_spi

CVS commit: [thorpej-i2c-spi-conf] src/sys/dev

2021-05-18 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Tue May 18 23:48:16 UTC 2021 Modified Files: src/sys/dev/fdt [thorpej-i2c-spi-conf]: fdt_spi.c src/sys/dev/ofw [thorpej-i2c-spi-conf]: ofw_spi_subr.c src/sys/dev/spi [thorpej-i2c-spi-conf]: spi.c spivar.h Log Mess

CVS commit: [thorpej-i2c-spi-conf] src/sys

2021-05-18 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Tue May 18 23:30:56 UTC 2021 Modified Files: src/sys/arch/arm/at91 [thorpej-i2c-spi-conf]: at91spi.c src/sys/arch/arm/broadcom [thorpej-i2c-spi-conf]: bcm2835_spi.c src/sys/arch/arm/imx [thorpej-i2c-spi-conf]: imxs

CVS commit: [thorpej-i2c-spi-conf] src/sys/dev/i2c

2021-05-18 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Tue May 18 23:26:46 UTC 2021 Modified Files: src/sys/dev/i2c [thorpej-i2c-spi-conf]: i2c.c Log Message: Correct a comment. To generate a diff of this commit: cvs rdiff -u -r1.78.2.6 -r1.78.2.7 src/sys/dev/i2c/i2c.c Please note

CVS commit: [thorpej-i2c-spi-conf] src/sys/dev/ofw

2021-05-17 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Tue May 18 01:24:39 UTC 2021 Modified Files: src/sys/dev/ofw [thorpej-i2c-spi-conf]: ofw_i2c_subr.c Log Message: There is no code of DEC lineage in this file. To generate a diff of this commit: cvs rdiff -u -r1.1.6.7 -r1.1.6.8

CVS commit: [thorpej-i2c-spi-conf] src/sys/dev/i2c

2021-05-16 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Mon May 17 00:05:56 UTC 2021 Modified Files: src/sys/dev/i2c [thorpej-i2c-spi-conf]: i2c.c i2cvar.h Log Message: Remove "count" from the device enumeration callback arguments. To generate a diff of this commit: cvs rdiff -u -r1

CVS commit: [thorpej-i2c-spi-conf] src/sys/arch/sparc64/sparc64

2021-05-16 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Sun May 16 23:45:12 UTC 2021 Modified Files: src/sys/arch/sparc64/sparc64 [thorpej-i2c-spi-conf]: ofw_patch.c Log Message: - i2c_fixup_enumerate_devices(): handle getting a NULL "compatible" property. - sparcle_smbus_fixup(): r

CVS commit: [thorpej-i2c-spi-conf] src/sys/dev/i2c

2021-05-16 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Sun May 16 22:56:48 UTC 2021 Modified Files: src/sys/dev/i2c [thorpej-i2c-spi-conf]: spdmem_i2c.c Log Message: Tweak previous to deal better with "device tree node describes empty DIMM slot" problem. To generate a diff of this

CVS commit: [thorpej-i2c-spi-conf] src/sys/dev/i2c

2021-05-16 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Sun May 16 22:53:57 UTC 2021 Modified Files: src/sys/dev/i2c [thorpej-i2c-spi-conf]: spdmem_i2c.c Log Message: Go back to probing in the direct config case, and return a high confidence match value if the SPD probe succeeds. Thi

CVS commit: [thorpej-i2c-spi-conf] src/sys/dev/i2c

2021-05-16 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Sun May 16 21:04:59 UTC 2021 Modified Files: src/sys/dev/i2c [thorpej-i2c-spi-conf]: i2c.c Log Message: Check for errors from iic_acquire_bus() in iic_ioctl_exec(). To generate a diff of this commit: cvs rdiff -u -r1.78.2.4 -r1

CVS commit: [thorpej-i2c-spi-conf] src/sys/dev/i2c

2021-05-16 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Sun May 16 21:03:38 UTC 2021 Modified Files: src/sys/dev/i2c [thorpej-i2c-spi-conf]: i2c.c Log Message: - Set D_MCLOSE in the iic_cdevsw so that we get a d_close call for each close so that the module ref counting works properl

CVS commit: [thorpej-i2c-spi-conf] src/sys/dev/i2c

2021-05-16 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Sun May 16 15:40:20 UTC 2021 Modified Files: src/sys/dev/i2c [thorpej-i2c-spi-conf]: spdmem_i2c.c Log Message: Check for errors from iic_acquire_bus(). To generate a diff of this commit: cvs rdiff -u -r1.21.4.2 -r1.21.4.3 src/s

CVS commit: [thorpej-i2c-spi-conf] src/sys/dev/i2c

2021-05-16 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Sun May 16 15:27:12 UTC 2021 Modified Files: src/sys/dev/i2c [thorpej-i2c-spi-conf]: spdmem_i2c.c Log Message: The last change had an unfortunate side-effect on empty DIMM slots, so roll that back. Instead, if we used direct con

CVS commit: [thorpej-i2c-spi-conf] src/sys/dev/i2c

2021-05-15 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Sun May 16 05:16:21 UTC 2021 Modified Files: src/sys/dev/i2c [thorpej-i2c-spi-conf]: spdmem_i2c.c Log Message: SPD stands for "Serial Presence Detect". This implies that if we're using direct configuration that we should treat t

CVS commit: [thorpej-i2c-spi-conf] src/sys/dev/i2c

2021-05-15 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Sun May 16 04:40:08 UTC 2021 Modified Files: src/sys/dev/i2c [thorpej-i2c-spi-conf]: i2c.c Log Message: Rather than allocating 8KB (!!) of space per i2c bus for a sparsely populated array of child devices, use a sorted list inste

CVS commit: [thorpej-i2c-spi-conf] src/sys/arch/sparc64/sparc64

2021-05-15 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Sat May 15 21:19:46 UTC 2021 Modified Files: src/sys/arch/sparc64/sparc64 [thorpej-i2c-spi-conf]: ofw_patch.c Log Message: Fix the path to the E450 envctrl DT node. Thanks, he@! To generate a diff of this commit: cvs rdiff -u -

CVS commit: [thorpej-i2c-spi-conf] src/sys/arch/sparc64

2021-05-14 Thread Jason R Thorpe
arch/sparc64/sparc64/ofw_patch.c Sat May 15 03:22:17 2021 @@ -1,11 +1,11 @@ -/* $NetBSD: ofw_patch.c,v 1.7 2020/12/23 07:01:14 jdc Exp $ */ +/* $NetBSD: ofw_patch.c,v 1.7.4.1 2021/05/15 03:22:17 thorpej Exp $ */ /*- - * Copyright (c) 2020 The NetBSD Foundation, Inc. + * Copyright (c) 2020, 2021 T

CVS commit: [thorpej-i2c-spi-conf] src/sys

2021-05-14 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Sat May 15 00:32:41 UTC 2021 Modified Files: src/sys/kern [thorpej-i2c-spi-conf]: subr_device.c src/sys/sys [thorpej-i2c-spi-conf]: device.h Log Message: Expose devhandle_lookup_device_call(), which can be useful when "su

CVS commit: [thorpej-i2c-spi-conf] src/sys/dev/pci

2021-05-14 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Fri May 14 22:46:37 UTC 2021 Modified Files: src/sys/dev/pci [thorpej-i2c-spi-conf]: alipm.c Log Message: Pass along our devhandle to the iic bus instance. To generate a diff of this commit: cvs rdiff -u -r1.12 -r1.12.2.1 src/s

CVS commit: [thorpej-i2c-spi-conf] src/sys

2021-05-13 Thread Jason R Thorpe
derived from software contributed to The NetBSD Foundation + * by Jason R. Thorpe. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions + * are met: + * 1. Redistributions of source code must retain the above

CVS commit: [thorpej-i2c-spi-conf] src/sys/dev/i2c

2021-05-13 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Fri May 14 03:57:52 UTC 2021 Modified Files: src/sys/dev/i2c [thorpej-i2c-spi-conf]: pcai2cmux.c Log Message: No need to device_set_handle(); it's done for us by the i2c enumeration code. To generate a diff of this commit: cvs

CVS commit: [thorpej-i2c-spi-conf] src/sys/arch/sparc64/dev

2021-05-13 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Fri May 14 03:11:49 UTC 2021 Modified Files: src/sys/arch/sparc64/dev [thorpej-i2c-spi-conf]: jbus-i2c.c Log Message: Adapt jbusi2c to the new i2c device enumeration scheme. To generate a diff of this commit: cvs rdiff -u -r1.6

CVS commit: [thorpej-i2c-spi-conf] src/sys/dev/ofw

2021-05-13 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Fri May 14 03:05:52 UTC 2021 Modified Files: src/sys/dev/ofw [thorpej-i2c-spi-conf]: ofw_i2c_subr.c Log Message: Do that again, but slightly differently: a "compatible" property is required by the Device Tree i2c bindings, and is

CVS commit: [thorpej-i2c-spi-conf] src/sys/dev/ofw

2021-05-13 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Fri May 14 02:51:43 UTC 2021 Modified Files: src/sys/dev/ofw [thorpej-i2c-spi-conf]: ofw_i2c_subr.c Log Message: Ooops, no, revert that. To generate a diff of this commit: cvs rdiff -u -r1.1.6.5 -r1.1.6.6 src/sys/dev/ofw/ofw_i2

CVS commit: [thorpej-i2c-spi-conf] src/sys/dev/ofw

2021-05-13 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Fri May 14 02:48:43 UTC 2021 Modified Files: src/sys/dev/ofw [thorpej-i2c-spi-conf]: ofw_i2c_subr.c Log Message: Skip nodes without a "compatible" property. To generate a diff of this commit: cvs rdiff -u -r1.1.6.4 -r1.1.6.5 sr

CVS commit: [thorpej-i2c-spi-conf] src/sys

2021-05-13 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Fri May 14 01:52:36 UTC 2021 Modified Files: src/sys/arch/sparc64/include [thorpej-i2c-spi-conf]: types.h src/sys/dev/ofw [thorpej-i2c-spi-conf]: ofw_i2c_subr.c Log Message: Define __HAVE_OPENFIRMWARE_VARIANT_SUNW for spa

CVS commit: [thorpej-i2c-spi-conf] src/sys

2021-05-13 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Fri May 14 01:08:53 UTC 2021 Modified Files: src/sys/arch/macppc/dev [thorpej-i2c-spi-conf]: ki2c.c smu.c src/sys/dev/i2c [thorpej-i2c-spi-conf]: i2c_subr.c i2cmux.c i2cvar.h Log Message: Move the bus/channel number for m

CVS commit: [thorpej-i2c-spi-conf] src/sys

2021-05-13 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Fri May 14 00:44:13 UTC 2021 Modified Files: src/sys/arch/macppc/dev [thorpej-i2c-spi-conf]: pmu.c smu.c src/sys/arch/macppc/include [thorpej-i2c-spi-conf]: types.h src/sys/dev/ofw [thorpej-i2c-spi-conf]: ofw_i2c_s

CVS commit: [thorpej-i2c-spi-conf] src/sys/arch/macppc/dev

2021-05-12 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Thu May 13 00:59:27 UTC 2021 Modified Files: src/sys/arch/macppc/dev [thorpej-i2c-spi-conf]: lmu.c Log Message: Don't use the OF phandle here. To generate a diff of this commit: cvs rdiff -u -r1.8.4.1 -r1.8.4.2 src/sys/arch/mac

CVS commit: src/sys/arch/shark/conf

2021-05-12 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Wed May 12 23:48:41 UTC 2021 Modified Files: src/sys/arch/shark/conf: files.shark Log Message: Add OFW PCI subroutines if PCI support is included in the kernel. To generate a diff of this commit: cvs rdiff -u -r1.24 -r1.25 src/

CVS commit: src/sys

2021-05-12 Thread Jason R Thorpe
e tree. + */ +struct pci_bus_get_child_devhandle_args { + pci_chipset_tag_t pc; /* IN */ + pcitag_t tag; /* IN */ + devhandle_t devhandle; /* OUT */ +}; + extern struct cfdriver pci_cd; extern bool pci_mapreg_map_enable_decode; Added files: Index: src/sys/dev/ofw/ofw_pci_subr.c diff -u /dev/null

CVS commit: src/sys/arch/x86/x86

2021-05-12 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Wed May 12 22:17:40 UTC 2021 Modified Files: src/sys/arch/x86/x86: mpacpi.c Log Message: In mpacpi_pci_attach_hook(), set the device handle of the PCI bus instance to the associated ACPI handle if a device handle is not already s

CVS commit: src/sys/arch/arm/acpi

2021-05-12 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Wed May 12 21:56:13 UTC 2021 Modified Files: src/sys/arch/arm/acpi: acpipchb.c Log Message: Pass along our devhandle to the PCI bus instance we attach. To generate a diff of this commit: cvs rdiff -u -r1.24 -r1.25 src/sys/arch/

CVS commit: src/sys/arch

2021-05-11 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Wed May 12 04:07:34 UTC 2021 Modified Files: src/sys/arch/arm/broadcom: bcm2838_pcie.c src/sys/arch/arm/fdt: pcihost_fdt.c src/sys/arch/arm/nvidia: tegra_pcie.c src/sys/arch/arm/nxp: imxpcie.c src/s

CVS commit: src/sys/dev/pci

2021-05-10 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Tue May 11 06:03:54 UTC 2021 Modified Files: src/sys/dev/pci: ppb.c Log Message: Forward the bridge's devhandle to the downstream bus. To generate a diff of this commit: cvs rdiff -u -r1.71 -r1.72 src/sys/dev/pci/ppb.c Please

CVS commit: src/sys/arch/sparc64/sparc64

2021-05-10 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Tue May 11 03:43:30 UTC 2021 Modified Files: src/sys/arch/sparc64/sparc64: autoconf.c Log Message: All of the OFW-enumerated busses now associate the OFW node with the device at config_found() time, so we can remove all of the st

CVS commit: src/sys/arch/mips/cavium

2021-05-10 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Mon May 10 23:58:52 UTC 2021 Modified Files: src/sys/arch/mips/cavium: mainbus.c Log Message: Specify the "fdt" interface attribute when configuring via FDT, since mainbus also carries the "mainbus" interface attribute. To gene

CVS commit: src/sys

2021-05-10 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Mon May 10 23:53:44 UTC 2021 Modified Files: src/sys/arch/sparc/dev: bootbus.c ebus.c sbus.c vme_machdep.c src/sys/arch/sparc/sparc: autoconf.c iommu.c msiiep.c src/sys/arch/sparc64/dev: cbus.c central.c ebus.c ebu

CVS commit: src/sys

2021-05-10 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Mon May 10 13:59:30 UTC 2021 Modified Files: src/sys/arch/sparc/include: promlib.h src/sys/arch/sparc/sparc: promlib.c src/sys/sys: device.h Log Message: sparc{,64} promlib -> devhandle_t glue To generate a diff

CVS commit: [thorpej-i2c-spi-conf] src/sys/dev/i2c

2021-05-09 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Sun May 9 23:26:53 UTC 2021 Modified Files: src/sys/dev/i2c [thorpej-i2c-spi-conf]: pcai2cmux.c Log Message: Don't include fdtvar.h directly here. To generate a diff of this commit: cvs rdiff -u -r1.8.4.1 -r1.8.4.2 src/sys/dev

CVS commit: [thorpej-i2c-spi-conf] src/sys/dev/i2c

2021-05-09 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Sun May 9 23:19:10 UTC 2021 Modified Files: src/sys/dev/i2c [thorpej-i2c-spi-conf]: i2cmuxvar.h Log Message: Revert most of previous -- some consumers of this file still have ACPI-specific requirements. To generate a diff of t

CVS commit: [thorpej-i2c-spi-conf] src/sys/arch/macppc/dev

2021-05-09 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Sun May 9 22:36:35 UTC 2021 Modified Files: src/sys/arch/macppc/dev [thorpej-i2c-spi-conf]: deq.c lmu.c psoc.c smusat.c Log Message: ia->ia_cookie -> devhandle_to_of(device_handle(self)) To generate a diff of this

CVS commit: [thorpej-i2c-spi-conf] src/sys/arch/macppc/dev

2021-05-09 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Sun May 9 22:29:54 UTC 2021 Modified Files: src/sys/arch/macppc/dev [thorpej-i2c-spi-conf]: smusat.c Log Message: No need to include smuiicvar.h. To generate a diff of this commit: cvs rdiff -u -r1.9 -r1.9.4.1 src/sys/arch/mac

CVS commit: [thorpej-i2c-spi-conf] src/sys/arch/macppc

2021-05-09 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Sun May 9 21:37:04 UTC 2021 Modified Files: src/sys/arch/macppc/conf [thorpej-i2c-spi-conf]: POWERMAC_G5 POWERMAC_G5_11_2 files.macppc src/sys/arch/macppc/dev [thorpej-i2c-spi-conf]: smu.c Removed Files:

CVS commit: [thorpej-i2c-spi-conf] src/sys/arch/macppc/dev

2021-05-08 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Sat May 8 22:39:41 UTC 2021 Modified Files: src/sys/arch/macppc/dev [thorpej-i2c-spi-conf]: pmu.c Log Message: Adapt the pmu driver to the new i2c device enumeration mechanism. This follows the OpenFirmware bindings for the mos

CVS commit: [thorpej-i2c-spi-conf] src/sys/arch/macppc/dev

2021-05-08 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Sat May 8 21:58:12 UTC 2021 Modified Files: src/sys/arch/macppc/dev [thorpej-i2c-spi-conf]: ki2c.c ki2cvar.h Log Message: Adapt the Keywest i2c controller driver to the new i2c device enumeration mechanism. We need to provide o

CVS commit: [thorpej-i2c-spi-conf] src/sys/dev/i2c

2021-05-08 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Sat May 8 16:56:10 UTC 2021 Modified Files: src/sys/dev/i2c [thorpej-i2c-spi-conf]: adadc.c fcu.c Log Message: ia->ia_cookie -> devhandle_to_of(device_handle(self)) To generate a diff of this commit: cvs rdiff -u -r1.10 -r1.10

CVS commit: [thorpej-i2c-spi-conf] src/sys/dev/i2c

2021-05-08 Thread Jason R Thorpe
$NetBSD: pca9685.c,v 1.6 2021/01/27 02:29:48 thorpej Exp $ */ +/* $NetBSD: pca9685.c,v 1.6.4.1 2021/05/08 16:46:43 thorpej Exp $ */ /*- * Copyright (c) 2018, 2019 Jason R. Thorpe @@ -27,7 +27,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: pca9685.c,v 1.6 2021/01/27 02:29:48 thorpej E

CVS commit: [thorpej-i2c-spi-conf] src/sys

2021-05-08 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Sat May 8 15:51:31 UTC 2021 Modified Files: src/sys/arch/macppc/dev [thorpej-i2c-spi-conf]: cuda.c src/sys/arch/sandpoint/sandpoint [thorpej-i2c-spi-conf]: autoconf.c src/sys/dev/acpi [thorpej-i2c-spi-conf]: acpi_

CVS commit: [thorpej-i2c-spi-conf] src/sys/dev/i2c

2021-05-08 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Sat May 8 15:44:12 UTC 2021 Modified Files: src/sys/dev/i2c [thorpej-i2c-spi-conf]: ihidev.c ihidev.h Log Message: Rather than using the "cookie" from the i2c_attach_args, use the device handle that's already associated with our

CVS commit: [thorpej-i2c-spi-conf] src/sys/dev/i2c

2021-05-08 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Sat May 8 15:10:44 UTC 2021 Modified Files: src/sys/dev/i2c [thorpej-i2c-spi-conf]: i2cmux.c i2cmuxvar.h Log Message: Use device_enumerate_children() to eliminate all of the ACPI-specific code and most of the FDT-specific code f

CVS commit: [thorpej-i2c-spi-conf] src/sys/dev/i2c

2021-05-08 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Sat May 8 14:23:15 UTC 2021 Modified Files: src/sys/dev/i2c [thorpej-i2c-spi-conf]: files.i2c i2c_subr.c i2cmux.c i2cvar.h Log Message: - Add an optional bus number to i2cbus_attach_args, and a corresponding option

CVS commit: [thorpej-i2c-spi-conf] src/sys/arch/macppc/dev

2021-05-08 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Sat May 8 11:40:02 UTC 2021 Modified Files: src/sys/arch/macppc/dev [thorpej-i2c-spi-conf]: cuda.c videopll.c Log Message: Children of the "cuda" i2c controller don't appear in the OF device tree, so we need to supply our own "i

CVS commit: [thorpej-i2c-spi-conf] src/sys/dev/i2c

2021-05-08 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Sat May 8 11:34:38 UTC 2021 Modified Files: src/sys/dev/i2c [thorpej-i2c-spi-conf]: i2c.c Log Message: iic_print_direct(): In the "not configured" case, parenthetically print the first element of the compat list, if we got a com

CVS commit: [thorpej-i2c-spi-conf] src/sys/dev

2021-05-07 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Sat May 8 02:44:22 UTC 2021 Modified Files: src/sys/dev/fdt [thorpej-i2c-spi-conf]: i2cmux_fdt.c src/sys/dev/i2c [thorpej-i2c-spi-conf]: i2cmux.c i2cmuxvar.h pcai2cmux.c Log Message: Update the i2c mux code f

CVS commit: src/sys/dev/pci

2021-05-07 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Sat May 8 00:27:02 UTC 2021 Modified Files: src/sys/dev/pci: if_bwfm_pci.c if_bwi_pci.c if_cas.c if_dge.c if_et.c if_fxp_pci.c if_iwi.c if_iwn.c if_jme.c if_kse.c if_malo_pci.c if_msk.c if_mtd_pci.c if_rge

CVS commit: src/sys/arch/alpha/pci

2021-05-07 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Sat May 8 00:08:43 UTC 2021 Modified Files: src/sys/arch/alpha/pci: sio_pic.c ttwoga.c ttwoga_dma.c ttwogavar.h Log Message: More symbol sanitizing. To generate a diff of this commit: cvs rdiff -u -r1.47 -r1.48 src/sys/arch/al

CVS commit: src/sys/arch/alpha

2021-05-07 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Fri May 7 22:46:11 UTC 2021 Modified Files: src/sys/arch/alpha/tc: tcasic.c src/sys/arch/alpha/tlsb: gbus.c mcclock_tlsb.c Log Message: Static'ify more symbols. To generate a diff of this commit: cvs rdiff -u -r1.50 -r

CVS commit: src/sys/arch/alpha

2021-05-07 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Fri May 7 16:58:34 UTC 2021 Modified Files: src/sys/arch/alpha/common: bus_dma.c shared_intr.c src/sys/arch/alpha/isa: isa_machdep.c isadma_bounce.c mcclock_isa.c src/sys/arch/alpha/jensenio: com_jensenio.c jensen

CVS commit: src/sys/dev/tc

2021-05-07 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Fri May 7 16:55:58 UTC 2021 Modified Files: src/sys/dev/tc: ioasic_subr.c ioasicvar.h tc.c tcvar.h Log Message: A small bit of const poisoning. To generate a diff of this commit: cvs rdiff -u -r1.14 -r1.15 src/sys/dev/tc/ioasi

CVS commit: src/sys/arch/alpha/conf

2021-05-05 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Wed May 5 15:39:39 UTC 2021 Modified Files: src/sys/arch/alpha/conf: Makefile.alpha Log Message: Remove unneeded Makefile dependency for things which have long since used opt_*.h headers. To generate a diff of this commit: cvs

CVS commit: src/sys/arch/alpha

2021-05-05 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Wed May 5 15:36:17 UTC 2021 Modified Files: src/sys/arch/alpha/alpha: machdep.c src/sys/arch/alpha/include: alpha.h Log Message: Remove unused dot_conv() function. To generate a diff of this commit: cvs rdiff -u -r1.37

CVS commit: src/sys/arch/alpha/alpha

2021-05-05 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Wed May 5 15:34:54 UTC 2021 Modified Files: src/sys/arch/alpha/alpha: interrupt.c machdep.c Log Message: Disable preemption around the main work of badaddr_read() and delay(); they both use "current CPU" resources. To generate

CVS commit: src/sys/arch/alpha/alpha

2021-05-05 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Wed May 5 14:58:57 UTC 2021 Modified Files: src/sys/arch/alpha/alpha: interrupt.c Log Message: Make scb_strat() static. To generate a diff of this commit: cvs rdiff -u -r1.95 -r1.96 src/sys/arch/alpha/alpha/interrupt.c Please

CVS commit: src/sys/arch/alpha/alpha

2021-05-04 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Wed May 5 03:54:16 UTC 2021 Modified Files: src/sys/arch/alpha/alpha: cpu.c Log Message: Decorate cpu_info_list with __read_mostly; it's never modified once all the CPUs are attached. To generate a diff of this commit: cvs rdi

CVS commit: src/sys/arch/alpha

2021-05-04 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Wed May 5 02:15:18 UTC 2021 Modified Files: src/sys/arch/alpha/pci: apecs_dma.c cia_dma.c dwlpx_dma.c irongate_dma.c lca_dma.c mcpcia_dma.c pci_bwx_bus_io_chipdep.c pci_bwx_bus_mem_chipdep.c pci_swiz_bus_i

CVS commit: src/sys/arch/alpha/conf

2021-05-04 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Wed May 5 01:35:35 UTC 2021 Modified Files: src/sys/arch/alpha/conf: Makefile.alpha Added Files: src/sys/arch/alpha/conf: kern.ldscript Log Message: Add a linker script for the kernel. The main difference vs the standar

CVS commit: src/sys/arch/macppc/conf

2021-05-01 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Sat May 1 15:12:26 UTC 2021 Modified Files: src/sys/arch/macppc/conf: files.macppc Log Message: Remove unnecessary interface attributes from "smu". To generate a diff of this commit: cvs rdiff -u -r1.116 -r1.117 src/sys/arch/m

CVS commit: src/sys/arch/alpha/include

2021-05-01 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Sat May 1 13:23:07 UTC 2021 Modified Files: src/sys/arch/alpha/include: userret.h Log Message: Make sure preemption is disabled around PMAP_USERRET(); it uses per-cpu information. XXX mi_userret() also internally disables preem

CVS commit: src/sys/dev/ofw

2021-04-29 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Fri Apr 30 02:34:13 UTC 2021 Modified Files: src/sys/dev/ofw: ofbus.c Log Message: If we're enumerating the root bus, skip some well-known nodes that don't have any useful device child nodes: aliases options

CVS commit: src/sys/arch/shark

2021-04-29 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Fri Apr 30 02:24:06 UTC 2021 Modified Files: src/sys/arch/shark/conf: GENERIC files.shark Added Files: src/sys/arch/shark/shark: shark_iic.c Log Message: Driver for the I2C bus used for RAM serial presence detection. Thi

CVS commit: src/sys/dev/ofisa

2021-04-29 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Fri Apr 30 02:13:15 UTC 2021 Modified Files: src/sys/dev/ofisa: files.ofisa ofisa.c ofisavar.h Log Message: Allow devices to declare themselves an "ofisa_subclass", allowing that device to beat "ofisa" in match, but then attach a

CVS commit: src/sys/arch/shark

2021-04-29 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Fri Apr 30 02:11:37 UTC 2021 Modified Files: src/sys/arch/shark/conf: GENERIC files.shark src/sys/arch/shark/shark: hat.c sequoia.c sequoia.h Log Message: - Introduce sequoiaLock() / sequoiaUnlock() functions that hide aw

CVS commit: src/sys/dev/ofisa

2021-04-27 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Wed Apr 28 03:34:02 UTC 2021 Modified Files: src/sys/dev/ofisa: if_cs_ofisa.c Log Message: Avoid a double "cs0: " in the autoconfiguration messages. To generate a diff of this commit: cvs rdiff -u -r1.31 -r1.32 src/sys/dev/ofis

CVS commit: src/sys/kern

2021-04-27 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Wed Apr 28 03:21:57 UTC 2021 Modified Files: src/sys/kern: subr_autoconf.c Log Message: Validate the return value of cfprint functions before using it to index the msgs[] array. Use designated initializers to initialize msgs[].

CVS commit: src

2021-04-27 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Wed Apr 28 00:49:22 UTC 2021 Modified Files: src/distrib/sets/lists/comp: mi src/share/man/man9: Makefile autoconf.9 Log Message: Update autoconf(9) for recent autoconfiguration changes. To generate a diff of this commi

CVS commit: src/sys/arch/shark

2021-04-27 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Tue Apr 27 23:37:02 UTC 2021 Modified Files: src/sys/arch/shark/conf: GENERIC INSTALL files.shark Removed Files: src/sys/arch/shark/ofw: ofisapc.c src/sys/arch/shark/shark: kbdreg.h opms.c Log Message: Garbage-col

CVS commit: src/sys

2021-04-27 Thread Jason R Thorpe
27 21:39:40 2021 +++ src/sys/dev/ofisa/mcclock_ofisa.c Tue Apr 27 21:39:39 2021 @@ -0,0 +1,188 @@ +/* $NetBSD: mcclock_ofisa.c,v 1.1 2021/04/27 21:39:39 thorpej Exp $ */ + +/*- + * Copyright (c) 2021 The NetBSD Foundation, Inc. + * All rights reserved. + * + * This code is derived from software con

CVS commit: src/sys/dev/ofw

2021-04-27 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Tue Apr 27 20:31:02 UTC 2021 Modified Files: src/sys/dev/ofw: ofbus.c Log Message: If we are attaching the OFW root, print out the banner-name and model properties, if they exist. To generate a diff of this commit: cvs rdiff -u

CVS commit: src/sys

2021-04-27 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Tue Apr 27 14:48:29 UTC 2021 Modified Files: src/sys/arch/amiga/amiga: autoconf.c device.h src/sys/arch/amiga/dev: grf.c grf_cc.c grf_cl.c grf_cv.c grf_cv3d.c grf_et.c grf_rh.c grf_rt.c grf_ul.c zbus.c

<    1   2   3   4   5   6   7   8   9   10   >