Module Name:src
Committed By: bouyer
Date: Sun Dec 10 18:52:41 UTC 2017
Modified Files:
src/sys/dev/acpi: acpi_util.c
Log Message:
Cast to uintptr_t before casting to void *; fix a warning on i386
To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.10
Module Name:src
Committed By: bouyer
Date: Sun Dec 10 17:19:48 UTC 2017
Modified Files:
src/sys/arch/amd64/conf: ALL GENERIC XEN3_DOM0
src/sys/arch/i386/conf: ALL GENERIC XEN3_DOM0
Log Message:
Add dwiic, ihidev and ims
To generate a diff of this commit:
cvs
(c) 2017 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
+ * modification, are permitted provided that the following
BSD: ihidev.c,v 1.1 2017/12/10 17:05:54 bouyer Exp $ */
+/* $OpenBSD ihidev.c,v 1.13 2017/04/08 02:57:23 deraadt Exp $ */
+
+/*-
+ * Copyright (c) 2017 The NetBSD Foundation, Inc.
+ * All rights reserved.
+ *
+ * This code is derived from software contributed to The NetBSD Foundation
+ * by
Module Name:src
Committed By: bouyer
Date: Sun Dec 10 17:03:07 UTC 2017
Modified Files:
src/sys/conf: files
src/sys/dev/bluetooth: bthidev.c btkbd.c btmagic.c btms.c
src/sys/dev/fdt: gpiokeys.c
src/sys/dev/i2c: tcakp.c
src/sys/dev/usb:
Module Name:src
Committed By: bouyer
Date: Sun Dec 10 16:53:32 UTC 2017
Modified Files:
src/sys/dev/i2c: i2c.c i2cvar.h
Log Message:
For direct-config devices, pass the whole dictionary to the child as
ia_prop, so that chil drivers can look up device-specific properties.
2c.c:1.1
--- /dev/null Sun Dec 10 16:51:31 2017
+++ src/sys/dev/acpi/acpi_i2c.c Sun Dec 10 16:51:30 2017
@@ -0,0 +1,236 @@
+/* $NetBSD: acpi_i2c.c,v 1.1 2017/12/10 16:51:30 bouyer Exp $ */
+
+/*-
+ * Copyright (c) 2017 The NetBSD Foundation, Inc.
+ * All rights reserved.
+ *
+ * This code is derived fro
Module Name:src
Committed By: bouyer
Date: Mon Dec 4 09:55:37 UTC 2017
Modified Files:
src/sys/dev/ic: com.c comvar.h
Log Message:
Put back SUNXI definitions in the COM_REGMAP case; com.c uses them
without #ifdef COM_AWIN.
To be safe, expand the register map to 42
Module Name:src
Committed By: bouyer
Date: Mon Dec 4 09:14:23 UTC 2017
Modified Files:
src/sys/dev/ic: comvar.h
Log Message:
Make it clear that SUNXI registers are not defined/supported in the
COM_REGMAP case
To generate a diff of this commit:
cvs rdiff -u -r1.84
Module Name:src
Committed By: bouyer
Date: Sun Dec 3 17:40:48 UTC 2017
Modified Files:
src/sys/dev/acpi/wmi: wmi_dell.c
Log Message:
Fix dell WMI mappings:
- query the descriptor to get the interface version, needed to workaround
a bug in the BIOS/ACPI
- properly
Module Name:src
Committed By: bouyer
Date: Sun Dec 3 17:34:51 UTC 2017
Modified Files:
src/sys/dev/acpi/wmi: wmi_acpi.c
Log Message:
- make sure strtoul() is called with a NULL-terminated string.
- acpi_wmi_input(): a valid data block may have flags set to 0.
To
Module Name:src
Committed By: bouyer
Date: Sat Nov 11 09:10:19 UTC 2017
Modified Files:
src/sys/arch/x86/x86: cpu.c fpu.c identcpu.c
src/sys/arch/xen/x86: cpu.c
Log Message:
Revert http://mail-index.netbsd.org/source-changes/2017/11/08/msg089525.html,
it breaks
Module Name:src
Committed By: bouyer
Date: Sat Oct 28 20:57:17 UTC 2017
Modified Files:
src/sys/arch/amd64/amd64: genassym.cf locore.S
Log Message:
Use FLAT_RING3_CS64 (defined in Xen public headers) instead of numeric
value.
To generate a diff of this commit:
cvs rdiff
Module Name:src
Committed By: bouyer
Date: Mon Oct 16 15:13:01 UTC 2017
Modified Files:
src/sys/arch/arm/vfp: vfp_init.c
Log Message:
We KASSERT((fregs->vfp_fpexc & VFP_FPEXC_EN) == 0) just before, so
enabled is always false. remove.
To generate a diff of this commit:
Module Name:src
Committed By: bouyer
Date: Mon Oct 16 15:08:24 UTC 2017
Modified Files:
src/sys/arch/arm/vfp: vfp_init.c
Log Message:
In the REENABLE case, make sur the fpexc copy in the pcb also has
VFP_FPEXC_EN set. Otherwise we could trap on every context switch even
Module Name:src
Committed By: bouyer
Date: Mon Oct 16 15:03:57 UTC 2017
Modified Files:
src/sys/kern: subr_pcu.c
Log Message:
PR port-arm/52603:
There is a race here, as seen on arm with FPU:
LWP L is running but not on CPU, has its FPU state on CPU2 which
has not been
Module Name:src
Committed By: bouyer
Date: Mon Oct 2 17:48:01 UTC 2017
Modified Files:
src/sys/arch/i386/i386: locore.S
Log Message:
Fix (once again) Xen boot
To generate a diff of this commit:
cvs rdiff -u -r1.153 -r1.154 src/sys/arch/i386/i386/locore.S
Please note
Module Name:src
Committed By: bouyer
Date: Wed Sep 6 12:39:18 UTC 2017
Modified Files:
src/sys/arch/amd64/amd64: gdt.c
src/sys/arch/i386/i386: gdt.c
Log Message:
The last GDT slots are reserved for Xen, so use FIRST_RESERVED_GDT_BYTE
instead of MAXGDTSIZ for
Module Name:src
Committed By: bouyer
Date: Thu Aug 31 08:50:57 UTC 2017
Modified Files:
src/crypto/dist/ipsec-tools/src/racoon [netbsd-8]: isakmp_frag.c
Log Message:
Pull up following revision(s) (requested by christos in ticket #233):
Module Name:src
Committed By: bouyer
Date: Thu Aug 31 08:43:41 UTC 2017
Modified Files:
src/doc [netbsd-8]: CHANGES-8.0
Log Message:
ticket 232, 234-237
To generate a diff of this commit:
cvs rdiff -u -r1.1.2.50 -r1.1.2.51 src/doc/CHANGES-8.0
Please note that diffs are
Module Name:src
Committed By: bouyer
Date: Thu Aug 31 08:41:33 UTC 2017
Modified Files:
src/sys/arch/amiga/conf [netbsd-8]: DRACO GENERIC GENERIC.in
src/sys/arch/i386/conf [netbsd-8]: ALL GENERIC XEN3_DOM0 XEN3_DOMU
src/sys/arch/sparc/conf [netbsd-8]:
Module Name:src
Committed By: bouyer
Date: Thu Aug 31 08:36:58 UTC 2017
Modified Files:
src/libexec/ld.elf_so [netbsd-8]: symbol.c
Log Message:
Pull up following revision(s) (requested by joerg in ticket #236):
libexec/ld.elf_so/symbol.c: revision 1.69
If a
Module Name:src
Committed By: bouyer
Date: Thu Aug 31 08:34:50 UTC 2017
Modified Files:
src/external/gpl3/gcc/dist/gcc/config [netbsd-8]: netbsd.h
Log Message:
Pull up following revision(s) (requested by joerg in ticket #235):
Module Name:src
Committed By: bouyer
Date: Thu Aug 31 08:32:39 UTC 2017
Modified Files:
src/lib/libpthread [netbsd-8]: TODO pthread.c pthread_attr.c
pthread_attr_getguardsize.3 pthread_int.h
src/sys/arch/amd64/include [netbsd-8]: vmparam.h
Module Name:src
Committed By: bouyer
Date: Thu Aug 31 08:24:43 UTC 2017
Modified Files:
src/lib/libpthread [netbsd-8]: pthread.c
Log Message:
Pull up following revision(s) (requested by joerg in ticket #232):
lib/libpthread/pthread.c: revision 1.149
Do not look at
Module Name:src
Committed By: bouyer
Date: Tue Aug 29 11:25:51 UTC 2017
Added Files:
src/tests/lib/libpthread [netbsd-8]: h_thread_local_dtor.cpp
t_thread_local_dtor.sh
Log Message:
Pull up following revision(s) (requested by joerg in ticket #127):
Module Name:src
Committed By: bouyer
Date: Tue Aug 29 09:44:25 UTC 2017
Modified Files:
src/doc [netbsd-8]: CHANGES-8.0
Log Message:
tickets 240 & 127
To generate a diff of this commit:
cvs rdiff -u -r1.1.2.44 -r1.1.2.45 src/doc/CHANGES-8.0
Please note that diffs are
Module Name:src
Committed By: bouyer
Date: Tue Aug 29 09:43:20 UTC 2017
Modified Files:
src/distrib/sets/lists/debug [netbsd-8]: mi shl.mi
src/distrib/sets/lists/tests [netbsd-8]: mi shl.mi
src/external/gpl3/gcc/lib/libstdc++-v3/arch/alpha [netbsd-8]:
Module Name:src
Committed By: bouyer
Date: Tue Aug 29 09:10:36 UTC 2017
Modified Files:
src/external/gpl3/binutils/dist/bfd [netbsd-8]: elfxx-mips.c
elfxx-sparc.c
src/external/gpl3/binutils/dist/gas/config [netbsd-8]: tc-mips.h
Module Name:src
Committed By: bouyer
Date: Thu Jul 6 20:26:05 UTC 2017
Modified Files:
src/sys/arch/xen/x86: cpu.c
Log Message:
gdt_prepframes() is called with a number of pages, don't convert to a number
of pages again. This didn't fail because we're called with only
Module Name:src
Committed By: bouyer
Date: Thu Jul 6 20:23:57 UTC 2017
Modified Files:
src/sys/arch/i386/i386: gdt.c
Log Message:
gdt_size is now in bytes, but the HYPERVISOR_set_gdt() expects a number
of entries and has not been converted.
Xen/i386 now boots again.
To
Module Name:src
Committed By: bouyer
Date: Sun Jul 2 15:09:53 UTC 2017
Modified Files:
src/sys/arch/arm/allwinner: awin_can.c
Log Message:
In the RX IRQ handler, release the receive buffer in the error paths.
Fix a hang I've been seeing under high traffic.
To generate
Module Name:src
Committed By: bouyer
Date: Sun Jul 2 15:08:29 UTC 2017
Modified Files:
src/sys/arch/arm/allwinner [netbsd-8]: awin_can.c
Log Message:
Revert previous; wrong branch
To generate a diff of this commit:
cvs rdiff -u -r1.2.2.1 -r1.2.2.2
Module Name:src
Committed By: bouyer
Date: Sun Jul 2 15:07:13 UTC 2017
Modified Files:
src/sys/arch/arm/allwinner [netbsd-8]: awin_can.c
Log Message:
In the RX IRQ handler, release the receive buffer in the error paths.
Fix a hang I've been seeing under high traffic.
Module Name:src
Committed By: bouyer
Date: Sun Jun 25 22:16:46 UTC 2017
Modified Files:
src/sys/arch/x86/x86: pmap.c
Log Message:
Xen/i386PAE is special, in that top-level entries are not in per-pmap
tables but per-CPU pages. pmap_alloc_level() takes care of making new
Module Name:src
Committed By: bouyer
Date: Sun Jun 25 20:22:32 UTC 2017
Modified Files:
src/sys/arch/i386/conf: kern.ldscript.Xen
Log Message:
Restore alignement of _end to rev 1.12: this is where the Xen loader
puts the symbol table and should not be changed (maybe we
Module Name:src
Committed By: bouyer
Date: Sun Jun 25 12:42:40 UTC 2017
Modified Files:
src/sys/arch/x86/x86: pmap.c
Log Message:
Page tables are not writable under Xen, so we can't memcpy() to them.
Rewite to do the copy using pmap_pte_set() in the Xen case.
To
Module Name:src
Committed By: bouyer
Date: Fri Jun 9 08:23:45 UTC 2017
Modified Files:
src/tests/net/can: t_can.c
Log Message:
Test bind()ing to a non-existent interface.
To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/tests/net/can/t_can.c
Please note
Module Name:src
Committed By: bouyer
Date: Fri Jun 9 08:21:41 UTC 2017
Modified Files:
src/sys/netcan: can_pcb.c
Log Message:
Refuse to bind to a non-CAN interface.
Also release the lock in the error branch.
To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6
Module Name:src
Committed By: bouyer
Date: Sun Jun 4 20:47:25 UTC 2017
Modified Files:
src/doc [netbsd-8]: CHANGES-8.0
Log Message:
tickets #3 & 4
To generate a diff of this commit:
cvs rdiff -u -r1.1.2.2 -r1.1.2.3 src/doc/CHANGES-8.0
Please note that diffs are not
Module Name:src
Committed By: bouyer
Date: Sun Jun 4 20:46:54 UTC 2017
Modified Files:
src/sys/arch/evbarm/vexpress [netbsd-8]: vexpress_start.S
Log Message:
Pull up following revision(s) (requested by jmcneill in ticket #4):
Module Name:src
Committed By: bouyer
Date: Sun Jun 4 20:45:54 UTC 2017
Modified Files:
src/sys/dev/ic [netbsd-8]: pl181.c
src/sys/dev/sdmmc [netbsd-8]: sdmmc_mem.c sdmmcvar.h
Log Message:
Pull up following revision(s) (requested by jmcneill in ticket #3):
Module Name:src
Committed By: bouyer
Date: Sun Jun 4 20:35:45 UTC 2017
Modified Files:
src/doc [netbsd-8]: CHANGES-8.0
Log Message:
ticket #2
To generate a diff of this commit:
cvs rdiff -u -r1.1.2.1 -r1.1.2.2 src/doc/CHANGES-8.0
Please note that diffs are not public
Module Name:src
Committed By: bouyer
Date: Sun Jun 4 20:35:02 UTC 2017
Modified Files:
src/share/man/man9 [netbsd-8]: fstrans.9
src/sys/kern [netbsd-8]: vfs_mount.c vfs_subr.c vfs_trans.c vfs_vnode.c
vnode_if.c vnode_if.sh vnode_if.src
Module Name:src
Committed By: bouyer
Date: Tue May 30 13:33:16 UTC 2017
Modified Files:
src/sys/netcan: can_pcb.c
Log Message:
Forced commit for previous (1.2) rev commit message:
don't dereference a NULL pointer in can_setsockaddr() if we didn't bind
to an interface.
Module Name:src
Committed By: bouyer
Date: Tue May 30 13:30:51 UTC 2017
Modified Files:
src/sys/netcan: can.h can_pcb.c
Log Message:
Needs not
To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/sys/netcan/can.h src/sys/netcan/can_pcb.c
Please note that
Module Name:src
Committed By: bouyer
Date: Sat May 27 22:53:29 UTC 2017
Modified Files:
src/sys/arch/amd64/conf: ALL GENERIC
src/sys/arch/evbarm/conf: OLIMEXLIME2
src/sys/arch/i386/conf: ALL GENERIC
Log Message:
Add options CAN and pseudo-device canloop to
-socketcan
Description: Implement a CAN socket layer compatible with linux SocketCAN
-Status: Active
+Status: Terminated
Start Date: Sun Jan 15 2017
-End Date:
+End Date: May 27 2017
Base Tag: bouyer-socketcan-base
Maintainer: Manuel Bouyer <bou...@netbsd.org>
Scope: src/
Module Name:src
Committed By: bouyer
Date: Sat May 27 21:05:02 UTC 2017
Modified Files:
src/doc: CHANGES
Log Message:
Note can(4)
To generate a diff of this commit:
cvs rdiff -u -r1.2285 -r1.2286 src/doc/CHANGES
Please note that diffs are not public domain; they are
Module Name:src
Committed By: bouyer
Date: Thu May 25 18:52:24 UTC 2017
Modified Files:
src/sys/kern [bouyer-socketcan]: uipc_socket.c
Log Message:
Allow any user to bind to CAN sockets.
Maybe a better security model is needed.
To generate a diff of this commit:
cvs
Module Name:src
Committed By: bouyer
Date: Thu May 25 18:26:36 UTC 2017
Modified Files:
src/sys/arch/arm/allwinner [bouyer-socketcan]: awin_can.c
Log Message:
abort may clear sc_m_transmit but leave OACTIVE, so unconditionally clear
OACTIVE in TX interrupt.
To generate
Module Name:src
Committed By: bouyer
Date: Thu May 25 18:23:16 UTC 2017
Modified Files:
src/sys/arch/arm/allwinner [bouyer-socketcan]: awin_can.c
Log Message:
Do not call bpf_mtap() from interrupt context. Mostly from Ryota Ozaki:
on receive, use bpf_mtap_softint().
On
Module Name:src
Committed By: bouyer
Date: Thu May 25 18:21:01 UTC 2017
Modified Files:
src/sys/netcan [bouyer-socketcan]: can.c can_var.h if_canloop.c
Log Message:
Allow can_bpf_mtap() to call bpf_mtap_softint() when needed.
To generate a diff of this commit:
cvs rdiff
Module Name:src
Committed By: bouyer
Date: Mon May 22 16:11:23 UTC 2017
Modified Files:
src/sys/arch/arm/allwinner [bouyer-socketcan]: awin_can.c
src/sys/netcan [bouyer-socketcan]: can.c can_var.h if_canloop.c
Log Message:
factor out if_attach() and bpf_attach()
Module Name:src
Committed By: bouyer
Date: Thu May 18 11:29:54 UTC 2017
Modified Files:
src/lib/libc/sys [bouyer-socketcan]: socket.2
Log Message:
add PF_CAN
To generate a diff of this commit:
cvs rdiff -u -r1.41 -r1.41.16.1 src/lib/libc/sys/socket.2
Please note that
May 18 11:28:49 2017
+++ src/share/man/man4/can.4 Thu May 18 11:28:48 2017
@@ -0,0 +1,96 @@
+.\" $NetBSD: can.4,v 1.1.2.1 2017/05/18 11:28:48 bouyer Exp $
+.\"
+.\" Copyright (c) 2017 Manuel Bouyer.
+.\" Redistribution and use in source and binary forms, with or without
+.
Module Name:src
Committed By: bouyer
Date: Wed Apr 26 11:45:23 UTC 2017
Modified Files:
src/sys/dev [bouyer-socketcan]: audio.c
Log Message:
Sync with HEAD
To generate a diff of this commit:
cvs rdiff -u -r1.291.2.2 -r1.291.2.3 src/sys/dev/audio.c
Please note that
Module Name:src
Committed By: bouyer
Date: Wed Apr 26 10:10:05 UTC 2017
Modified Files:
src/sys/dev [bouyer-socketcan]: audio.c
Log Message:
SYnc with HEAD
To generate a diff of this commit:
cvs rdiff -u -r1.291.2.1 -r1.291.2.2 src/sys/dev/audio.c
Please note that
Module Name:src
Committed By: bouyer
Date: Mon Apr 24 13:38:33 UTC 2017
Modified Files:
src/sys/netcan [bouyer-socketcan]: if_canloop.c
Log Message:
Use bpf_mtap() not bpf_mtap_af(). Now files produced by tcpdump can be
decoded by wireshark.
To generate a diff of this
Module Name:src
Committed By: bouyer
Date: Sun Apr 23 21:05:09 UTC 2017
Modified Files:
src/sys/netcan [bouyer-socketcan]: can.c can_pcb.c can_pcb.h
Log Message:
Add locking and refcounting to canpcb.
Store the canpcb in the in the mbuf tag on send instead of the socket's
Module Name:src
Committed By: bouyer
Date: Sun Apr 23 11:17:25 UTC 2017
Modified Files:
src/sys/rump/librump/rumpkern [bouyer-socketcan]: threads.c
Log Message:
Sync with HEAD
To generate a diff of this commit:
cvs rdiff -u -r1.24.4.1 -r1.24.4.2
Module Name:src
Committed By: bouyer
Date: Fri Apr 21 13:08:55 UTC 2017
Modified Files:
src/sys/arch/arm/allwinner [bouyer-socketcan]: awin_can.c
Log Message:
can4linux code, and experiments, shows that the CAN clock frequency is
AWIN_REF_FREQ, not AWIN_REF_FREQ / 2 as
Module Name:src
Committed By: bouyer
Date: Fri Apr 21 13:05:16 UTC 2017
Modified Files:
src/sbin/canconfig [bouyer-socketcan]: canconfig.c
Log Message:
Fix humanize_number() usage.
Display more user-friendly operational parameters (baud rate, tq value,
number of tq).
To
Module Name:src
Committed By: bouyer
Date: Thu Apr 20 17:30:52 UTC 2017
Modified Files:
src/sys/arch/arm/allwinner [bouyer-socketcan]: awin_can.c
Log Message:
Print some informations for error interrupts.
Fix some registers values.
Now we can transmit frames. Receive
Module Name:src
Committed By: bouyer
Date: Thu Apr 20 17:29:10 UTC 2017
Modified Files:
src/sys/netcan [bouyer-socketcan]: can.c
Log Message:
If a packet was sent using sendto, the socket pointed to by the tag may
be unbound. Check for this in canintr().
XXX possibly the
Module Name:src
Committed By: bouyer
Date: Thu Apr 20 13:00:52 UTC 2017
Modified Files:
src/sys/arch/arm/allwinner [bouyer-socketcan]: awin_can.c
Log Message:
Handle interface errors.
Use a watchdog for transmit.
To generate a diff of this commit:
cvs rdiff -u -r1.1.2.2
t; $NetBSD: canconfig.8,v 1.1.2.2 2017/04/20 12:59:54 bouyer Exp $
.\"
.\" Copyright (c) 2017 Manuel Bouyer.
*
@@ -100,6 +100,16 @@ set the number of tq for the Synchronisa
enables triple-sampling.
.It Cm -3samples
disables triple-sampling.
+.It Cm listenonly
+enables listenonl
Module Name:src
Committed By: bouyer
Date: Thu Apr 20 12:59:11 UTC 2017
Modified Files:
src/sys/netcan [bouyer-socketcan]: can.c
Log Message:
Fix LINKMODE
Refuse to send packets if LISTENONLY is set
Don't forget to unbind in error case.
To generate a diff of this
Module Name:src
Committed By: bouyer
Date: Wed Apr 19 22:19:12 UTC 2017
Modified Files:
src/sys/netcan [bouyer-socketcan]: can.c
Log Message:
can_mbuf_tag_clean(): make sure we won't free the tag we will reuse.
Avoid mbuf leak in error paths.
To generate a diff of this
Module Name:src
Committed By: bouyer
Date: Wed Apr 19 22:17:57 UTC 2017
Modified Files:
src/sys/netcan [bouyer-socketcan]: if_canloop.c
Log Message:
Set rcvif before bpf_mtap
To generate a diff of this commit:
cvs rdiff -u -r1.1.2.4 -r1.1.2.5 src/sys/netcan/if_canloop.c
Module Name:src
Committed By: bouyer
Date: Wed Apr 19 17:54:18 UTC 2017
Modified Files:
src/sys/arch/arm/allwinner [bouyer-socketcan]: awin_can.c
Log Message:
Fix the reset code
clear the IFF_UP flag if we can't get the interface running.
To generate a diff of this
Module Name:src
Committed By: bouyer
Date: Wed Apr 19 17:53:32 UTC 2017
Modified Files:
src/sys/arch/arm/allwinner [bouyer-socketcan]: awin_io.c
Log Message:
Add awincan
To generate a diff of this commit:
cvs rdiff -u -r1.46 -r1.46.4.1
Module Name:src
Committed By: bouyer
Date: Wed Apr 19 17:52:38 UTC 2017
Modified Files:
src/sys/netcan [bouyer-socketcan]: can.c
Log Message:
Call if_alloc_sadl() for the interface, so that getifaddrs() will find
them.
To generate a diff of this commit:
cvs rdiff -u
Module Name:src
Committed By: bouyer
Date: Wed Apr 19 17:51:16 UTC 2017
Modified Files:
src/sbin/canconfig [bouyer-socketcan]: canconfig.c
Log Message:
Make output better
Fix setting timings parameters
To generate a diff of this commit:
cvs rdiff -u -r1.1.2.1 -r1.1.2.2
Module Name:src
Committed By: bouyer
Date: Tue Apr 18 21:31:48 UTC 2017
Modified Files:
src/sys/arch/evbarm/conf [bouyer-socketcan]: CUBIEBOARD GENERIC.common
Log Message:
Include options CAN and canloop pseudo-device by default.
Add awincan0 device to CUBIEBOARD
To
2017/04/18 21:30:38 bouyer Exp $ */
+
+/*-
+ * Copyright (c) 2017 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
Module Name:src
Committed By: bouyer
Date: Tue Apr 18 21:29:40 UTC 2017
Modified Files:
src/sys/netcan [bouyer-socketcan]: can_var.h
Log Message:
include socketvar.h, so avoid a warning on struct sockopt *
To generate a diff of this commit:
cvs rdiff -u -r1.1.2.6
Module Name:src
Committed By: bouyer
Date: Tue Apr 18 20:48:07 UTC 2017
Modified Files:
src/sys/netcan [bouyer-socketcan]: files.netcan
Log Message:
if_canloop.c is in netcan/
To generate a diff of this commit:
cvs rdiff -u -r1.1.2.1 -r1.1.2.2
Module Name:src
Committed By: bouyer
Date: Tue Apr 18 20:37:38 UTC 2017
Modified Files:
src/sys/netcan [bouyer-socketcan]: can.c can_var.h
Log Message:
Add can_ifinit_timings() helper function, which initialise timing parameters
to known invalid values.
To generate a
Module Name:src
Committed By: bouyer
Date: Tue Apr 18 20:36:27 UTC 2017
Modified Files:
src/sys/netcan [bouyer-socketcan]: can_link.h
Log Message:
Remove clt_clock_freq from user-supplied timing informations, it is defined
by the brp.
To generate a diff of this commit:
: src/sbin/canconfig/canconfig.8
diff -u /dev/null src/sbin/canconfig/canconfig.8:1.1.2.1
--- /dev/null Mon Apr 17 20:48:36 2017
+++ src/sbin/canconfig/canconfig.8 Mon Apr 17 20:48:36 2017
@@ -0,0 +1,118 @@
+.\" $NetBSD: canconfig.8,v 1.1.2.1 2017/04/17 20:48:36 bouyer Exp $
+.\"
+.\&quo
Module Name:src
Committed By: bouyer
Date: Mon Apr 17 20:41:55 UTC 2017
Modified Files:
src/sys/arch/arm/allwinner [bouyer-socketcan]: awin_reg.h
Log Message:
Add CAN registers
To generate a diff of this commit:
cvs rdiff -u -r1.90 -r1.90.2.1
Module Name:src
Committed By: bouyer
Date: Mon Apr 17 20:41:26 UTC 2017
Modified Files:
src/tests/net/can [bouyer-socketcan]: h_canutils.c h_canutils.h t_can.c
t_canfilter.c
Log Message:
Make it build from build.sh (fix warnings)
To generate a diff of this
Module Name:src
Committed By: bouyer
Date: Mon Apr 17 20:35:00 UTC 2017
Modified Files:
src/distrib/sets/lists/base [bouyer-socketcan]: mi shl.mi
src/distrib/sets/lists/comp [bouyer-socketcan]: mi shl.mi
src/distrib/sets/lists/debug [bouyer-socketcan]: mi
n_link.h Mon Apr 17 20:32:27 2017
@@ -0,0 +1,81 @@
+/* $NetBSD: can_link.h,v 1.1.2.1 2017/04/17 20:32:27 bouyer Exp $ */
+
+/*-
+ * Copyright (c) 2017 The NetBSD Foundation, Inc.
+ * All rights reserved.
+ *
+ * This code is derived from software contributed to The NetBSD Foundation
+ * by Manu
Module Name:src
Committed By: bouyer
Date: Mon Apr 17 09:54:59 UTC 2017
Modified Files:
src/sys/arch/amd64/conf: XEN3_DOM0
src/sys/arch/i386/conf: XEN3_DOM0
Log Message:
Disable MULTIPROCESSOR for dom0. The dom0 support code is not MP-safe
(see xen_shm_machdep.c
Module Name:src
Committed By: bouyer
Date: Mon Mar 27 18:39:55 UTC 2017
Modified Files:
src/sys/arch/xen/xenbus: xenbus_dev.c
Log Message:
Avoid variable reassignement; reported by dcb...@hotmail.com in
PR port-xen/52112
To generate a diff of this commit:
cvs rdiff -u
Module Name:src
Committed By: bouyer
Date: Thu Mar 23 14:52:36 UTC 2017
Modified Files:
src/sys/arch/xen/xenbus: xenbus_dev.c
Log Message:
xlwp->mtx will never be used in interrupt context; set to IPL_NONE.
avoids a KASSERT when sleeping for the reply.
To generate a
Module Name:src
Committed By: bouyer
Date: Wed Mar 22 22:33:32 UTC 2017
Modified Files:
src/sys/arch/xen/xenbus: xenbus_dev.c
Log Message:
On second through, it may be possible to have a NULL kfs_v in read and write
(if we're not the LWP which did the open).
Add the
Module Name:src
Committed By: bouyer
Date: Wed Mar 22 21:21:40 UTC 2017
Modified Files:
src/sys/arch/xen/xenbus: xenbus_dev.c
Log Message:
Fix /kern/xen/xenbus handling. It's badly broken and will do bad things
if more than one thread tries to use it at the same time
/if_xennet_xenbus.c Sat Mar 4 19:11:01 2017
@@ -1,4 +1,4 @@
-/* $NetBSD: if_xennet_xenbus.c,v 1.69 2016/12/15 09:28:04 ozaki-r Exp $ */
+/* $NetBSD: if_xennet_xenbus.c,v 1.70 2017/03/04 19:11:01 bouyer Exp $ */
/*
* Copyright (c) 2006 Manuel Bouyer.
@@ -85,7 +85,7 @@
*/
#include
Module Name:src
Committed By: bouyer
Date: Sun Feb 5 19:44:53 UTC 2017
Modified Files:
src/sys/netcan [bouyer-socketcan]: can.c can_pcb.c
Log Message:
more sanity checks on the mbuf we get.
To generate a diff of this commit:
cvs rdiff -u -r1.1.2.5 -r1.1.2.6
Module Name:src
Committed By: bouyer
Date: Sun Feb 5 17:37:10 UTC 2017
Modified Files:
src/sys/netcan [bouyer-socketcan]: can.c can_var.h if_canloop.c
Log Message:
Introduce can_ifattach(), for common setups of can interfaces.
Convert output to a ifq and change
Module Name:src
Committed By: bouyer
Date: Sun Feb 5 12:18:20 UTC 2017
Modified Files:
src/tests/net/can [bouyer-socketcan]: h_canutils.c t_can.c
t_canfilter.c
Log Message:
Factor out creation of socket with CAN_RAW_RECV_OWN_MSGS
To generate a diff of this
Module Name:src
Committed By: bouyer
Date: Sun Feb 5 12:03:23 UTC 2017
Modified Files:
src/tests/net/can [bouyer-socketcan]: h_canutils.c h_canutils.h t_can.c
t_canfilter.c
Log Message:
factor out socket bind to interface
To generate a diff of this commit:
Module Name:src
Committed By: bouyer
Date: Sun Feb 5 11:45:11 UTC 2017
Modified Files:
src/sys/netcan [bouyer-socketcan]: can.c can_var.h if_canloop.c
Log Message:
Centralize mbuf tag cleanup, it will be used by real interface drivers too.
To generate a diff of this
Module Name:src
Committed By: bouyer
Date: Sun Feb 5 11:44:17 UTC 2017
Modified Files:
src/tests/net/can [bouyer-socketcan]: h_canutils.c t_can.c
Log Message:
Decrease timeout from 2 to 1 second. Speeds up the tests where timeout is
the expected case, and it should still
:12 2017
+++ src/tests/net/can/t_canfilter.c Sun Feb 5 10:56:12 2017
@@ -0,0 +1,537 @@
+/* $NetBSD: t_canfilter.c,v 1.1.2.1 2017/02/05 10:56:12 bouyer Exp $ */
+
+/*-
+ * Copyright (c) 2017 The NetBSD Foundation, Inc.
+ * All rights reserved.
+ *
+ * This code is derived from software contributed t
m provided wrong %d family", sa.can_family);
- ATF_CHECK_MSG(salen == sizeof(sa),
- "recvfrom provided wrong size %d (!= %d)", salen, sizeof(sa));
ATF_CHECK_MSG(sa.can_ifindex == ifr.ifr_ifindex,
"recvfrom provided wrong ifindex %d (!= %d)",
sa.can_i
Module Name:src
Committed By: bouyer
Date: Mon Jan 16 18:04:27 UTC 2017
Modified Files:
src/tests/net/can [bouyer-socketcan]: t_can.c
Log Message:
Adapt to CAN_RAW_RECV_OWN_MSGS being off by default, and test
CAN_RAW_RECV_OWN_MSGS and CAN_RAW_LOOPBACK options.
To
301 - 400 of 2258 matches
Mail list logo