Displaying 1 50 of 631,624 commits (0.167s)

NetBSD — doc 3RDPARTY

belatedly update ACPICA
Delta File
+3 -3 doc/3RDPARTY
+3 -3 1 file

NetBSD — sys/dev/ic mvsata.c

move mvsata_quetag_get() to the start routines, so that it always matches
the active list of ata queue; important during error recovery, fixes
panics when calling

in mvsata_edma_handle() ignore events for non-active xfers

fix some missing ata_channel_unlock() on error path in mvsata_bio_intr()
and mvsata_atapi_intr(), fixes 'locking against myself' with LOCKDEBUG

with this, mvsata(4) finally survives full fio run with wdcdebug_wd_cnt == 200
Delta File
+26 -13 sys/dev/ic/mvsata.c
+26 -13 1 file

NetBSD — sys/dev/ata ata.c

put recovery command on head of active xfers queue, so that drivers using
ata_queue_get_active_xfer() like mvsata(4) will find it and not random other
NCQ xfer

never return NCQ xfer from ata_queue_get_active_xfer(), if the first xfer
is NCQ simply return NULL

adjust ata_timo_xfer_check() to not check the expiring flag in C_WAITTIMO
branch, if we get there we ought to get the timeout handler aborted
Delta File
+30 -13 sys/dev/ata/ata.c
+30 -13 1 file

NetBSD — sys/lib/libsa loadfile_elf32.c

Clean up and split loadfile, reduces a patch I have.
Delta File
+224 -235 sys/lib/libsa/loadfile_elf32.c
+224 -235 1 file

NetBSD — sys/arch/arm/nvidia tegra_pcie.c

Enable pcie on tegra210
Delta File
+29 -4 sys/arch/arm/nvidia/tegra_pcie.c
+29 -4 1 file

NetBSD — sys/arch/arm/nvidia tegra210_car.c tegra210_carreg.h

Add clocks used by pcie

NetBSD — external/bsd/cron/dist do_command.c

Factor out the read and write data code from the huge child_process function.
When we create a pipe to read data, restore the sigchld signal handler since
pclose expects to wait for the child (to avoid spurious error reporting later).
Delta File
+199 -175 external/bsd/cron/dist/do_command.c
+199 -175 1 file

NetBSD — sys/net route.c

Synchronize on rtcache_generation with rtlock

It's racy if NET_MPSAFE is enabled.

Pointed out by joerg@
Delta File
+12 -7 sys/net/route.c
+12 -7 1 file

NetBSD — sys/net rtsock.c raw_usrreq.c

Use a dedicated mutex for rt_rawcb instead of softnet_lock if NET_MPSAFE
Delta File
+28 -2 sys/net/rtsock.c
+2 -4 sys/net/raw_usrreq.c
+30 -6 2 files

NetBSD — sys/net rtsock.c raw_usrreq.c, sys/netipsec keysock.c

Fix race condition on the rawcb list shared by rtsock and keysock

keysock now protects itself by its own mutex, which means that
the rawcb list is protected by two different mutexes (keysock's one
and softnet_lock for rtsock), of course it's useless.

Fix the situation by having a discrete rawcb list for each.

NetBSD — sys/arch/arm/nvidia tegra210_car.c

Disable debug again

NetBSD — sys/arch/arm/nvidia tegra210_xusbpad.c tegra210_car.c

USB works on Tegra X1 now.

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

If the bus glue calls xhci_init with interrupts enabled, there is a window
between when xhci interrupts are enabled and the usb bus driver is
attached. If an irq occurs in this window, xhci will attempt to schedule
a softint with an invalid softint handle.

Add a quirk flag, XHCI_DEFERRED_START, that when set skips starting the
controller at the end of xhci_init. Bus glue that sets this is responsible
to call xhci_start after attaching the child usb devices.
Delta File
+21 -14 sys/dev/usb/xhci.c
+3 -1 sys/dev/usb/xhcivar.h
+24 -15 2 files

NetBSD — sys/dev audio.c audiovar.h

Move play/rec mix ring buffers into a virtual channel sc_mixring.  NFCI.
Delta File
+90 -69 sys/dev/audio.c
+4 -6 sys/dev/audiovar.h
+94 -75 2 files

NetBSD — doc CHANGES-7.1.1

1500
Delta File
+9 -1 doc/CHANGES-7.1.1
+9 -1 1 file

NetBSD — doc CHANGES-7.0.3

1500
Delta File
+9 -1 doc/CHANGES-7.0.3
+9 -1 1 file

NetBSD — doc CHANGES-7.2

1409, 1500
Delta File
+21 -1 doc/CHANGES-7.2
+21 -1 1 file

NetBSD — sys/arch/evbmips/conf MALTA MALTA32, sys/arch/mips/mips bds_emul.S

Pull up following revision(s) (requested by mrg in ticket #1500):
        sys/arch/evbmips/conf/MALTA64: revision 1.8
        sys/arch/evbmips/conf/MALTA32: revision 1.4
        sys/arch/mips/mips/bds_emul.S: revision 1.9
        sys/arch/evbmips/conf/MALTA: revision 1.88
Re-enable the NOFPU and (renamed) FPEMUL options.  None of the Malta
CPU daughter cards currently supported by NetBSD have an FPU.
Detected on real hardware.  gxemul wrongly supports an FPU on the
4Kc and 5Kc CPUs.
--
Remove the NOFPU option.  The main MALTA config file has this now.
--
mips_emul_daddi and mips_emul_daddiu don't exist, but there are
bcemul_daddi and bcemul_daddiu here that should be used.  however,
bcemul_daddi needed to be changed to use dadd not daddui.
fixes FPEMUL and N64 kernels.  ok simonb.

NetBSD — sys/arch/evbmips/conf MALTA MALTA32, sys/arch/mips/mips bds_emul.S

Pull up following revision(s) (requested by mrg in ticket #1500):
        sys/arch/evbmips/conf/MALTA64: revision 1.8
        sys/arch/evbmips/conf/MALTA32: revision 1.4
        sys/arch/mips/mips/bds_emul.S: revision 1.9
        sys/arch/evbmips/conf/MALTA: revision 1.88
Re-enable the NOFPU and (renamed) FPEMUL options.  None of the Malta
CPU daughter cards currently supported by NetBSD have an FPU.
Detected on real hardware.  gxemul wrongly supports an FPU on the
4Kc and 5Kc CPUs.
--
Remove the NOFPU option.  The main MALTA config file has this now.
--
mips_emul_daddi and mips_emul_daddiu don't exist, but there are
bcemul_daddi and bcemul_daddiu here that should be used.  however,
bcemul_daddi needed to be changed to use dadd not daddui.
fixes FPEMUL and N64 kernels.  ok simonb.

NetBSD — sys/arch/evbmips/conf MALTA MALTA32, sys/arch/mips/mips bds_emul.S

Pull up following revision(s) (requested by mrg in ticket #1500):
        sys/arch/evbmips/conf/MALTA64: revision 1.8
        sys/arch/evbmips/conf/MALTA32: revision 1.4
        sys/arch/mips/mips/bds_emul.S: revision 1.9
        sys/arch/evbmips/conf/MALTA: revision 1.88
Re-enable the NOFPU and (renamed) FPEMUL options.  None of the Malta
CPU daughter cards currently supported by NetBSD have an FPU.
Detected on real hardware.  gxemul wrongly supports an FPU on the
4Kc and 5Kc CPUs.
--
Remove the NOFPU option.  The main MALTA config file has this now.
--
mips_emul_daddi and mips_emul_daddiu don't exist, but there are
bcemul_daddi and bcemul_daddiu here that should be used.  however,
bcemul_daddi needed to be changed to use dadd not daddui.
fixes FPEMUL and N64 kernels.  ok simonb.

NetBSD — sys/arch/arm/nvidia tegra210_xusbpad.c tegra210_car.c

More XUSB init. A USB3 memory stick seems to work now.

NetBSD — sys/arch/arm/nvidia tegra_xusb.c

Enable XUSB power rails at attach
Delta File
+11 -3 sys/arch/arm/nvidia/tegra_xusb.c
+11 -3 1 file

NetBSD — sys/arch/xen/xen xennetback_xenbus.c if_xennet_xenbus.c, sys/net if_vlan.c if_ethersubr.c

Pull up following revision(s) (requested by manu in ticket #1409):
        sys/arch/xen/xen/if_xennet_xenbus.c: 1.65
        sys/arch/xen/xen/xennetback_xenbus.c: 1.53, 1.56 via patch
        sys/net/if_bridge.c: 1.105
        sys/net/if_ether.h: 1.65
        sys/net/if_ethersubr.c: 1.215, 1.235
        sys/net/if_vlan.c: 1.76, 1.77, 1.83, 1.88, 1.94
Protect vlan_unconfig with a mutex
It is not thread-safe but is likely to be executed in concurrent.
See PR 49264 for more detail.
--
Tweak vlan_unconfig
No functional change.
--
Add handling of VLAN packets in if_bridge where the parent interface supports
them (Jean-Jacques.Puig%espci.fr at localhost). Factor out the vlan_mtu enabling and
disabling code.
--
Enable the VLAN mtu capability and check for the adjusted packet size
(Jean-Jacques.Puig at espci.fr).
Factor out the packet-size checking function for clarity.
--
Don't increment the reference count only when it was 0...
From Jean-Jacques.Puig
--

    [6 lines not shown]

NetBSD — usr.bin/cvslatest cvslatest.c

Force _GNU_SOURCE on Linux, otherwise strptime is not defined and more
restrictive macros result in even nastier fallout.
Delta File
+6 -2 usr.bin/cvslatest/cvslatest.c
+6 -2 1 file

NetBSD — sys/arch/hppa/include mutex.h

const me harder.
Delta File
+3 -3 sys/arch/hppa/include/mutex.h
+3 -3 1 file

NetBSD — sys/arch/arm/nvidia tegra210_car.c

Disable debug

NetBSD — sys/arch/arm/nvidia tegra_apbdma.c

Match nvidia,tegra210-apbdma

NetBSD — sys/arch/arm/nvidia tegra210_car.c

Add APBDMA clock

NetBSD — sys/arch/evbarm/conf TEGRA

add wskbd at gpiokeys
Delta File
+2 -1 sys/arch/evbarm/conf/TEGRA
+2 -1 1 file

NetBSD — sys/dev/fdt gpiokeys.c files.fdt

For known Linux keycodes, report key press events through a wskbd device
instead of using sysmon pswitch hotkey events.
Delta File
+87 -9 sys/dev/fdt/gpiokeys.c
+2 -2 sys/dev/fdt/files.fdt
+89 -11 2 files

NetBSD — sys/arch/arm/nvidia tegra210_xusbpad.c tegra210_car.c

More XUSB init stuff.

NetBSD — doc CHANGES-8.0

tickets 172, 275, 276, 278-292
Delta File
+148 -1 doc/CHANGES-8.0
+148 -1 1 file

NetBSD — sys/arch/x68k/dev vs.c vsvar.h

Pull up following revision(s) (requested by isaki in ticket #172):
        sys/arch/x68k/dev/vs.c: 1.38-1.39, 1.41-1.44, 1.47-1.48 via patch
        sys/arch/x68k/dev/vsvar.h: 1.12-1.15 via patch
Avoid panic when the device is closed when not playing.
Catch up vs_set_params() to recent MI audio (after in-kernel mixer).
Before that, MD part had to support all encodings I'd like to support,
but currently it's no longer necessary.  The hardware is
4bit/1ch/15.6kHz ADPCM but it behaves as 16bit/1ch/16.0kHz PCM.
For audio.c < 1.362, the device attach succeeded and playback is
still working.
For audio.c >= 1.363, the device attach fails again.
It does not work yet but I commit it for milestone.
Update confused vs_set_params().
play and rec are identical but pfil and rfil are independent.
XXX I introduce VS_USE_PREC8 option for debugging purposes
    temporarily.  I'll remove it if the problem is solved.
Remove temporary VS_USE_PREC8 option.
vs(4) now supports slinear16be and slinear8 (but now work yet).
vs(4) became to able to play audio again.
At the moment the encoding conversion using set_params() does
not seem to work for me.  So vs(4) uses local conversion to/from
ADPCM instead of it.  But this should be a temporary work.
XXX The playback quality is very poor compared to before...
XXX Recording is not tested.
Merge prate and rrate.  These can not be separated.

    [8 lines not shown]
Delta File
+165 -183 sys/arch/x68k/dev/vs.c
+5 -4 sys/arch/x68k/dev/vsvar.h
+170 -187 2 files

NetBSD — sys/fs/msdosfs msdosfs_vfsops.c

Pull up following revision(s) (requested by mlelstv in ticket #292):
        sys/fs/msdosfs/msdosfs_vfsops.c: revision 1.128
Add more sanity checks for BPB parameters. Handle FAT12 format for media
with sectors >= 32kByte.
Does fix PR 52485.
Delta File
+35 -6 sys/fs/msdosfs/msdosfs_vfsops.c
+35 -6 1 file

NetBSD — sys/arch/powerpc/include fenv.h

Pull up following revision(s) (requested by phx in ticket #291):
        sys/arch/powerpc/include/fenv.h: revision 1.4
Fixed feholdexcept() by copying the actual contents of FPSCR to the fenv_t
instead of a double precision floating point representation of it.
Delta File
+2 -2 sys/arch/powerpc/include/fenv.h
+2 -2 1 file

NetBSD — sys/arch/x68k/dev intio_dmac.c vs.c

Pull up following revision(s) (requested by isaki in ticket #290):
        sys/arch/x68k/dev/dmacvar.h: revision 1.11-1.12 via patch
        sys/arch/x68k/dev/intio_dmac.c: revision 1.36-1.37 via patch
        sys/arch/x68k/dev/fd.c: revision 1.120 via patch
        sys/arch/x68k/dev/vs.c: revision 1.45-1.46 via patch
Use dmac_prepare_xfer().
From Y.Sugahara.
--
Allow dmac_alloc_channel() to specify DCR and OCR.
FDC uses 'Cycle Steal Mode with Hold' but ADPCM
should use 'Cycle Steal Mode without Hold' on x68k.
From Y.Suhagara and it was found by XM6i.
--
Fix a Continue Operation.
Patch from Y.Sugahara.

NetBSD — distrib/sets/lists/base mi, external/cddl Makefile

Pull up following revision(s) (requested by sevan in ticket #289):
        distrib/sets/lists/base/mi: revision 1.1161
        external/cddl/Makefile: revision 1.4
        external/cddl/dtracetoolkit/Makefile: revision 1.1
        external/cddl/dtracetoolkit/dist/Makefile: revision 1.1
Include scripts from the DTrace Toolkit if DTrace support is enabled.
The following scripts are installed:
dtruss    - a DTrace version of truss.
execsnoop - snoop process execution as it occurs.
opensnoop - snoop file opens as they occur.
procsystime - print process system call time details.
ok riastradh

NetBSD — sys/dev/pci/ixgbe ixv.c

Pull up following revision(s) (requested by msaitoh in ticket #288):
        sys/dev/pci/ixgbe/ixv.c: 1.59 and 1.62 via patch
- Use cprng_strong64() instead of cprng_fast64() to prevent panic.
- Set get_link_status to true before calling ixv_config_link() in
  ixv_init_locked() to get the first link status correctly.
Delta File
+3 -3 sys/dev/pci/ixgbe/ixv.c
+3 -3 1 file

NetBSD — share/man/man8 veriexec.8

Pull up following revision(s) (requested by sevan in ticket #287):
        share/man/man8/veriexec.8: revision 1.5-1.6
The bogus number police
Add missing VERIFIED_EXEC_FP_SHA384 option.
Delta File
+4 -3 share/man/man8/veriexec.8
+4 -3 1 file

NetBSD — sys/arch/m68k/include fenv.h

Pull up following revision(s) (requested by phx in ticket #286):
        sys/arch/m68k/include/fenv.h: revision 1.7
The __fgetenv() macro operates on a fenv_t, not on a fenv_t *.
Fixes a segfault in fegetenv() and feholdexcept().
Delta File
+3 -3 sys/arch/m68k/include/fenv.h
+3 -3 1 file

NetBSD — sys/dev audio.c audiovar.h

Pull up following revision(s) (requested by isaki in ticket #285):
        sys/dev/audiovar.h: 1.64
        sys/dev/audio.c: 1.399-1.402, 1.404-1.405
        sys/dev/audio.c: 1.406 via patch
Clean up mix_write().
--
Fix typo. sc_mrr -> sc_mpr for play buffer.
--
Remove goto in mix_write()
--
Remove meaningless sc_blkset.
audio_calc_blksize() checks whether sc_blkset is set but
it seems to be always cleared before calling audio_calc_blksize().
--
Don't assign sc->sc_pr/rr.blksize in audio_initbufs().
For hwvc, it is calculated in audiosetinfno().  And the user vc should
not change sc->sc_pr/rr.blksize.  In addition, this assignments appear twice.
--
Remove duplicated code.
For hwvc, audio_calc_blksize() appears soon again.
For user vc, the userland format and HW format are separeted, so
audio_calc_blksize() here is no longer necessary.  In addition,
vc->sc_mpr.blksize is already initialized in audio_open().
--
Separete sc->sc_pr/rr (mix ring) block size and hwvc->sc_mpr/mrr (hw ring)

    [2 lines not shown]
Delta File
+58 -101 sys/dev/audio.c
+1 -3 sys/dev/audiovar.h
+59 -104 2 files

NetBSD — external/gpl3/gcc/usr.bin/backend Makefile

Pull up following revision(s) (requested by he in ticket #284):
        external/gpl3/gcc/usr.bin/backend/Makefile: revision 1.38
Replicate fix from the old gcc.old: alpha.d needs pass-instances.def.

NetBSD — sys/external/bsd/ipf/netinet fil.c

Pull up following revision(s) (requested by christos in ticket #283):
        sys/external/bsd/ipf/netinet/fil.c: revision 1.21
Revert changing the byte order of fi->fi_addr. It is already correct. From
Timo Buhrmester

NetBSD — regress/sys/arch/i386/ldt testldt.c

Pull up following revision(s) (requested by maxv in ticket #282):
        regress/sys/arch/i386/ldt/testldt.c: revision 1.17
Don't test call gates, they are not supported anymore.
Delta File
+5 -76 regress/sys/arch/i386/ldt/testldt.c
+5 -76 1 file

NetBSD — sys/dev/sysmon sysmon_envsys.c sysmon_envsys_events.c

Pull up following revision(s) (requested by pgoyette in ticket #281):
        sys/dev/sysmon/sysmon_envsys.c: 1.140-1.141
        sys/dev/sysmon/sysmon_envsys_events.c: 1.120-1.121
        sys/dev/sysmon/sysmonvar.h: 1.50
Fixes a problem that some driver(e.g. acpitz(4) or coretemp(5)) which
use sysmon_envsys sleep waiting at "rndsrc" when "drvctl -d".
Don't call rnd_detach_source() in sme_remove_event() which is called
from sme_event_unregister_all(). Instead, call rnd_detach_source() in
sysmon_envsys_sensor_detach() and call sysmon_envsys_sensor_detach()
before sme_event_unregister_sensor(). Each sensor(envsys_data) has each
rnd_src, but some sme_events point to the same rnd_src in a sensor.
Calling rnd_detach_souce() twice with the same rnd_src brokes a reference
count in rnd_src. OK'd by pgoyette@.
--
Improve tracking of the state of an event's callout, and protect all
queries or modifications of the state with the sme_mtx mutex.
Detach the rndsrc before re-attaching it (with potentially new values).
Clean up some lock-ordering issues.
And a couple of KNF issues for good measure!
Should address PR kern/52533

NetBSD — usr.sbin/syslogd syslogd.c

Pull up following revision(s) (requested by ginsbach in ticket #280):
        usr.sbin/syslogd/syslogd.c: revision 1.124
Use looked up remote host for remote message without a hostname
An incoming remote message may not necessarily have a hostname
between the timestamp and the message. The the source of the remote
sender is already looked up so use that hostname/IP address rather
than the local hostname.
Delta File
+3 -3 usr.sbin/syslogd/syslogd.c
+3 -3 1 file

NetBSD — share/man/man8 afterboot.8

Pull up following revision(s) (requested by maya in ticket #279):
        share/man/man8/afterboot.8: 1.59-1.60
Update packages link. suggest https. bump date
Update wifi guide to reflect dhcpcd no longer invoking wpa_supplicant
Delta File
+16 -11 share/man/man8/afterboot.8
+16 -11 1 file

NetBSD — sys/dev audio.c audiovar.h

Pull up following revision(s) (requested by isaki in ticket #278):
        sys/dev/audiovar.h: revision 1.61-1.62
        sys/dev/audiovar.h: revision 1.63 via patch
        sys/dev/audio.c: revision 1.381, 1.390, 1.391, 1.393
        sys/dev/audio.c: revision 1.394 via patch
Use do .. while (0) for macros.
--
Introduce audio_destroy_pfilters()/audio_destroy_rfilters()
and use it.
--
Remove dead codes. chan will never be NULL in SIMPLEQ_FOREACH.
--
Move defines to the appropriate place.
--
Remove mixer chan from sc_audiochan.
Now sc_audiochan contains opened audio chan (and first special
element) only.
First I splitted sc_audiochan into sc_audiochan which has
audio chan (and first special element) and sc_mixerchan
which has mixer chan only.  However nobody else refers this
sc_mixerchan except additions to list and deletions from
list.  So mixer chan's list is not necessary.
--
Split the first special element from sc_audiochan list.
- This makes sc_audiochan a list of only open audio chan.

    [2 lines not shown]
Delta File
+100 -185 sys/dev/audio.c
+9 -9 sys/dev/audiovar.h
+109 -194 2 files

NetBSD — external/bsd/nvi/dist/cl cl_main.c cl_screen.c

Pull up following revision(s) (requested by mlelstv in ticket #276):
        external/bsd/nvi/dist/cl/cl_main.c: revision 1.6
        external/bsd/nvi/dist/cl/cl_screen.c: revision 1.6
When resizing nvi in xterm, a scroll region is set with the old size
which garbles the display.
The scroll region is set for a terminfo scroll operation and then
reset to the current window size. While xterm lets you clear a
scroll region, there is no way to do this in terminfo except by
resetting the terminal which has a visual side effect.
Xterm actually clears the scroll region as part of the resize but
that happens before a program gets the SIGWINCH signal. When nvi sees
the SIGWINCH signal, it exits the vi mode using a scroll operation to
tidy up the display before it reenters vi mode with the new window size.
This patch does two things:
- make nvi also invoke a previous SIGWINCH handler (not sufficient,
  but that's how curses wants it).
- skip the tidy up in case of a restart (avoids the scroll region)

NetBSD — distrib/amiga/miniroot install.md, distrib/miniroot install.sub

Pull up following revision(s) (requested by mlelstv in ticket #275):
        distrib/amiga/miniroot/install.md: revision 1.28
        distrib/miniroot/install.sub: revision 1.46
        distrib/notes/amiga/install: revision 1.36
        sys/arch/amiga/amiga/disksubr.c: revision 1.68
Support installing from a CD9660 formatted disk partition.
--
Fix check of AmigaDOS environment vector for nonstandard disklabel values.
Don't set a default fsize for CD9660 partitions, the CD9660 filesystem
interprets it as a session offset.
--
Ask for the boot command. It's necessary for some hardware
configurations and also to enable a serial console in the installed
system.
--
Mention the installer question for the boot command.