Displaying 1 50 of 637,860 commits (0.094s)

NetBSD — sys/dev/usb xhci.c xhcireg.h

enable code to only trigger usb processing when EINT is set, to
avoid misinterpreting shared interrupt for another device

when clearing USBSTS, actually preserve the bits which spec requires to
preserve, and actually clear bit 1, which should be actually always
cleared to zero by spec

also #ifdef XHCI_DEBUG some unnecessary register reads

this should finally resolve PR kern/53066 also for Martin
Delta File
+19 -7 sys/dev/usb/xhci.c
+4 -1 sys/dev/usb/xhcireg.h
+23 -8 2 files

NetBSD — usr.sbin/traceroute6 traceroute6.c

Clean up the IPsec ifdefs, same as ping6.
Delta File
+14 -65 usr.sbin/traceroute6/traceroute6.c
+14 -65 1 file

NetBSD — sbin/ping6 ping6.c

Remove double include and unused macros.
Delta File
+2 -9 sbin/ping6/ping6.c
+2 -9 1 file

NetBSD — sbin/ping6 ping6.c ping6.8

Remove the "-R" option. It uses IPV6_REACHCONF, but we've never had
this.
Delta File
+6 -35 sbin/ping6/ping6.c
+2 -9 sbin/ping6/ping6.8
+8 -44 2 files

NetBSD — sbin/ping6 ping6.c

Fix usage(), A/E don't exist.
Delta File
+3 -9 sbin/ping6/ping6.c
+3 -9 1 file

NetBSD — sbin/ping6 ping6.c

Simplify: remove #ifdefs for constants that are always defined, and
remove their #else's (some of which can't compile, since they use values
that since got removed).
Delta File
+15 -75 sbin/ping6/ping6.c
+15 -75 1 file

NetBSD — sys/kern kern_lwp.c

PR/kern/53202: Kernel hangs running t_ptrace_wait:resume1 test, revert
previous.
Delta File
+4 -5 sys/kern/kern_lwp.c
+4 -5 1 file

NetBSD — sys/arch/riscv/riscv db_machdep.c

PR/53206: David Binderman: fix array bounds comparison in KASSERT.
Delta File
+2 -2 sys/arch/riscv/riscv/db_machdep.c
+2 -2 1 file

NetBSD — sys/net/npf npf_nat.c

PR/53207: David Binderman: Use logical and
Delta File
+3 -3 sys/net/npf/npf_nat.c
+3 -3 1 file

NetBSD — external/gpl3/gdb/dist/gdb amd64-nbsd-tdep.c i386-nbsd-tdep.c

Add "Xhandle*" interrupt handling.

NetBSD — sbin/ping6 ping6.c

Remove dead/broken code, we want to favor RFC3542 over RFC2292. No
functional change. traceroute6 and rtadvd did the same.
Delta File
+7 -38 sbin/ping6/ping6.c
+7 -38 1 file

NetBSD — usr.sbin/traceroute6 traceroute6.c

... another occurrence of OLDRAWSOCKET ...

NetBSD — usr.sbin/traceroute6 traceroute6.c

Remove dead code.
Delta File
+3 -24 usr.sbin/traceroute6/traceroute6.c
+3 -24 1 file

NetBSD — usr.sbin/traceroute6 Makefile

Remove CPPFLAGS+=-DUSE_RFC3542, it's not used anymore.
Delta File
+1 -2 usr.sbin/traceroute6/Makefile
+1 -2 1 file

NetBSD — usr.sbin/traceroute6 traceroute6.c

Remove dead/broken code. We want to favor RFC3542 over RFC2292. No
functional change.
Delta File
+2 -14 usr.sbin/traceroute6/traceroute6.c
+2 -14 1 file

NetBSD — usr.sbin/traceroute6 traceroute6.c

Remove dead code.
Delta File
+2 -23 usr.sbin/traceroute6/traceroute6.c
+2 -23 1 file

NetBSD — usr.sbin/traceroute6 traceroute6.c

Remove now unused code.
Delta File
+4 -24 usr.sbin/traceroute6/traceroute6.c
+4 -24 1 file

NetBSD — doc CHANGES

Fix revision confusion between CHANGES.prev and CHANGES in the
processing of ticket #602: the pullup asked for rev 1.138 of CHANGES.prev
to be applied to CHANGES, not rev 1.138 of CHANGES to be pulled up.
Delta File
+1 -5 doc/CHANGES
+1 -5 1 file

NetBSD — sbin/ping6 ping6.8 ping6.c

Sort options. Sort option descriptions. Remove Tn.
Sync usage (more) with man page.
Delta File
+37 -48 sbin/ping6/ping6.8
+17 -16 sbin/ping6/ping6.c
+54 -64 2 files

NetBSD — sys/netinet6 ip6_output.c, sys/netipsec xform_ah.c

Remove the kernel RH0 code. RH0 is deprecated by RFC5095, for security
reasons. RH0 was already removed in the kernel's input path, but some
parts were still present in the output path: they are now removed.

Sent on tech-net@ a few days ago.

NetBSD — usr.sbin/traceroute6 traceroute6.8

Remove -g from SYNOPSIS.

NetBSD — sbin/ping6 ping6.c ping6.8

Remove the "hops" parameter, it uses RH0, which is deprecated by RFC5095,
and doesn't work on modern networks anymore.
Delta File
+4 -48 sbin/ping6/ping6.c
+2 -13 sbin/ping6/ping6.8
+6 -61 2 files

NetBSD — usr.sbin/traceroute6 traceroute6.c traceroute6.8

Remove the "-g" option, it uses RH0, which is deprecated by RFC5095, and
doesn't work on modern networks anymore.

NetBSD — sys/dev/pci if_wm.c

- Backout if_wm.c rev.1.574 and print "device timeout (lost interrupt)"
 when all descriptors in a queue are free. When all descripters are free after
 wm_txeof(), it's caused by lost interrupt (though I've never seen it). One
 possibility is chip bug and another possibility is software bug. We should
 reset in any cases. If we don't reset and don't print error message, TX
 processing is done intermittently and user might not noticed the problem.

- Rename txq_watchdog to txq_sending to make the meaning clear.
Delta File
+16 -13 sys/dev/pci/if_wm.c
+16 -13 1 file

NetBSD — sys/dev/pci if_wm.c

 Count timeout correctly. This change reduce timeout value for 80003 as
expected. Reported by mouse@.
Delta File
+4 -3 sys/dev/pci/if_wm.c
+4 -3 1 file

NetBSD — sys/dev/usb if_axe.c

merge duplicated code, back to logging error.
Delta File
+21 -22 sys/dev/usb/if_axe.c
+21 -22 1 file

NetBSD — distrib/sets/lists/modules mi

Update sets lists for new compat_sysv_xx version-specific modules
Delta File
+7 -1 distrib/sets/lists/modules/mi
+7 -1 1 file

NetBSD — sys/netipsec ipsec_netbsd.c xform_ipip.c

Rename ipip_allow->ipip_spoofcheck, and add net.inet.ipsec.ipip_spoofcheck.
Makes it simpler, and also fixes PR/39919.

NetBSD — sys/dev/usb xhci.c

trigger the softint processing on that child bus which is not detached yet

fixes PR kern/53066 by Martin Husemann
Delta File
+12 -3 sys/dev/usb/xhci.c
+12 -3 1 file

NetBSD — . UPDATING, bin/sh arithmetic.c parser.c

Sync with HEAD

NetBSD — sys/arch/amd64/amd64 locore.S

Do not use movq for loading arbitrary 64bit immediates. The ISA
restricts it to 32bit immediates.
Delta File
+3 -3 sys/arch/amd64/amd64/locore.S
+3 -3 1 file

NetBSD — bin/sh arithmetic.c

In uses like $(( var )) (un-dollared vars in arithmetic) we allow
leading whitespace in the value of var (because strtoimax() does)
but did not allow trailing whitespace.   The effect is that some
cases where $(( ${var:-0} )) would work do not work without the $
expansion.

Fix that - allow trailing whitespace.   However, continue to insist
upon at least one digit (a non-null var that contains nothing but
whitespace is still an error).

Note: posix is not helpful here, it simply requires that the variable
contain "a value that forms a valid integer constant" (with an optional
+ or - sign).
Delta File
+11 -3 bin/sh/arithmetic.c
+11 -3 1 file

NetBSD — bin/sh parser.c

PR bin/53201

Don't synerr on
        ${var-anything
        more}

The newline in the middle of the var expansion is permitted.

Bug reported by Martijn Dekker from his modernish tests.

XXX pullup-8
Delta File
+3 -3 bin/sh/parser.c
+3 -3 1 file

NetBSD — tests/bin/sh t_expand.sh

Add a test case for PR bin/53201

Currently this test case will fail, a fix is coming soon (not worth
marking this as an expected failure.)

This test case and the initial bug report comes from
Martijn Dekker's modernish (shell/test set).
Delta File
+54 -1 tests/bin/sh/t_expand.sh
+54 -1 1 file

NetBSD — external/bsd/am-utils/dist/fixmount fixmount.8

we don't have mtab or rmtab

NetBSD — sys/dev/usb if_axe.c

downgrade error to debug.
Delta File
+3 -4 sys/dev/usb/if_axe.c
+3 -4 1 file

NetBSD — sys/dev/usb xhci.c

add KASSERT() that sc_child* is set to NULL after child detach; just for
readability, it's not immediatelly obvious this is done in xhci_childdet()

no functional changes
Delta File
+4 -2 sys/dev/usb/xhci.c
+4 -2 1 file

NetBSD — sys/dev/isa pcdisplay.c

Fix an ancient typo, instead of setting the base address, the size
value is written leaving the autoconf setting (-1) as the address.
The value is only used for printing an attach message, the actual
pcdisplay_init code uses hard coded base addresses again.
Delta File
+3 -3 sys/dev/isa/pcdisplay.c
+3 -3 1 file

NetBSD — sys/netinet ip_output.c

Remove #ifndef __vax__.

The check enforces a 4-byte-aligned size for the option mbuf. If the size
is not multiple of 4, the computation of ip_hl gets truncated in the
output path. There is no reason for this check not to be present on VAX.

While here add a KASSERT in ip_insertoptions to enforce the assumption.

Discussed briefly on tech-net@
Delta File
+6 -5 sys/netinet/ip_output.c
+6 -5 1 file

NetBSD — share/man/man7 sysctl.7

New sentence, new line.
Delta File
+4 -3 share/man/man7/sysctl.7
+4 -3 1 file

NetBSD — usr.sbin/rtadvd rtadvd.conf.5

Minor improvements.
Delta File
+3 -5 usr.sbin/rtadvd/rtadvd.conf.5
+3 -5 1 file

NetBSD — sys/netisdn i4b_ipr.c

Remove unused variable since previous revision.
Delta File
+2 -3 sys/netisdn/i4b_ipr.c
+2 -3 1 file

NetBSD — sys/dev/usb if_axe.c

It was not gcc's fault for correctly detecting an uninitialized variable.
Fix the uninitialized variable issues by error checking things.
Delta File
+46 -23 sys/dev/usb/if_axe.c
+46 -23 1 file

NetBSD — sys/kern sys_pipe.c, sys/uvm uvm_emap.c uvm_extern.h

add prot parameter for uvm_emap_enter(), so that it's possible to
enter also read/write mappings

NetBSD — sys/uvm uvm_bio.c uvm_extern.h

make ubc_alloc() and ubc_release() static, they should not be used
outside of ubc_uiomove()/ubc_zeropage(); for now mark as noinline
to keep them available as breakpoints
Delta File
+4 -4 sys/uvm/uvm_bio.c
+2 -5 sys/uvm/uvm_extern.h
+6 -9 2 files

NetBSD — sys/arch/macppc/conf POWERMAC_G5_11_2

smusat attaches to iic now

NetBSD — sys/arch/macppc/conf files.macppc, sys/arch/macppc/dev smuiic.c smu.c

overhaul SMU i2c handling:
- get rid of the special smuiicbus, use generic i2cbus
- use shifted i2c addresses like everyone else
- use direct config
with this generic i2c drivers should work on the smu's i2c bus.

NetBSD — sys/arch/arm/sunxi sunxi_codec.c

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. Also,
we're not waiting for the drain to complete.
The upper level will play enough silence when needed to make sure interesting
data have been played.

In sunxi_codec_halt_output() and sunxi_codec_halt_input(), drain the fifo
(and wait for it to complete) before or after disabling the DMA.
Delta File
+18 -21 sys/arch/arm/sunxi/sunxi_codec.c
+18 -21 1 file

NetBSD — sys/arch/arm/sunxi sun4i_dma.c

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't know why but without this, I could play sound (via sunxi_codec)
only once. After the call to sunxi_codec_halt_output(), subsequent play
would output only silence.
Delta File
+12 -6 sys/arch/arm/sunxi/sun4i_dma.c
+12 -6 1 file

NetBSD — usr.sbin/rtadvd rtadvd.conf.5 rtadvd.h

Update values from RFC 8319