CVS commit: src/sys/dev/pci

2018-12-05 Thread Manuel Bouyer
Module Name:src Committed By: bouyer Date: Wed Dec 5 10:38:22 UTC 2018 Modified Files: src/sys/dev/pci: mpii.c Log Message: There's no sensors for physical disks so don't try to detach them. To generate a diff of this commit: cvs rdiff -u -r1.17 -r1.18 src/sys/dev/pci/m

CVS commit: src/sys/dev/pci

2018-12-04 Thread Manuel Bouyer
Module Name:src Committed By: bouyer Date: Tue Dec 4 19:54:02 UTC 2018 Modified Files: src/sys/dev/pci: mpii.c Log Message: NULL-terminate mpii_devices[], this is the end condition of the loop in mpii_match(). Noticed by Mike Pumford To generate a diff of this commit: c

CVS commit: src/sys/dev/pci

2018-12-03 Thread Manuel Bouyer
Module Name:src Committed By: bouyer Date: Mon Dec 3 23:23:30 UTC 2018 Modified Files: src/sys/dev/pci: mpii.c Log Message: Also tell the scsi layer that we are MPSAFE To generate a diff of this commit: cvs rdiff -u -r1.15 -r1.16 src/sys/dev/pci/mpii.c Please note that

CVS commit: src/share/man/man4

2018-12-03 Thread Manuel Bouyer
Module Name:src Committed By: bouyer Date: Mon Dec 3 22:41:56 UTC 2018 Modified Files: src/share/man/man4: mpii.4 Log Message: Update for the new mpii(4) driver, mostly from OpenBSD. To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3 src/share/man/man4/mpii.4

CVS commit: src/sys/dev/pci

2018-12-03 Thread Manuel Bouyer
Module Name:src Committed By: bouyer Date: Mon Dec 3 22:34:36 UTC 2018 Modified Files: src/sys/dev/pci: mfii.c mpii.c mpiireg.h Log Message: Update the mpii(4) driver to the latest OpenBSD version. This adds support for the SAS3xxx LSI controllers, and this also makes the

CVS commit: src/sys/dev/pci

2018-12-03 Thread Manuel Bouyer
Module Name:src Committed By: bouyer Date: Mon Dec 3 18:24:18 UTC 2018 Modified Files: src/sys/dev/pci: pcidevs.h pcidevs_data.h Log Message: Regen for new Symbios devices To generate a diff of this commit: cvs rdiff -u -r1.1344 -r1.1345 src/sys/dev/pci/pcidevs.h cvs rd

CVS commit: src/sys/dev/pci

2018-12-03 Thread Manuel Bouyer
Module Name:src Committed By: bouyer Date: Mon Dec 3 18:23:02 UTC 2018 Modified Files: src/sys/dev/pci: pcidevs Log Message: Add 2 Symbios products, from OpenBSD To generate a diff of this commit: cvs rdiff -u -r1.1355 -r1.1356 src/sys/dev/pci/pcidevs Please note that

CVS commit: src/sys/dev/pci

2018-12-02 Thread Manuel Bouyer
Module Name:src Committed By: bouyer Date: Sun Dec 2 17:02:04 UTC 2018 Modified Files: src/sys/dev/pci: if_bge.c if_bgereg.h Log Message: Don't destroy the dma maps if we're not disabling the adapter, avoids a KASSERT() when bus_dmamap_destroy() is called from interrupt c

CVS commit: src/sys/dev/pci

2018-11-27 Thread Manuel Bouyer
Module Name:src Committed By: bouyer Date: Tue Nov 27 19:17:02 UTC 2018 Modified Files: src/sys/dev/pci: if_bge.c if_bgevar.h Log Message: More TSO4 fixes, from the freebsd driver: - the chip doens't want the lenght of options, but the complete lenght of ip headers (ip +

CVS commit: src

2018-11-24 Thread Manuel Bouyer
Module Name:src Committed By: bouyer Date: Sat Nov 24 18:37:50 UTC 2018 Modified Files: src/distrib/sets/lists/man: mi src/share/man/man4: Makefile Added Files: src/share/man/man4: mfii.4 Log Message: add a man page for the new mpii, mostly from OpenBSD.

CVS commit: src/sys/dev/pci

2018-11-24 Thread Manuel Bouyer
@@ -1,7 +1,8 @@ -/* $NetBSD: mfii.c,v 1.1 2018/11/24 18:23:29 bouyer Exp $ */ +/* $NetBSD: mfii.c,v 1.2 2018/11/24 18:37:16 bouyer Exp $ */ /* $OpenBSD: mfii.c,v 1.58 2018/08/14 05:22:21 jmatthew Exp $ */ /* + * Copyright (c) 2018 Manuel Bouyer * Copyright (c) 2012 David Gwynne

CVS commit: src/sys

2018-11-24 Thread Manuel Bouyer
Module Name:src Committed By: bouyer Date: Sat Nov 24 18:23:29 UTC 2018 Modified Files: src/sys/arch/amd64/conf: ALL GENERIC XEN3_DOM0 src/sys/arch/i386/conf: ALL GENERIC XEN3PAE_DOM0 src/sys/dev/pci: files.pci Added Files: src/sys/dev/pci: mfii.c L

CVS commit: src/sys/dev/scsipi

2018-11-24 Thread Manuel Bouyer
Module Name:src Committed By: bouyer Date: Sat Nov 24 18:15:23 UTC 2018 Modified Files: src/sys/dev/scsipi: scsipi_base.c Log Message: Add more KASSERTS about locking. To generate a diff of this commit: cvs rdiff -u -r1.179 -r1.180 src/sys/dev/scsipi/scsipi_base.c Pleas

CVS commit: src/sys/dev/pci

2018-11-24 Thread Manuel Bouyer
Module Name:src Committed By: bouyer Date: Sat Nov 24 18:14:44 UTC 2018 Modified Files: src/sys/dev/pci: if_bge.c Log Message: 5717 and newer handle TSO in a sighly different way. From FreeBSD. While there, use different lowat/hiwat values if MTU is larger than ETHERMTU, f

CVS commit: src/sys/dev/pci

2018-11-24 Thread Manuel Bouyer
Module Name:src Committed By: bouyer Date: Sat Nov 24 18:11:22 UTC 2018 Modified Files: src/sys/dev/pci: mpii.c Added Files: src/sys/dev/pci: mpiireg.h Log Message: Move registers definitions to a separate file, needed for the upcomning mpii driver. No functionnal

CVS commit: src/sys/dev/ic

2018-11-24 Thread Manuel Bouyer
Module Name:src Committed By: bouyer Date: Sat Nov 24 18:10:29 UTC 2018 Modified Files: src/sys/dev/ic: mfi.c mfireg.h Log Message: Add some definitions from OpenBSD, needed by the upcoming mfii driver. No functionnal change. To generate a diff of this commit: cvs rdiff

CVS commit: src/sys/dev

2018-11-24 Thread Manuel Bouyer
Module Name:src Committed By: bouyer Date: Sat Nov 24 18:09:14 UTC 2018 Modified Files: src/sys/dev: dksubr.c Log Message: rnd_add_uint32() doens't support concurent calls for the same rnd_source, call it with dksc->sc_iolock held. To generate a diff of this commit: cvs

CVS commit: src/usr.sbin/sysinst

2018-11-13 Thread Manuel Bouyer
Module Name:src Committed By: bouyer Date: Tue Nov 13 17:22:04 UTC 2018 Modified Files: src/usr.sbin/sysinst: disks.c Log Message: Skip mbr for xbd and raid devices, as it was before Nov. 5 commits. anita xen installs should work again. To generate a diff of this commit:

CVS commit: src/sys/dev/i2c

2018-10-01 Thread Manuel Bouyer
Module Name:src Committed By: bouyer Date: Mon Oct 1 09:39:20 UTC 2018 Modified Files: src/sys/dev/i2c: gttwsi_core.c Log Message: Expand code covered by sc->sc_mtx, to make sure an interrupt would not be handled before the cv_timedwait_sig() call, or while polling. Seems

CVS commit: src/sys/arch/evbarm/fdt

2018-09-26 Thread Manuel Bouyer
Module Name:src Committed By: bouyer Date: Wed Sep 26 09:06:48 UTC 2018 Modified Files: src/sys/arch/evbarm/fdt: fdt_machdep.c Log Message: Don't call ukbd_cnattach() unconditionally, this causes a non-functionnal keyboard if there is a framebuffer but the console is seria

CVS commit: src/sys/dev/wscons

2018-09-26 Thread Manuel Bouyer
Module Name:src Committed By: bouyer Date: Wed Sep 26 09:04:12 UTC 2018 Modified Files: src/sys/dev/wscons: wsdisplay.c wsdisplayvar.h Log Message: Introduce wsdisplay_isconsole(struct wsdisplay_softc *), which returns sc->sc_isconsole To generate a diff of this commit:

CVS commit: src/sys/arch/xen/xen

2018-08-26 Thread Manuel Bouyer
-1,4 +1,4 @@ -/* $NetBSD: xbd_xenbus.c,v 1.86 2018/08/21 18:55:08 jdolecek Exp $ */ +/* $NetBSD: xbd_xenbus.c,v 1.87 2018/08/26 11:31:56 bouyer Exp $ */ /* * Copyright (c) 2006 Manuel Bouyer. @@ -50,7 +50,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: xbd_xenbus.c,v 1.8

CVS commit: src/sys/kern

2018-07-24 Thread Manuel Bouyer
Module Name:src Committed By: bouyer Date: Tue Jul 24 15:09:37 UTC 2018 Modified Files: src/sys/kern: kern_synch.c Log Message: In mi_switch(), also call pserialize_switchpoint() if we're not switching to another lwp, as proposed on http://mail-index.netbsd.org/tech-kern/2

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

2018-07-24 Thread Manuel Bouyer
Module Name:src Committed By: bouyer Date: Tue Jul 24 12:26:14 UTC 2018 Modified Files: src/sys/arch/xen/x86: xen_ipi.c Log Message: Fix what looks like a typo in xen_send_ipi(): ci != NULL || ci != curcpu() is always true To generate a diff of this commit: cvs rdiff -u

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

2018-07-24 Thread Manuel Bouyer
Module Name:src Committed By: bouyer Date: Tue Jul 24 12:24:45 UTC 2018 Modified Files: src/sys/arch/xen/x86: cpu.c Log Message: Sync cpu_boot_secondary_processors() with x86/x86/cpu.c: explicitely wait for all CPUs to be registered in kcpuset_running. To generate a diff

CVS commit: src/common/lib/libc/arch/i386/atomic

2018-07-18 Thread Manuel Bouyer
Module Name:src Committed By: bouyer Date: Wed Jul 18 13:39:36 UTC 2018 Modified Files: src/common/lib/libc/arch/i386/atomic: atomic.S Log Message: On Xen, always alias _atomic_cas_64 to _atomic_cas_cx8. AFAIK Xen doesn't support CPUs that don't support cx8. i386 XENPAE_DO

CVS commit: src/sys/arch

2018-07-17 Thread Manuel Bouyer
Module Name:src Committed By: bouyer Date: Tue Jul 17 10:18:32 UTC 2018 Modified Files: src/sys/arch/amd64/conf: XEN3_DOMU src/sys/arch/i386/conf: XEN3_DOMU Log Message: Put back trace in DDB_COMMANDONENTER; in seems that the sysctl is not functionnal early in boot

CVS commit: [netbsd-8] src/doc

2018-06-05 Thread Manuel Bouyer
Module Name:src Committed By: bouyer Date: Tue Jun 5 08:14:25 UTC 2018 Modified Files: src/doc [netbsd-8]: CHANGES-8.0 Log Message: Change #860 entry with the text provided in the ticket. To generate a diff of this commit: cvs rdiff -u -r1.1.2.202 -r1.1.2.203 src/doc/CH

CVS commit: [netbsd-8] src/doc

2018-06-05 Thread Manuel Bouyer
Module Name:src Committed By: bouyer Date: Tue Jun 5 08:13:27 UTC 2018 Modified Files: src/doc [netbsd-8]: CHANGES-8.0 Log Message: tickets 859, 860 To generate a diff of this commit: cvs rdiff -u -r1.1.2.201 -r1.1.2.202 src/doc/CHANGES-8.0 Please note that diffs are n

CVS commit: [netbsd-8] src/usr.sbin/sysinst

2018-06-05 Thread Manuel Bouyer
Module Name:src Committed By: bouyer Date: Tue Jun 5 08:12:54 UTC 2018 Modified Files: src/usr.sbin/sysinst [netbsd-8]: bsddisklabel.c defs.h disks.c mbr.c menus.mi msg.mi.de msg.mi.en msg.mi.es msg.mi.fr msg.mi.pl src/usr.sbin/sysinst/arch/i386 [netbsd

CVS commit: [netbsd-8] src/sys/arch/arm/arm

2018-06-05 Thread Manuel Bouyer
Module Name:src Committed By: bouyer Date: Tue Jun 5 08:04:34 UTC 2018 Modified Files: src/sys/arch/arm/arm [netbsd-8]: syscall.c Log Message: Pull up following revision(s) (requested by martin in ticket #859): sys/arch/arm/arm/syscall.c: revision 1.65 PR kern/532

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

2018-06-01 Thread Manuel Bouyer
ouyer Exp $ */ /*- * Copyright (c) 2018 Manuel Bouyer @@ -38,7 +38,7 @@ #define SUNXI_DEBE_CURMAX 64 #include -__KERNEL_RCSID(0, "$NetBSD: sunxi_debe.c,v 1.8 2018/04/07 18:09:33 bouyer Exp $"); +__KERNEL_RCSID(0, "$NetBSD: sunxi_debe.c,v 1.9 2018/06/01 17:18:44 bouyer

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

2018-04-20 Thread Manuel Bouyer
Module Name:src Committed By: bouyer Date: Fri Apr 20 18:07:41 UTC 2018 Modified Files: src/sys/arch/arm/sunxi: sunxi_codec.c Log Message: Remove sunxi_codec_drain(). It's optional, and as the DMA is not stopped at this time I'm not sure what draining the fifo means here.

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

2018-04-20 Thread Manuel Bouyer
Module Name:src Committed By: bouyer Date: Fri Apr 20 18:04:12 UTC 2018 Modified Files: src/sys/arch/arm/sunxi: sun4i_dma.c Log Message: sun4idma_halt(): do not set the control register to 0 but just clear the LOAD bit. This is how it was done in the allwinner code. I don'

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

2018-04-19 Thread Manuel Bouyer
Module Name:src Committed By: bouyer Date: Thu Apr 19 18:19:17 UTC 2018 Modified Files: src/sys/arch/arm/sunxi: sunxi_codec.c Log Message: Take the interrupt lock in interrupt handler. Seesm to fix the hang I was seeing with a portaudio2 application. Don't unmute at attach

CVS commit: [netbsd-8] src/doc

2018-04-10 Thread Manuel Bouyer
Module Name:src Committed By: bouyer Date: Tue Apr 10 08:07:48 UTC 2018 Modified Files: src/doc [netbsd-8]: CHANGES-8.0 Log Message: ticket 726 To generate a diff of this commit: cvs rdiff -u -r1.1.2.174 -r1.1.2.175 src/doc/CHANGES-8.0 Please note that diffs are not pub

CVS commit: [netbsd-8] src/tests/usr.bin/shmif_dumpbus

2018-04-10 Thread Manuel Bouyer
Module Name:src Committed By: bouyer Date: Tue Apr 10 08:06:46 UTC 2018 Modified Files: src/tests/usr.bin/shmif_dumpbus [netbsd-8]: d_pcap.out.bz2.uue t_basic.sh Log Message: Pull up following revision(s) (requested by martin in ticket #726): tests/usr.

CVS commit: [netbsd-8] src/doc

2018-04-09 Thread Manuel Bouyer
Module Name:src Committed By: bouyer Date: Mon Apr 9 15:59:59 UTC 2018 Modified Files: src/doc [netbsd-8]: CHANGES-8.0 Log Message: ticket #709 To generate a diff of this commit: cvs rdiff -u -r1.1.2.170 -r1.1.2.171 src/doc/CHANGES-8.0 Please note that diffs are not pu

CVS commit: [netbsd-8] src/sys/dev/iscsi

2018-04-09 Thread Manuel Bouyer
Module Name:src Committed By: bouyer Date: Mon Apr 9 15:58:52 UTC 2018 Modified Files: src/sys/dev/iscsi [netbsd-8]: iscsi_rcv.c iscsi_send.c Log Message: Pull up following revision(s) (requested by mlelstv in ticket #709): sys/dev/iscsi/iscsi_send.c: revision 1.3

CVS commit: [netbsd-8] src/doc

2018-04-09 Thread Manuel Bouyer
Module Name:src Committed By: bouyer Date: Mon Apr 9 13:40:46 UTC 2018 Modified Files: src/doc [netbsd-8]: CHANGES-8.0 Log Message: ticket 725 To generate a diff of this commit: cvs rdiff -u -r1.1.2.169 -r1.1.2.170 src/doc/CHANGES-8.0 Please note that diffs are not pub

CVS commit: [netbsd-8] src/sys/net

2018-04-09 Thread Manuel Bouyer
Module Name:src Committed By: bouyer Date: Mon Apr 9 13:40:21 UTC 2018 Modified Files: src/sys/net [netbsd-8]: if_l2tp.c Log Message: Pull up following revision(s) (requested by knakahara in ticket #725): sys/net/if_l2tp.c: revision 1.21 Fix l2tp(4) alignment chec

CVS commit: [netbsd-8] src/doc

2018-04-09 Thread Manuel Bouyer
Module Name:src Committed By: bouyer Date: Mon Apr 9 13:36:36 UTC 2018 Modified Files: src/doc [netbsd-8]: CHANGES-8.0 Log Message: Tickets 718 719 721 722 724 To generate a diff of this commit: cvs rdiff -u -r1.1.2.168 -r1.1.2.169 src/doc/CHANGES-8.0 Please note that

CVS commit: [netbsd-8] src

2018-04-09 Thread Manuel Bouyer
Module Name:src Committed By: bouyer Date: Mon Apr 9 13:34:11 UTC 2018 Modified Files: src/lib/libc/sys [netbsd-8]: recv.2 src/sbin/route [netbsd-8]: route.c src/sys/kern [netbsd-8]: uipc_socket.c uipc_socket2.c uipc_usrreq.c src/sys/net [netbsd-8]:

CVS commit: [netbsd-8] src/sys/arch/mips/mips

2018-04-09 Thread Manuel Bouyer
Module Name:src Committed By: bouyer Date: Mon Apr 9 13:29:01 UTC 2018 Modified Files: src/sys/arch/mips/mips [netbsd-8]: cpu_subr.c Log Message: Pull up following revision(s) (requested by msaitoh in ticket #722): sys/arch/mips/mips/cpu_subr.c: revision 1.33 spl

CVS commit: [netbsd-8] src/sys/arch/amiga/amiga

2018-04-09 Thread Manuel Bouyer
Module Name:src Committed By: bouyer Date: Mon Apr 9 13:27:42 UTC 2018 Modified Files: src/sys/arch/amiga/amiga [netbsd-8]: cc.c Log Message: Pull up following revision(s) (requested by msaitoh in ticket #721): sys/arch/amiga/amiga/cc.c: revision 1.27 spl leak, fo

CVS commit: [netbsd-8] src/sys/dev/pci

2018-04-09 Thread Manuel Bouyer
Module Name:src Committed By: bouyer Date: Mon Apr 9 13:25:36 UTC 2018 Modified Files: src/sys/dev/pci [netbsd-8]: if_rtwn.c Log Message: Pull up following revision(s) (requested by msaitoh in ticket #719): sys/dev/pci/if_rtwn.c: revision 1.15 in rtwn_attach(): re

CVS commit: [netbsd-8] src/sys/dev/ic

2018-04-09 Thread Manuel Bouyer
Module Name:src Committed By: bouyer Date: Mon Apr 9 13:23:29 UTC 2018 Modified Files: src/sys/dev/ic [netbsd-8]: nvme.c Log Message: Pull up following revision(s) (requested by msaitoh in ticket #718): sys/dev/ic/nvme.c: revision 1.32 - don't leak ccb on alloc fa

CVS commit: [netbsd-8] src/sbin/gpt

2018-04-09 Thread Manuel Bouyer
Module Name:src Committed By: bouyer Date: Mon Apr 9 12:54:00 UTC 2018 Modified Files: src/sbin/gpt [netbsd-8]: gpt.8 gpt.h main.c set.c type.c unset.c Log Message: Pull up following revision(s) (requested by mlelstv in ticket #710): sbin/gpt/main.c: revision 1.11

CVS commit: [netbsd-8] src/doc

2018-04-09 Thread Manuel Bouyer
Module Name:src Committed By: bouyer Date: Mon Apr 9 12:54:34 UTC 2018 Modified Files: src/doc [netbsd-8]: CHANGES-8.0 Log Message: tickets 708, 710 To generate a diff of this commit: cvs rdiff -u -r1.1.2.167 -r1.1.2.168 src/doc/CHANGES-8.0 Please note that diffs are n

CVS commit: [netbsd-8] src/sys

2018-04-09 Thread Manuel Bouyer
Module Name:src Committed By: bouyer Date: Mon Apr 9 12:49:32 UTC 2018 Modified Files: src/sys/arch/amd64/conf [netbsd-8]: ALL src/sys/conf [netbsd-8]: files src/sys/dev/ic [netbsd-8]: ciss.c cissvar.h src/sys/dev/pci [netbsd-8]: ciss_pci.c Log Mes

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

2018-04-08 Thread Manuel Bouyer
Module Name:src Committed By: bouyer Date: Sun Apr 8 09:19:27 UTC 2018 Modified Files: src/sys/arch/arm/vfp: vfp_init.c Log Message: Remove the call to vfp_fpscr_handler() from vfp_handler(). It actually never avoids a full FPU switch, and costs a function call and a few

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

2018-04-07 Thread Manuel Bouyer
Module Name:src Committed By: bouyer Date: Sat Apr 7 18:35:01 UTC 2018 Modified Files: src/sys/arch/evbarm/conf: SUNXI Log Message: Move sunxidep to pass5, it has to attach before simplefb To generate a diff of this commit: cvs rdiff -u -r1.62 -r1.63 src/sys/arch/evbarm

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

2018-04-07 Thread Manuel Bouyer
Module Name:src Committed By: bouyer Date: Sat Apr 7 18:12:51 UTC 2018 Modified Files: src/sys/arch/evbarm/conf: SUNXI Log Message: Enable the display engine devices. Note that even if they attaches, they will be active only if a proper display engine pipeline entry is pr

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

2018-04-07 Thread Manuel Bouyer
18:09:33 2018 @@ -1,4 +1,4 @@ -/* $NetBSD: sunxi_debe.c,v 1.7 2018/04/05 10:21:39 jmcneill Exp $ */ +/* $NetBSD: sunxi_debe.c,v 1.8 2018/04/07 18:09:33 bouyer Exp $ */ /*- * Copyright (c) 2018 Manuel Bouyer @@ -38,7 +38,7 @@ #define SUNXI_DEBE_CURMAX 64 #include -__KERNEL_RCSID(0, &qu

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

2018-04-07 Thread Manuel Bouyer
Module Name:src Committed By: bouyer Date: Sat Apr 7 18:06:27 UTC 2018 Modified Files: src/sys/arch/arm/sunxi: sunxi_platform.c Log Message: Handle 'console=serial' passed from the bootargs. ok jmcneill@ To generate a diff of this commit: cvs rdiff -u -r1.22 -r1.23 src/

CVS commit: src/sys/dev/fdt

2018-04-07 Thread Manuel Bouyer
Module Name:src Committed By: bouyer Date: Sat Apr 7 18:05:08 UTC 2018 Modified Files: src/sys/dev/fdt: fdtbus.c fdtvar.h Log Message: Allow to remove entries from the fdt, either by handle or by compatible string. Proposed on tech-kern and port-arm, ok jmcneill@ To gen

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

2018-04-06 Thread Manuel Bouyer
bouyer Exp $ */ /*- * Copyright (c) 2018 Manuel Bouyer @@ -30,7 +30,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: sunxi_tcon.c,v 1.4 2018/04/04 16:01:05 bouyer Exp $"); +__KERNEL_RCSID(0, "$NetBSD: sunxi_tcon.c,v 1.5 2018/04/06 08:23:40 bouyer Exp $"); #include #include @@ -140

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

2018-04-04 Thread Manuel Bouyer
2018 @@ -1,4 +1,4 @@ -/* $NetBSD: sunxi_tcon.c,v 1.3 2018/04/03 16:17:59 bouyer Exp $ */ +/* $NetBSD: sunxi_tcon.c,v 1.4 2018/04/04 16:01:05 bouyer Exp $ */ /*- * Copyright (c) 2018 Manuel Bouyer @@ -30,7 +30,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: sunxi_tcon.c,v 1.3 2018/0

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

2018-04-03 Thread Manuel Bouyer
(c) 2018 Manuel Bouyer @@ -38,7 +38,7 @@ #define SUNXI_DEBE_CURMAX 64 #include -__KERNEL_RCSID(0, "$NetBSD: sunxi_debe.c,v 1.4 2018/04/03 13:38:13 bouyer Exp $"); +__KERNEL_RCSID(0, "$NetBSD: sunxi_debe.c,v 1.5 2018/04/03 16:17:59 bouyer Exp $"); #include #include

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

2018-04-03 Thread Manuel Bouyer
Module Name:src Committed By: bouyer Date: Tue Apr 3 16:01:25 UTC 2018 Modified Files: src/sys/arch/arm/sunxi: sun4i_a10_gpio.c sun50i_a64_gpio.c sun50i_h6_gpio.c sun5i_a13_gpio.c sun6i_a31_gpio.c sun7i_a20_gpio.c sun8i_a83t_gpio.c sun8i_h3_gpio.c s

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

2018-04-03 Thread Manuel Bouyer
/sunxi_debe.c:1.3 Tue Apr 3 12:52:16 2018 +++ src/sys/arch/arm/sunxi/sunxi_debe.c Tue Apr 3 13:38:13 2018 @@ -1,4 +1,4 @@ -/* $NetBSD: sunxi_debe.c,v 1.3 2018/04/03 12:52:16 bouyer Exp $ */ +/* $NetBSD: sunxi_debe.c,v 1.4 2018/04/03 13:38:13 bouyer Exp $ */ /*- * Copyright (c) 2018 Manuel Bouyer

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

2018-04-03 Thread Manuel Bouyer
Module Name:src Committed By: bouyer Date: Tue Apr 3 12:56:21 UTC 2018 Modified Files: src/sys/arch/evbarm/conf: SUNXI Log Message: Add commented out entries for the display drivers. To generate a diff of this commit: cvs rdiff -u -r1.60 -r1.61 src/sys/arch/evbarm/conf/

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

2018-04-03 Thread Manuel Bouyer
Manuel Bouyer + * All rights reserved. + * + * Copyright (c) 2014 Jared D. McNeill + * All rights reserved. + * + * 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

CVS commit: src/sys/dev/fdt

2018-04-03 Thread Manuel Bouyer
dt.c,v 1.1 2018/04/03 12:40:20 bouyer Exp $ */ + +/*- + * Copyright (c) 2018 The NetBSD Foundation, Inc. + * All rights reserved. + * + * This code is derived from software contributed to The NetBSD Foundation + * by Manuel Bouyer. + * + * Redistribution and use in source and binary forms, with

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

2018-04-03 Thread Manuel Bouyer
Module Name:src Committed By: bouyer Date: Tue Apr 3 10:10:17 UTC 2018 Modified Files: src/sys/arch/arm/sunxi: sun4i_a10_gpio.c sun7i_a20_gpio.c Log Message: external interrupt functions are named "eint" in the sunxi_gpio_pins[] arrays, while sunxi_gpio_establish() looks

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

2018-04-02 Thread Manuel Bouyer
Module Name:src Committed By: bouyer Date: Mon Apr 2 20:57:18 UTC 2018 Modified Files: src/sys/arch/arm/sunxi: sun4i_a10_ccu.c Log Message: Add missing A10_RST_LVDS entry fix sun4i_a10_ac_dig_table[] with values from arm/allwinner/, audio plays at the right rate again on

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

2018-04-02 Thread Manuel Bouyer
2018 +++ src/sys/arch/arm/sunxi/sunxi_ccu_display.c Mon Apr 2 20:55:49 2018 @@ -1,4 +1,4 @@ -/* $NetBSD: sunxi_ccu_display.c,v 1.1 2018/04/01 21:19:17 bouyer Exp $ */ +/* $NetBSD: sunxi_ccu_display.c,v 1.2 2018/04/02 20:55:49 bouyer Exp $ */ /*- * Copyright (c) 2018 Manuel Bouyer @@ -30,7

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

2018-04-01 Thread Manuel Bouyer
if (fractional->prediv > 0) + parent_rate = parent_rate / fractional->prediv; + + for (i = 0; i < __arraycount(fractional->frac); i++) { + if (fractional->frac[i] == try_rate) { + return try_rate; + } + } + + best_rate = 0; + best_diff = INT_MAX; + + for (m = fractional->m_

CVS commit: src/sys/dev/clk

2018-04-01 Thread Manuel Bouyer
Module Name:src Committed By: bouyer Date: Sun Apr 1 21:11:01 UTC 2018 Modified Files: src/sys/dev/clk: clk.c clk.h clk_backend.h Log Message: As discussed on tech-kern@ 10 days ago, add a clk_round_rate() method, which returns the rate that would be used by this clock if

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

2018-04-01 Thread Manuel Bouyer
Module Name:src Committed By: bouyer Date: Sun Apr 1 21:05:55 UTC 2018 Modified Files: src/sys/arch/arm/sunxi: sun7i_a20_gpio.c Log Message: Fix lvds output: PD10->19 are for lvds1, not lvds0. But they may be used by tcon0 when it is set to dual-LVDS mode. To generate a

CVS commit: [netbsd-8] src/doc

2018-03-31 Thread Manuel Bouyer
Module Name:src Committed By: bouyer Date: Sat Mar 31 11:22:06 UTC 2018 Modified Files: src/doc [netbsd-8]: CHANGES-8.0 Log Message: Better entry for 659 To generate a diff of this commit: cvs rdiff -u -r1.1.2.157 -r1.1.2.158 src/doc/CHANGES-8.0 Please note that diffs a

CVS commit: [netbsd-8] src/doc

2018-03-31 Thread Manuel Bouyer
Module Name:src Committed By: bouyer Date: Sat Mar 31 11:21:10 UTC 2018 Modified Files: src/doc [netbsd-8]: CHANGES-8.0 Log Message: ticket 659 To generate a diff of this commit: cvs rdiff -u -r1.1.2.156 -r1.1.2.157 src/doc/CHANGES-8.0 Please note that diffs are not pub

CVS commit: [netbsd-8] src/lib/libm/src

2018-03-31 Thread Manuel Bouyer
Module Name:src Committed By: bouyer Date: Sat Mar 31 11:20:46 UTC 2018 Modified Files: src/lib/libm/src [netbsd-8]: s_scalbn.c Log Message: Pull up following revision(s) (requested by martin in ticket #659): lib/libm/src/s_scalbn.c: revision 1.19 Add missing alias

CVS commit: src/sys

2018-03-20 Thread Manuel Bouyer
Module Name:src Committed By: bouyer Date: Tue Mar 20 12:14:52 UTC 2018 Modified Files: src/sys/arch/ia64/acpi: acpi_machdep.c src/sys/arch/ia64/include: acpi_machdep.h src/sys/arch/x86/acpi: acpi_machdep.c src/sys/arch/x86/include: acpi_machdep.h

CVS commit: [netbsd-8] src/doc

2018-03-20 Thread Manuel Bouyer
Module Name:src Committed By: bouyer Date: Tue Mar 20 09:18:50 UTC 2018 Modified Files: src/doc [netbsd-8]: CHANGES-8.0 Log Message: tickets 644-647 To generate a diff of this commit: cvs rdiff -u -r1.1.2.148 -r1.1.2.149 src/doc/CHANGES-8.0 Please note that diffs are no

CVS commit: [netbsd-8] src/share/mk

2018-03-20 Thread Manuel Bouyer
Module Name:src Committed By: bouyer Date: Tue Mar 20 09:17:43 UTC 2018 Modified Files: src/share/mk [netbsd-8]: bsd.own.mk Log Message: Pull up following revision(s) (requested by martin in ticket #647): share/mk/bsd.own.mk: revision 1.1051 Don't barf if the ctf t

CVS commit: [netbsd-8] src/sys/arch/alpha/alpha

2018-03-20 Thread Manuel Bouyer
Module Name:src Committed By: bouyer Date: Tue Mar 20 09:15:34 UTC 2018 Modified Files: src/sys/arch/alpha/alpha [netbsd-8]: vm_machdep.c Log Message: Pull up following revision(s) (requested by martin in ticket #646): sys/arch/alpha/alpha/vm_machdep.c: revision 1.

CVS commit: [netbsd-8] src/sys/netinet6

2018-03-20 Thread Manuel Bouyer
Module Name:src Committed By: bouyer Date: Tue Mar 20 09:13:15 UTC 2018 Modified Files: src/sys/netinet6 [netbsd-8]: nd6_nbr.c Log Message: Pull up following revision(s) (requested by ozaki-r in ticket #645): sys/netinet6/nd6_nbr.c: revision 1.153 Pull out a sleepa

CVS commit: [netbsd-8] src/sys/kern

2018-03-20 Thread Manuel Bouyer
Module Name:src Committed By: bouyer Date: Tue Mar 20 09:10:57 UTC 2018 Modified Files: src/sys/kern [netbsd-8]: exec_elf.c Log Message: Pull up following revision(s) (requested by alnsn in ticket #644): sys/kern/exec_elf.c: revision 1.95 sys/kern/exec_elf.

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

2018-03-19 Thread Manuel Bouyer
Module Name:src Committed By: bouyer Date: Mon Mar 19 16:19:17 UTC 2018 Modified Files: src/sys/arch/arm/sunxi: sunxi_ccu_div.c Log Message: Make sunxi_ccu_div_set_rate() work on non-SUNXI_CCU_DIV_TIMES_TWO clocks. To generate a diff of this commit: cvs rdiff -u -r1.4 -r

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

2018-03-19 Thread Manuel Bouyer
Module Name:src Committed By: bouyer Date: Mon Mar 19 16:18:31 UTC 2018 Modified Files: src/sys/arch/arm/sunxi: files.sunxi sun4i_a10_ccu.c sunxi_ccu.c sunxi_ccu.h Added Files: src/sys/arch/arm/sunxi: sunxi_ccu_fractional.c Log Message: Add some more A1

CVS commit: [netbsd-8] src/doc

2018-03-15 Thread Manuel Bouyer
Module Name:src Committed By: bouyer Date: Thu Mar 15 11:28:24 UTC 2018 Modified Files: src/doc [netbsd-8]: CHANGES-8.0 Log Message: Tickets 631, 632 To generate a diff of this commit: cvs rdiff -u -r1.1.2.143 -r1.1.2.144 src/doc/CHANGES-8.0 Please note that diffs are n

CVS commit: [netbsd-8] src/sys/netinet6

2018-03-15 Thread Manuel Bouyer
Module Name:src Committed By: bouyer Date: Thu Mar 15 11:27:25 UTC 2018 Modified Files: src/sys/netinet6 [netbsd-8]: in6_gif.c Log Message: Pull up following revision(s) (requested by knakahara in ticket #632): sys/netinet6/in6_gif.c: revision 1.91 Fix error checki

CVS commit: [netbsd-8] src/tests/lib/libc/locale

2018-03-15 Thread Manuel Bouyer
Module Name:src Committed By: bouyer Date: Thu Mar 15 11:24:46 UTC 2018 Modified Files: src/tests/lib/libc/locale [netbsd-8]: t_sprintf.c Log Message: Pull up following revision(s) (requested by martin in ticket #631): tests/lib/libc/locale/t_sprintf.c: revision 1.

CVS commit: [netbsd-8] src/doc

2018-03-14 Thread Manuel Bouyer
Module Name:src Committed By: bouyer Date: Wed Mar 14 18:37:49 UTC 2018 Modified Files: src/doc [netbsd-8]: CHANGES-8.0 Log Message: Ticket 630 To generate a diff of this commit: cvs rdiff -u -r1.1.2.141 -r1.1.2.142 src/doc/CHANGES-8.0 Please note that diffs are not pub

CVS commit: [netbsd-8] src

2018-03-14 Thread Manuel Bouyer
Module Name:src Committed By: bouyer Date: Wed Mar 14 18:37:00 UTC 2018 Modified Files: src/lib/libc/stdio [netbsd-8]: vfwprintf.c src/tests/lib/libc/locale [netbsd-8]: t_sprintf.c Log Message: Pull up following revision(s) (requested by martin in ticket #630):

CVS commit: src/sys/arch

2018-03-07 Thread Manuel Bouyer
/03/07 20:55:31 bouyer Exp $ */ + +/*- + * Copyright (c) 2017,2018 The NetBSD Foundation, Inc. + * All rights reserved. + * + * This code is derived from software contributed to The NetBSD Foundation + * by Manuel Bouyer. + * + * Redistribution and use in source and binary forms, with or without

CVS commit: src/sys/dev/fdt

2018-03-06 Thread Manuel Bouyer
Module Name:src Committed By: bouyer Date: Tue Mar 6 17:40:04 UTC 2018 Modified Files: src/sys/dev/fdt: fdt_subr.c Log Message: fdtbus_get_string_index(): decrease len when going to the next string, otherwise we may read past the end of names. To generate a diff of this

CVS commit: src/sys/dev/fdt

2018-03-06 Thread Manuel Bouyer
Module Name:src Committed By: bouyer Date: Tue Mar 6 17:24:57 UTC 2018 Modified Files: src/sys/dev/fdt: fdt_regulator.c Log Message: I guess fdtbus_regulator_get_voltage() should check for the get_voltage() callback, not set_voltage() To generate a diff of this commit:

CVS commit: src/sys/arch/mips

2018-02-08 Thread Manuel Bouyer
Module Name:src Committed By: bouyer Date: Thu Feb 8 19:16:24 UTC 2018 Modified Files: src/sys/arch/mips/include: locore.h src/sys/arch/mips/mips: db_interface.c trap.c Log Message: Allow kdbpeek() to return failure. If it does, stop the stack trace. Prevents an i

CVS commit: src/sys/dev/sdmmc

2018-02-07 Thread Manuel Bouyer
Module Name:src Committed By: bouyer Date: Wed Feb 7 14:42:07 UTC 2018 Modified Files: src/sys/dev/sdmmc: sdmmc_mem.c Log Message: Fix uninitialized variable use: if there is an error, or if we are using a SPI controller, sdmmc_mem_send_op_cond() doens't assign a value to

CVS commit: src/sys/arch

2018-02-05 Thread Manuel Bouyer
Module Name:src Committed By: bouyer Date: Mon Feb 5 11:19:55 UTC 2018 Modified Files: src/sys/arch/amd64/conf: XEN3_DOM0 src/sys/arch/i386/conf: XEN3_DOM0 Log Message: Follow GENERIC and enable xhci(4) by default. PR port-xen/52978 To generate a diff of this co

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

2018-01-13 Thread Manuel Bouyer
Module Name:src Committed By: bouyer Date: Sat Jan 13 20:36:06 UTC 2018 Modified Files: src/sys/arch/x86/x86: intr.c Log Message: Also set ih_realfun/ih_realarg in Xen's intr_establish_xname() as intr_disestablish() use them. Should fix the panic at device detach time (esp

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

2018-01-13 Thread Manuel Bouyer
Module Name:src Committed By: bouyer Date: Sat Jan 13 14:48:13 UTC 2018 Modified Files: src/sys/arch/xen/x86: cpu.c Log Message: Needs cpu_init_tss() for application processor too. To generate a diff of this commit: cvs rdiff -u -r1.116 -r1.117 src/sys/arch/xen/x86/cpu.c

CVS commit: src/sys/arch/i386/i386

2018-01-13 Thread Manuel Bouyer
Module Name:src Committed By: bouyer Date: Sat Jan 13 14:12:57 UTC 2018 Modified Files: src/sys/arch/i386/i386: machdep.c Log Message: Xen now needs cpu_init_tss() too. Makes XEN3PAE_DOMU boot again. To generate a diff of this commit: cvs rdiff -u -r1.802 -r1.803 src/sys

CVS commit: src/sys/arch

2017-12-13 Thread Manuel Bouyer
q2port[irq] > 0); + return (irq2port[irq] - 1); } #endif /* defined(DOM0OPS) || NPCI > 0 */ Index: src/sys/arch/xen/xen/evtchn.c diff -u src/sys/arch/xen/xen/evtchn.c:1.78 src/sys/arch/xen/xen/evtchn.c:1.79 --- src/sys/arch/xen/xen/evtchn.c:1.78 Sat Nov 11 17:02:53 2017 +++ src/sys/arch/xen/

CVS commit: src/sys/dev/acpi

2017-12-11 Thread Manuel Bouyer
Module Name:src Committed By: bouyer Date: Mon Dec 11 08:40:45 UTC 2017 Modified Files: src/sys/dev/acpi: acpi_i2c.c Log Message: Define _COMPONENT and ACPI_MODULE_NAME; fix ACPI_DEBUG kernels To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2 src/sys/dev/acpi/a

CVS commit: src/doc

2017-12-10 Thread Manuel Bouyer
Module Name:src Committed By: bouyer Date: Sun Dec 10 20:54:05 UTC 2017 Modified Files: src/doc: CHANGES Log Message: ihidev(4), ims(4): Added drivers for i2c HID mice To generate a diff of this commit: cvs rdiff -u -r1.2337 -r1.2338 src/doc/CHANGES Please note that dif

CVS commit: src

2017-12-10 Thread Manuel Bouyer
Module Name:src Committed By: bouyer Date: Sun Dec 10 20:51:55 UTC 2017 Modified Files: src/distrib/sets/lists/man: mi src/share/man/man4: Makefile Added Files: src/share/man/man4: ihidev.4 ims.4 Log Message: Add man pages for new ihidev and ims drivers.

CVS commit: src

2017-12-10 Thread Manuel Bouyer
Module Name:src Committed By: bouyer Date: Sun Dec 10 20:38:15 UTC 2017 Modified Files: src/distrib/sets/lists/base: mi src/distrib/sets/lists/comp: mi src/etc/mtree: NetBSD.dist.base src/lib/libusbhid: parse.c src/sys/dev: Makefile s

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