CVS: cvs.openbsd.org: src

2020-08-03 Thread Patrick Wildt
CVSROOT:/cvs Module name:src Changes by: patr...@cvs.openbsd.org 2020/08/03 08:41:57 src/gnu/usr.bin/clang/include/lld/ELF Update of /cvs/src/gnu/usr.bin/clang/include/lld/ELF In directory cvs.openbsd.org:/tmp/cvs-serv74170/gnu/usr.bin/clang/include/lld/ELF Log Message:

CVS: cvs.openbsd.org: src

2020-08-03 Thread Patrick Wildt
CVSROOT:/cvs Module name:src Changes by: patr...@cvs.openbsd.org 2020/08/03 08:31:35 Log message: Import LLVM 10.0.0 release including clang, lld and lldb. ok hackroom tested by plenty Status: Vendor Tag: LLVM Release Tags: CLANG_10_0_0

CVS: cvs.openbsd.org: src

2020-08-03 Thread Patrick Wildt
CVSROOT:/cvs Module name:src Changes by: patr...@cvs.openbsd.org 2020/08/03 08:32:29 Log message: Import LLVM 10.0.0 release including clang, lld and lldb. ok hackroom tested by plenty Status: Vendor Tag: LLVM Release Tags: LLD_10_0_0

CVS: cvs.openbsd.org: src

2020-07-23 Thread Patrick Wildt
CVSROOT:/cvs Module name:src Changes by: patr...@cvs.openbsd.org 2020/07/23 04:10:15 Modified files: sys/dev/fdt: if_mvpp.c Log message: Even more whitespace fixup.

CVS: cvs.openbsd.org: src

2020-07-22 Thread Patrick Wildt
CVSROOT:/cvs Module name:src Changes by: patr...@cvs.openbsd.org 2020/07/22 15:14:05 Modified files: sys/dev/fdt: if_mvpp.c if_mvppreg.h Log message: Init GOP and COMPHY.

CVS: cvs.openbsd.org: src

2020-07-22 Thread Patrick Wildt
CVSROOT:/cvs Module name:src Changes by: patr...@cvs.openbsd.org 2020/07/22 14:58:40 Modified files: sys/dev/fdt: if_mvpp.c Log message: Pass tid we're looking for to mvpp2_prs_hw_read(), then we can zero the prs entry there and also save a few lines.

CVS: cvs.openbsd.org: src

2020-07-22 Thread Patrick Wildt
CVSROOT:/cvs Module name:src Changes by: patr...@cvs.openbsd.org 2020/07/22 14:50:16 Modified files: sys/dev/fdt: if_mvpp.c Log message: Rework mvpp2_prs_flow_find() to return a tid instead of a whole prs entry, saving at least one unnecessary malloc(9)/free(9)

CVS: cvs.openbsd.org: src

2020-07-22 Thread Patrick Wildt
CVSROOT:/cvs Module name:src Changes by: patr...@cvs.openbsd.org 2020/07/22 13:57:59 Modified files: sys/dev/fdt: if_mvpp.c Log message: Fix more whitespace issues.

CVS: cvs.openbsd.org: src

2020-07-22 Thread Patrick Wildt
CVSROOT:/cvs Module name:src Changes by: patr...@cvs.openbsd.org 2020/07/22 13:56:42 Modified files: sys/dev/fdt: if_mvpp.c if_mvppreg.h Log message: Use correct ethertype and IP proto defines.

CVS: cvs.openbsd.org: src

2020-07-22 Thread Patrick Wildt
CVSROOT:/cvs Module name:src Changes by: patr...@cvs.openbsd.org 2020/07/22 13:54:05 Modified files: sys/dev/fdt: if_mvpp.c Log message: Fix whitespace issue.

CVS: cvs.openbsd.org: src

2020-07-22 Thread Patrick Wildt
CVSROOT:/cvs Module name:src Changes by: patr...@cvs.openbsd.org 2020/07/22 13:53:11 Modified files: sys/dev/fdt: if_mvpp.c if_mvppreg.h Log message: Use 1U for BIT(x), always define it and use it in four more places.

CVS: cvs.openbsd.org: src

2020-07-17 Thread Patrick Wildt
CVSROOT:/cvs Module name:src Changes by: patr...@cvs.openbsd.org 2020/07/17 02:07:34 Modified files: sys/arch/arm64/arm64: acpi_machdep.c intr.c sys/arch/arm64/dev: acpipci.c agintc.c ampintc.c sys/arch/arm64/include: intr.h

CVS: cvs.openbsd.org: src

2020-07-16 Thread Patrick Wildt
CVSROOT:/cvs Module name:src Changes by: patr...@cvs.openbsd.org 2020/07/16 15:49:41 Modified files: sys/dev/pci: if_mcx.c Log message: Pass the interrupt handler cookie instead of the pointer to it to intr_barrier(9). Fixes mysterious panics seen while working on

CVS: cvs.openbsd.org: src

2020-07-16 Thread Patrick Wildt
CVSROOT:/cvs Module name:src Changes by: patr...@cvs.openbsd.org 2020/07/16 07:03:39 Modified files: sys/arch/arm64/arm64: acpi_machdep.c intr.c sys/arch/arm64/dev: acpipci.c sys/arch/arm64/include: intr.h Log message: Store struct cpu_info * in arm64's

CVS: cvs.openbsd.org: src

2020-07-16 Thread Patrick Wildt
CVSROOT:/cvs Module name:src Changes by: patr...@cvs.openbsd.org 2020/07/16 06:57:30 Modified files: sys/arch/arm64/arm64: acpi_machdep.c intr.c sys/arch/arm64/dev: acpipci.c sys/arch/arm64/include: intr.h Log message: To be able to have intr_barrier()

CVS: cvs.openbsd.org: src

2020-07-15 Thread Patrick Wildt
CVSROOT:/cvs Module name:src Changes by: patr...@cvs.openbsd.org 2020/07/15 06:36:01 Modified files: sys/arch/arm64/dev: agintc.c Log message: Fix agintc(4) for non-MULTIPROCESSOR kernels. Due to the recent changes the driver expected that it can find all CPUs

CVS: cvs.openbsd.org: src

2020-07-14 Thread Patrick Wildt
CVSROOT:/cvs Module name:src Changes by: patr...@cvs.openbsd.org 2020/07/14 10:01:08 Modified files: sys/arch/arm64/dev: agintc.c Log message: Add support for routing interrupts to other CPUs in agintc(4). Most of the supporting code was already there. The driver

CVS: cvs.openbsd.org: src

2020-07-14 Thread Patrick Wildt
CVSROOT:/cvs Module name:src Changes by: patr...@cvs.openbsd.org 2020/07/14 09:52:20 Modified files: sys/arch/arm64/dev: ampintc.c Log message: Add support for routing interrupts to other CPUs in ampintc(4). Most of the supporting code was already there. The driver

CVS: cvs.openbsd.org: src

2020-07-14 Thread Patrick Wildt
CVSROOT:/cvs Module name:src Changes by: patr...@cvs.openbsd.org 2020/07/14 09:42:19 Modified files: sys/arch/arm/include: pci_machdep.h sys/arch/arm64/dev: acpipci.c pciecam.c sys/arch/arm64/include: pci_machdep.h sys/arch/armv7/marvell:

CVS: cvs.openbsd.org: src

2020-07-14 Thread Patrick Wildt
CVSROOT:/cvs Module name:src Changes by: patr...@cvs.openbsd.org 2020/07/14 09:34:15 Modified files: sys/arch/arm/cortex: ampintc.c amptimer.c sys/arch/arm/include: fdt.h sys/arch/arm64/arm64: acpi_machdep.c intr.c sys/arch/arm64/dev: acpipci.c

CVS: cvs.openbsd.org: src

2020-07-10 Thread Patrick Wildt
CVSROOT:/cvs Module name:src Changes by: patr...@cvs.openbsd.org 2020/07/10 07:26:42 Modified files: sys/arch/armv7/omap: if_cpsw.c sys/arch/armv7/sunxi: sxie.c sys/arch/octeon/dev: if_cnmac.c sys/arch/sgi/dev: if_iec.c if_mec.c

CVS: cvs.openbsd.org: src

2020-07-10 Thread Patrick Wildt
CVSROOT:/cvs Module name:src Changes by: patr...@cvs.openbsd.org 2020/07/10 07:23:35 Modified files: sys/dev/ic : ath.c sys/net: if.c if_mpip.c if_mpw.c if_pflog.c if_pfsync.c if_spppsubr.c if_var.h Log message: Change users

CVS: cvs.openbsd.org: src

2020-07-10 Thread Patrick Wildt
CVSROOT:/cvs Module name:src Changes by: patr...@cvs.openbsd.org 2020/07/10 07:22:22 Modified files: sys/arch/armv7/omap: if_cpsw.c sys/arch/macppc/dev: if_bm.c if_mc.c sys/arch/sparc64/dev: vnet.c sys/dev/ic : acx.c am7990.c am79900.c ath.c

CVS: cvs.openbsd.org: src

2020-06-26 Thread Patrick Wildt
CVSROOT:/cvs Module name:src Changes by: patr...@cvs.openbsd.org 2020/06/26 15:02:36 Modified files: sys/dev/fdt: if_mvpp.c Log message: MVPP2_TXQ_SCHED_TOKEN_CNTR_REG() expects the logical queue id.

CVS: cvs.openbsd.org: src

2020-06-26 Thread Patrick Wildt
CVSROOT:/cvs Module name:src Changes by: patr...@cvs.openbsd.org 2020/06/26 03:49:51 Modified files: sys/dev/fdt: if_mvpp.c Log message: Add RX refill handling. Each mvpp(4) controller has up to 8 Buffer Manager Pools. Typically there's supposed to be long and a

CVS: cvs.openbsd.org: src

2020-06-26 Thread Patrick Wildt
CVSROOT:/cvs Module name:src Changes by: patr...@cvs.openbsd.org 2020/06/26 03:40:42 Modified files: sys/dev/fdt: if_mvpp.c Log message: Add TX completion handling. I'm not quite sure, but I think that we receive interrupts for the physical TX queues, but the TX

CVS: cvs.openbsd.org: src

2020-06-26 Thread Patrick Wildt
CVSROOT:/cvs Module name:src Changes by: patr...@cvs.openbsd.org 2020/06/26 03:30:10 Modified files: sys/dev/fdt: if_mvpp.c Log message: Since we send packets on the aggregated TX queue instead of the physical TX queue, we need to make sure we use the amount of

CVS: cvs.openbsd.org: src

2020-06-25 Thread Patrick Wildt
CVSROOT:/cvs Module name:src Changes by: patr...@cvs.openbsd.org 2020/06/25 16:10:06 Modified files: sys/dev/fdt: if_mvpp.c Log message: Return negative value to show that no index was found. The callers already check for a negative value.

CVS: cvs.openbsd.org: src

2020-06-25 Thread Patrick Wildt
CVSROOT:/cvs Module name:src Changes by: patr...@cvs.openbsd.org 2020/06/25 06:44:09 Modified files: sys/arch/arm64/conf: GENERIC RAMDISK Log message: Add a commented out entry for mvpp(4).

CVS: cvs.openbsd.org: src

2020-06-25 Thread Patrick Wildt
CVSROOT:/cvs Module name:src Changes by: patr...@cvs.openbsd.org 2020/06/25 06:39:19 Modified files: sys/dev/fdt: if_mvneta.c if_mvpp.c mvmdio.c Removed files: sys/dev/fdt: mvmdiovar.h Log message: Register mvmdio(4) in the MII "framework". On the

CVS: cvs.openbsd.org: src

2020-06-25 Thread Patrick Wildt
CVSROOT:/cvs Module name:src Changes by: patr...@cvs.openbsd.org 2020/06/25 06:35:21 Modified files: sys/dev/ofw: ofw_misc.c ofw_misc.h Log message: Add a "framework" for MII busses. ok kettenis@

CVS: cvs.openbsd.org: src

2020-06-25 Thread Patrick Wildt
CVSROOT:/cvs Module name:src Changes by: patr...@cvs.openbsd.org 2020/06/25 06:26:31 Modified files: share/man/man4 : Makefile Added files: share/man/man4 : mvpp.4 Log message: mvpp(4)

CVS: cvs.openbsd.org: src

2020-06-25 Thread Patrick Wildt
CVSROOT:/cvs Module name:src Changes by: patr...@cvs.openbsd.org 2020/06/25 06:09:11 Modified files: sys/dev/fdt: files.fdt Added files: sys/dev/fdt: if_mvpp.c if_mvppreg.h Log message: Add mvpp(4), a driver for the Marvell Packet Processor v2, as used

Re: CVS: cvs.openbsd.org: src

2020-06-24 Thread Patrick Wildt
On Wed, Jun 24, 2020 at 03:43:20AM -0600, Patrick Wildt wrote: > CVSROOT: /cvs > Module name: src > Changes by: patr...@cvs.openbsd.org 2020/06/24 03:43:20 > > Modified files: > sys/dev/usb: xhci.c > > Log message: > Acknowledge xhci(4

Re: CVS: cvs.openbsd.org: src

2020-06-24 Thread Patrick Wildt
On Wed, Jun 24, 2020 at 01:46:10AM -0600, Patrick Wildt wrote: > CVSROOT: /cvs > Module name: src > Changes by: patr...@cvs.openbsd.org 2020/06/24 01:46:10 > > Modified files: > sys/dev/usb: umass.c > > Log message: > Apply sc->sc_xfer_flag

CVS: cvs.openbsd.org: src

2020-06-24 Thread Patrick Wildt
CVSROOT:/cvs Module name:src Changes by: patr...@cvs.openbsd.org 2020/06/24 03:43:20 Modified files: sys/dev/usb: xhci.c Log message: Acknowledge xhci(4) interrupts before calling usb_schedsoftintr(). On powerdown (halt -p), sd(4)'s suspend function tries to

CVS: cvs.openbsd.org: src

2020-06-24 Thread Patrick Wildt
CVSROOT:/cvs Module name:src Changes by: patr...@cvs.openbsd.org 2020/06/24 01:46:10 Modified files: sys/dev/usb: umass.c Log message: Apply sc->sc_xfer_flags to control transfers as well. These are used so that in polled-mode the USB transfers are marked

CVS: cvs.openbsd.org: src

2020-06-14 Thread Patrick Wildt
CVSROOT:/cvs Module name:src Changes by: patr...@cvs.openbsd.org 2020/06/14 12:37:16 Modified files: sys/dev/sdmmc : sdhc.c Log message: Make sure SDHC_HOST_CTL2 is consistently controlled using 2-byte accesses, otherwise it would lead to unaligned memory access. Fixes

CVS: cvs.openbsd.org: src

2020-06-10 Thread Patrick Wildt
CVSROOT:/cvs Module name:src Changes by: patr...@cvs.openbsd.org 2020/06/10 18:26:01 Modified files: share/man/man4 : Makefile iic.4 Added files: share/man/man4 : escodec.4 Log message: escodec(4)

CVS: cvs.openbsd.org: src

2020-06-10 Thread Patrick Wildt
CVSROOT:/cvs Module name:src Changes by: patr...@cvs.openbsd.org 2020/06/10 18:20:46 Modified files: share/man/man4 : Makefile Added files: share/man/man4 : simpleamp.4 simpleaudio.4 Log message: simpleamp(4) and simpleaudio(4)

CVS: cvs.openbsd.org: src

2020-06-10 Thread Patrick Wildt
CVSROOT:/cvs Module name:src Changes by: patr...@cvs.openbsd.org 2020/06/10 18:10:57 Modified files: share/man/man4 : Makefile Added files: share/man/man4 : rkiis.4 Log message: rkiis(4)

CVS: cvs.openbsd.org: src

2020-06-10 Thread Patrick Wildt
CVSROOT:/cvs Module name:src Changes by: patr...@cvs.openbsd.org 2020/06/10 18:07:35 Modified files: sys/dev/fdt: rkclock.c rkclock_clocks.h Log message: Add RK3399 audio clocks. ok kettenis@

CVS: cvs.openbsd.org: src

2020-06-10 Thread Patrick Wildt
CVSROOT:/cvs Module name:src Changes by: patr...@cvs.openbsd.org 2020/06/10 18:05:55 Modified files: sys/arch/arm64/conf: GENERIC Log message: Enable simpleamp(4), simpleaudio(4), rkiis(4) and escodec(4). ok kettenis@

CVS: cvs.openbsd.org: src

2020-06-10 Thread Patrick Wildt
CVSROOT:/cvs Module name:src Changes by: patr...@cvs.openbsd.org 2020/06/10 18:04:28 Modified files: sys/dev/fdt: files.fdt Added files: sys/dev/fdt: es8316ac.c Log message: Add escodec(4), a driver for the Everest ES8316 audio codec, which is used on

CVS: cvs.openbsd.org: src

2020-06-10 Thread Patrick Wildt
CVSROOT:/cvs Module name:src Changes by: patr...@cvs.openbsd.org 2020/06/10 18:02:08 Modified files: sys/dev/fdt: files.fdt Added files: sys/dev/fdt: rkiis.c Log message: Add rkiis(4), a driver for the I2S controller found on the Rockchip RK3399. Driver

CVS: cvs.openbsd.org: src

2020-06-10 Thread Patrick Wildt
CVSROOT:/cvs Module name:src Changes by: patr...@cvs.openbsd.org 2020/06/10 17:59:07 Modified files: sys/dev/fdt: files.fdt Added files: sys/dev/fdt: simpleamp.c Log message: Add simpleamp(4), a driver for "simple audio amplifier". This is one of the

CVS: cvs.openbsd.org: src

2020-06-10 Thread Patrick Wildt
CVSROOT:/cvs Module name:src Changes by: patr...@cvs.openbsd.org 2020/06/10 17:55:19 Modified files: sys/dev/fdt: files.fdt Added files: sys/dev/fdt: simpleaudio.c Log message: Add simpleaudio(4), a driver for "simple audio cards". This is just a

CVS: cvs.openbsd.org: src

2020-06-10 Thread Patrick Wildt
CVSROOT:/cvs Module name:src Changes by: patr...@cvs.openbsd.org 2020/06/10 17:43:06 Modified files: sys/dev/ofw: ofw_misc.c ofw_misc.h Log message: Add a "framework" for digital audio interfaces. ok kettenis@

CVS: cvs.openbsd.org: src

2020-06-10 Thread Patrick Wildt
CVSROOT:/cvs Module name:src Changes by: patr...@cvs.openbsd.org 2020/06/10 17:36:26 Modified files: sys/dev/fdt: pwmbl.c Log message: In case the device tree does not provide a list of brightness levels, populate a list of 256 levels as fallback. This makes the

CVS: cvs.openbsd.org: src

2020-06-10 Thread Patrick Wildt
CVSROOT:/cvs Module name:src Changes by: patr...@cvs.openbsd.org 2020/06/10 11:58:57 Modified files: share/man/man4 : Makefile iic.4 Added files: share/man/man4 : cwfg.4 Log message: cwfg(4)

CVS: cvs.openbsd.org: src

2020-06-10 Thread Patrick Wildt
CVSROOT:/cvs Module name:src Changes by: patr...@cvs.openbsd.org 2020/06/10 11:51:21 Modified files: sys/dev/fdt: files.fdt Added files: sys/dev/fdt: cwfg.c Log message: Add cwfg(4), a driver for the CellWise CW201x fuel gauge. This allows reading the

CVS: cvs.openbsd.org: src

2020-06-10 Thread Patrick Wildt
CVSROOT:/cvs Module name:src Changes by: patr...@cvs.openbsd.org 2020/06/10 11:52:06 Modified files: sys/arch/arm64/conf: GENERIC Log message: Enable cwfg(4) ok kettenis@

CVS: cvs.openbsd.org: src

2020-06-06 Thread Patrick Wildt
CVSROOT:/cvs Module name:src Changes by: patr...@cvs.openbsd.org 2020/06/06 10:59:43 Modified files: sys/dev/ofw: ofw_misc.c ofw_pinctrl.c ofw_regulator.c Log message: Some devices have no phandle since they are not referenced in the device tree, but they are still

CVS: cvs.openbsd.org: src

2020-06-04 Thread Patrick Wildt
CVSROOT:/cvs Module name:src Changes by: patr...@cvs.openbsd.org 2020/06/04 06:29:16 Modified files: sys/arch/arm64/conf: RAMDISK Log message: Enable bwfm(4).

CVS: cvs.openbsd.org: src

2020-05-29 Thread Patrick Wildt
CVSROOT:/cvs Module name:src Changes by: patr...@cvs.openbsd.org 2020/05/29 14:35:56 Modified files: gnu/usr.bin/binutils-2.17/bfd: elf64-ppc.c Log message: Adjust some PPC ELF code to return -1 instead of doing pointer arithmetics on NULL, like we did in r1.21 on

CVS: cvs.openbsd.org: src

2020-05-25 Thread Patrick Wildt
CVSROOT:/cvs Module name:src Changes by: patr...@cvs.openbsd.org 2020/05/25 06:46:06 Modified files: sys/dev/usb: usbdevs.h usbdevs_data.h Log message: regen

CVS: cvs.openbsd.org: src

2020-05-25 Thread Patrick Wildt
CVSROOT:/cvs Module name:src Changes by: patr...@cvs.openbsd.org 2020/05/25 06:45:56 Modified files: sys/dev/usb: usbdevs Log message: ThingM blink(1)

CVS: cvs.openbsd.org: src

2020-05-23 Thread Patrick Wildt
CVSROOT:/cvs Module name:src Changes by: patr...@cvs.openbsd.org 2020/05/23 16:16:39 Modified files: sys/dev/fdt: dwpcie.c Log message: Increase chances of getting a successful PCIe link on the i.MX8MM. Hold the reset GPIO for 100ms instead of 20ms, and also directly

CVS: cvs.openbsd.org: src

2020-05-23 Thread Patrick Wildt
CVSROOT:/cvs Module name:src Changes by: patr...@cvs.openbsd.org 2020/05/23 01:58:24 Modified files: sys/dev/pci: ppbreg.h Log message: Define PPB_IO_32BIT. Should have been part of the commit to mvkpcie(4) that improved bridge emulation, but unfortunately was

CVS: cvs.openbsd.org: src

2020-05-22 Thread Patrick Wildt
CVSROOT:/cvs Module name:src Changes by: patr...@cvs.openbsd.org 2020/05/22 14:14:04 Modified files: sys/dev/fdt: mvkpcie.c Log message: Improve resetting PCIe devices by making use of the reset-gpios property, which is supposed to be PERST. Before issuing PERST, we

CVS: cvs.openbsd.org: src

2020-05-22 Thread Patrick Wildt
CVSROOT:/cvs Module name:src Changes by: patr...@cvs.openbsd.org 2020/05/22 09:19:13 Modified files: sys/dev/pci: pcidevs Log message: Add Atheros QCA986x/988x PCI ID.

CVS: cvs.openbsd.org: src

2020-05-22 Thread Patrick Wildt
CVSROOT:/cvs Module name:src Changes by: patr...@cvs.openbsd.org 2020/05/22 09:19:27 Modified files: sys/dev/pci: pcidevs.h pcidevs_data.h Log message: regen

CVS: cvs.openbsd.org: src

2020-05-22 Thread Patrick Wildt
CVSROOT:/cvs Module name:src Changes by: patr...@cvs.openbsd.org 2020/05/22 04:26:00 Modified files: sys/dev/fdt: sdhc_fdt.c Log message: Add support for the Marvell Xenon SDHC. This is used on the Armada 3700 and 8040 SoCs and allows me to use an SD card as storage

CVS: cvs.openbsd.org: src

2020-05-22 Thread Patrick Wildt
CVSROOT:/cvs Module name:src Changes by: patr...@cvs.openbsd.org 2020/05/22 04:23:14 Modified files: sys/dev/sdmmc : sdhc.c sdhcvar.h Log message: Add pre/post hooks for bus clock changes to sdhc(4). These will be used by sdhc(4) attachment drivers to do additional MD

CVS: cvs.openbsd.org: src

2020-05-22 Thread Patrick Wildt
CVSROOT:/cvs Module name:src Changes by: patr...@cvs.openbsd.org 2020/05/22 04:06:59 Modified files: sys/dev/fdt: mvclock.c mvpinctrl.c Log message: Attach mvpinctrl(4) to the Armada 3700's NB as well. As a consequence mvclock(4) cannot attach to the NB's xtal clock

CVS: cvs.openbsd.org: src

2020-05-22 Thread Patrick Wildt
CVSROOT:/cvs Module name:src Changes by: patr...@cvs.openbsd.org 2020/05/22 04:02:30 Modified files: sys/dev/fdt: if_mvneta.c Log message: Always defer attaching the mvneta(4) interfaces. Otherwise this leads to unsorted interface lists in ifconfig and the

CVS: cvs.openbsd.org: src

2020-05-22 Thread Patrick Wildt
CVSROOT:/cvs Module name:src Changes by: patr...@cvs.openbsd.org 2020/05/22 03:52:27 Modified files: sys/dev/fdt: sdhc_fdt.c Log message: And add the node to the struct. Sometimes I maybe shouldn't try spliting up diffs before committing.

CVS: cvs.openbsd.org: src

2020-05-22 Thread Patrick Wildt
CVSROOT:/cvs Module name:src Changes by: patr...@cvs.openbsd.org 2020/05/22 03:44:31 Modified files: sys/dev/fdt: sdhc_fdt.c Log message: Actually store the node in the softc. Missed chunk from the previous commit.

CVS: cvs.openbsd.org: src

2020-05-22 Thread Patrick Wildt
CVSROOT:/cvs Module name:src Changes by: patr...@cvs.openbsd.org 2020/05/22 03:41:33 Modified files: sys/dev/fdt: sdhc_fdt.c Log message: Some sdhc(4) on FDT use a card-detect GPIO or have a non-removable flag. If those properties exist, use those to detect a card.

CVS: cvs.openbsd.org: src

2020-05-22 Thread Patrick Wildt
CVSROOT:/cvs Module name:src Changes by: patr...@cvs.openbsd.org 2020/05/22 02:53:01 Modified files: sys/arch/arm64/conf: GENERIC RAMDISK Log message: Enable bwfm(4).

CVS: cvs.openbsd.org: src

2020-05-22 Thread Patrick Wildt
CVSROOT:/cvs Module name:src Changes by: patr...@cvs.openbsd.org 2020/05/22 02:48:49 Modified files: sys/dev/fdt: files.fdt Added files: sys/dev/fdt: mvkpcie.c Log message: Add mvkpcie(4), a driver for the Aardvark PCIe controller found on the Armada

CVS: cvs.openbsd.org: src

2020-05-22 Thread Patrick Wildt
CVSROOT:/cvs Module name:src Changes by: patr...@cvs.openbsd.org 2020/05/22 02:49:02 Modified files: sys/arch/arm64/conf: GENERIC RAMDISK Log message: Enable mvkpcie(4).

CVS: cvs.openbsd.org: src

2020-05-21 Thread Patrick Wildt
CVSROOT:/cvs Module name:src Changes by: patr...@cvs.openbsd.org 2020/05/21 15:46:50 Modified files: sys/dev/pci: pcidevs.h pcidevs_data.h Log message: regen

CVS: cvs.openbsd.org: src

2020-05-21 Thread Patrick Wildt
CVSROOT:/cvs Module name:src Changes by: patr...@cvs.openbsd.org 2020/05/21 15:46:34 Modified files: sys/dev/pci: pcidevs Log message: ASMedia ASM1182e PCIe switch.

CVS: cvs.openbsd.org: src

2020-05-20 Thread Patrick Wildt
CVSROOT:/cvs Module name:src Changes by: patr...@cvs.openbsd.org 2020/05/20 16:44:32 Modified files: sys/dev/fdt: if_mvneta.c Log message: Open up a 4GB memory bus window for mvneta(4) on the Marvell Armada 3700. This makes my second ethernet controller/port work on

CVS: cvs.openbsd.org: src

2020-05-20 Thread Patrick Wildt
CVSROOT:/cvs Module name:src Changes by: patr...@cvs.openbsd.org 2020/05/20 01:07:44 Modified files: gnu/llvm/tools/clang/lib/Basic: Targets.cpp Log message: Make sure that we add our OpenBSD specific defines on PowerPC64 targets. Prompted and tested by drahn@ ok

CVS: cvs.openbsd.org: src

2020-05-19 Thread Patrick Wildt
CVSROOT:/cvs Module name:src Changes by: patr...@cvs.openbsd.org 2020/05/19 06:54:37 Modified files: sys/lib/libsa : in_cksum.c Log message: If we pass a packet length larger than 2^16, we should panic() instead of returning -1. With a return type of u_int16_t, -1 is

CVS: cvs.openbsd.org: src

2020-05-18 Thread Patrick Wildt
CVSROOT:/cvs Module name:src Changes by: patr...@cvs.openbsd.org 2020/05/18 11:01:02 Modified files: sys/lib/libsa : in_cksum.c net.h Log message: Sync in_cksum.c to the same version ospfd has. This fixes problems with odd packet lengths, which can happen when using

CVS: cvs.openbsd.org: src

2020-05-18 Thread Patrick Wildt
CVSROOT:/cvs Module name:src Changes by: patr...@cvs.openbsd.org 2020/05/18 10:29:19 Removed files: sys/arch/macppc/stand/boot.mac: Makefile elf32_powerpc_merge.x fixcoff.c Log message: Move boot.mac into the Attic. ok deraadt@

CVS: cvs.openbsd.org: src

2020-05-18 Thread Patrick Wildt
CVSROOT:/cvs Module name:src Changes by: patr...@cvs.openbsd.org 2020/05/18 06:14:33 Modified files: sys/arch/arm64/stand/efiboot: conf.c efipxe.c sys/arch/armv7/stand/efiboot: conf.c efipxe.c Log message: Our check to see if the EFI services support Mtftp()

CVS: cvs.openbsd.org: src

2020-05-15 Thread Patrick Wildt
CVSROOT:/cvs Module name:src Changes by: patr...@cvs.openbsd.org 2020/05/15 08:09:14 Modified files: sys/dev/ic : bwfm.c bwfmreg.h bwfmvar.h sys/dev/sdmmc : if_bwfm_sdio.c Log message: Some newer bwfm(4) chips from Cypress hold their regulatory constraints

CVS: cvs.openbsd.org: src

2020-04-29 Thread Patrick Wildt
CVSROOT:/cvs Module name:src Changes by: patr...@cvs.openbsd.org 2020/04/29 13:18:31 Modified files: sys/dev/i2c: abx80x.c Log message: Enable the trickle charger after setting the control register.

CVS: cvs.openbsd.org: src

2020-04-29 Thread Patrick Wildt
CVSROOT:/cvs Module name:src Changes by: patr...@cvs.openbsd.org 2020/04/29 13:00:18 Modified files: sys/dev/i2c: abx80x.c Log message: Update the trickle charger diode defines based on the datasheet, and enable the trickle charger.

CVS: cvs.openbsd.org: src

2020-04-29 Thread Patrick Wildt
CVSROOT:/cvs Module name:src Changes by: patr...@cvs.openbsd.org 2020/04/29 12:44:28 Modified files: sys/dev/i2c: abx80x.c Log message: Writing and reading time has been broken in abcrtc(4) as well. I was being too clever trying to use the SMBus block reads/writes.

CVS: cvs.openbsd.org: src

2020-04-29 Thread Patrick Wildt
CVSROOT:/cvs Module name:src Changes by: patr...@cvs.openbsd.org 2020/04/29 09:52:25 Modified files: sys/dev/i2c: abx80x.c Log message: Configure abcrtc(4)'s trickle charger. This uses information from the device tree to configures the RTC to be able to charge a

CVS: cvs.openbsd.org: src

2020-04-29 Thread Patrick Wildt
CVSROOT:/cvs Module name:src Changes by: patr...@cvs.openbsd.org 2020/04/29 09:50:49 Modified files: sys/dev/i2c: abx80x.c Log message: The function to write to abcrtc(4)'s configuration registers unfortunately did not write the data to the register, but the register

CVS: cvs.openbsd.org: src

2020-04-29 Thread Patrick Wildt
CVSROOT:/cvs Module name:src Changes by: patr...@cvs.openbsd.org 2020/04/29 03:44:49 Modified files: sys/dev/sdmmc : sdmmc_cis.c Log message: According to the SDIO Simplified Specification 3.0, a tuple length (aka link field) of 0 specifies an empty tuple body. This

CVS: cvs.openbsd.org: src

2020-04-28 Thread Patrick Wildt
CVSROOT:/cvs Module name:src Changes by: patr...@cvs.openbsd.org 2020/04/28 13:26:45 Modified files: sys/dev/fdt: imxccm.c Log message: Calculate divisor for i.MX8M composite clocks. So far we have set fixed values for the divisors, but the imxesdhc(4) nodes for SD

CVS: cvs.openbsd.org: src

2020-04-28 Thread Patrick Wildt
CVSROOT:/cvs Module name:src Changes by: patr...@cvs.openbsd.org 2020/04/28 11:22:53 Modified files: sys/dev/fdt: imxesdhc.c Log message: Enable all clocks referenced by the imxesdhc(4) device tree node. Usually those are already on, since on those machines we

CVS: cvs.openbsd.org: src

2020-04-28 Thread Patrick Wildt
CVSROOT:/cvs Module name:src Changes by: patr...@cvs.openbsd.org 2020/04/28 11:17:08 Modified files: sys/dev/fdt: imxccm_clocks.h Log message: Recognize a few more clocks referenced by the i.MX8MM and i.MX8MQ imxesdhc(4) device tree nodes.

CVS: cvs.openbsd.org: src

2020-04-27 Thread Patrick Wildt
CVSROOT:/cvs Module name:src Changes by: patr...@cvs.openbsd.org 2020/04/27 15:36:07 Modified files: share/man/man4 : Makefile iic.4 Added files: share/man/man4 : tcpci.4 Log message: tcpci(4)

CVS: cvs.openbsd.org: src

2020-04-27 Thread Patrick Wildt
CVSROOT:/cvs Module name:src Changes by: patr...@cvs.openbsd.org 2020/04/27 15:31:37 Modified files: sys/arch/arm64/conf: GENERIC RAMDISK Log message: Enable tcpci(4).

CVS: cvs.openbsd.org: src

2020-04-27 Thread Patrick Wildt
CVSROOT:/cvs Module name:src Changes by: patr...@cvs.openbsd.org 2020/04/27 15:30:52 Modified files: sys/dev/fdt: files.fdt Added files: sys/dev/fdt: tcpci.c Log message: Add tcpci(4) to support TCPCI-compliant USB Type-C port controllers. A Type-C

CVS: cvs.openbsd.org: src

2020-04-27 Thread Patrick Wildt
CVSROOT:/cvs Module name:src Changes by: patr...@cvs.openbsd.org 2020/04/27 14:15:41 Modified files: sys/dev/fdt: imxehci.c Log message: While i.MX6Q and i.MX7D's USB controller nodes claim to be compatible to i.MX27, they actually need different bits to be set than

CVS: cvs.openbsd.org: src

2020-04-27 Thread Patrick Wildt
CVSROOT:/cvs Module name:src Changes by: patr...@cvs.openbsd.org 2020/04/27 14:09:55 Modified files: sys/dev/fdt: imxehci.c Log message: Use the device tree properties to setup imxehci(4)'s USB non-core instead of hardcoding the values. Tested on a Cubox-i by

CVS: cvs.openbsd.org: src

2020-04-27 Thread Patrick Wildt
CVSROOT:/cvs Module name:src Changes by: patr...@cvs.openbsd.org 2020/04/27 14:07:39 Modified files: sys/dev/fdt: imxehci.c Log message: Enable the power domain and set the assigned clocks on imxehci(4)'s USB controller and its nop-PHYs. This is needed on the

CVS: cvs.openbsd.org: src

2020-04-27 Thread Patrick Wildt
CVSROOT:/cvs Module name:src Changes by: patr...@cvs.openbsd.org 2020/04/27 10:37:36 Modified files: sys/dev/fdt: imxccm_clocks.h Log message: The parent of the i.MX8MM and i.MX8MQ USB_CTRL_ROOTs is USB_BUS, not USB_CORE_REF.

CVS: cvs.openbsd.org: src

2020-04-27 Thread Patrick Wildt
CVSROOT:/cvs Module name:src Changes by: patr...@cvs.openbsd.org 2020/04/27 06:17:29 Modified files: sys/dev/fdt: dwpcie.c Log message: PCIe register accesses seem to "hang" on the i.MX8MM if its PHY doesn't come up. This apparently happens when there's no card in

CVS: cvs.openbsd.org: src

2020-04-27 Thread Patrick Wildt
CVSROOT:/cvs Module name:src Changes by: patr...@cvs.openbsd.org 2020/04/27 05:41:32 Modified files: sys/dev/fdt: dwpcie.c Log message: Free the "ranges" array in the error handling paths. ok kettenis@

CVS: cvs.openbsd.org: src

2020-04-26 Thread Patrick Wildt
CVSROOT:/cvs Module name:src Changes by: patr...@cvs.openbsd.org 2020/04/26 14:49:56 Modified files: sys/dev/pci: if_em.c Log message: Map em(4) descriptor rings coherent. This doesn't make a difference on x86, but on selected ARM64 machines with non-cache-coherent

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