Link [ NetBSD | NetBSD OpenGrok source search | PR fulltext-search | Summary of daily snapshot builds | history of daily build result | pkgsrc commit viewer ]


   
        usage: [branch:branch] [user:user] [path@revision] keyword [... [-excludekeyword [...]]] (e.g. branch:MAIN sys/arch/arm, if_wm.c@1.234 )




switch to index mode

recent branches: MAIN (20m)  netbsd-8 (5d)  netbsd-10 (5d)  netbsd-9 (11d)  thorpej-ifq (175d)  thorpej-altq-separation (177d) 

2024-05-09 22:59:16 UTC Now

2015-11-15 19:09:19 UTC netbsd-6 commitmail json YAML

src/external/bsd/bind/dist/CHANGES@1.2.2.8 / diff / nxr@1.2.2.8
src/external/bsd/bind/dist/COPYRIGHT@1.1.1.5.4.3 / diff / nxr@1.1.1.5.4.3
src/external/bsd/bind/dist/FAQ.xml@1.1.1.5.6.3 / diff / nxr@1.1.1.5.6.3
src/external/bsd/bind/dist/README@1.1.1.8.4.5 / diff / nxr@1.1.1.8.4.5
src/external/bsd/bind/dist/bin/check/named-checkconf.c@1.3.4.3 / diff / nxr@1.3.4.3
src/external/bsd/bind/dist/bin/dig/dig.1@1.3.4.3 / diff / nxr@1.3.4.3
src/external/bsd/bind/dist/bin/dig/dig.docbook@1.1.1.4.4.3 / diff / nxr@1.1.1.4.4.3
src/external/bsd/bind/dist/bin/dig/dig.html@1.1.1.4.4.3 / diff / nxr@1.1.1.4.4.3
src/external/bsd/bind/dist/bin/dig/dighost.c@1.8.4.3 / diff / nxr@1.8.4.3
src/external/bsd/bind/dist/bin/dig/host.c@1.3.4.3 / diff / nxr@1.3.4.3
src/external/bsd/bind/dist/bin/dig/include/dig/dig.h@1.5.4.3 / diff / nxr@1.5.4.3
src/external/bsd/bind/dist/bin/dig/nslookup.c@1.3.4.4 / diff / nxr@1.3.4.4
src/external/bsd/bind/dist/bin/dnssec/dnssec-dsfromkey.c@1.3.4.4 / diff / nxr@1.3.4.4
src/external/bsd/bind/dist/bin/dnssec/dnssec-importkey.c@1.5.2.3 / diff / nxr@1.5.2.3
src/external/bsd/bind/dist/bin/dnssec/dnssec-keyfromlabel.c@1.6.4.4 / diff / nxr@1.6.4.4
src/external/bsd/bind/dist/bin/dnssec/dnssec-keygen.8@1.3.4.4 / diff / nxr@1.3.4.4
src/external/bsd/bind/dist/bin/dnssec/dnssec-keygen.c@1.7.4.4 / diff / nxr@1.7.4.4
src/external/bsd/bind/dist/bin/dnssec/dnssec-keygen.docbook@1.1.1.6.4.4 / diff / nxr@1.1.1.6.4.4
src/external/bsd/bind/dist/bin/dnssec/dnssec-keygen.html@1.1.1.6.4.4 / diff / nxr@1.1.1.6.4.4
src/external/bsd/bind/dist/bin/dnssec/dnssec-settime.8@1.3.4.3 / diff / nxr@1.3.4.3
      :
(more 317 files)
Apply patch, requested by spz in ticket 1329:

Update bind to 9.9.7-P3

(bouyer)

2015-11-15 17:52:49 UTC netbsd-6 commitmail json YAML

Tickets 1320 1321 1323 1324 1325 1327 1328

(bouyer)

2015-11-15 17:51:52 UTC netbsd-6 commitmail json YAML

Pull up following revision(s) (requested by ozaki-r in ticket #1328):
sys/netinet/if_arp.c: revision 1.160
Add sysctl to selectively log arp packets from unknown network. (Adrien URBAN).

(bouyer)

2015-11-15 17:49:31 UTC netbsd-6 commitmail json YAML

Pull up following revision(s) (requested by ozaki-r in ticket #1327):
sys/netinet6/icmp6.c: revision 1.177
Update icmp6_redirect_timeout_q when changing net.inet6.icmp6.redirtimeout
We have to update icmp6_redirect_timeout_q as well as icmp6_redirtimeout
when changing net.inet6.icmp6.redirtimeout via sysctl. The updating logic
is copied from sysctl_net_inet_icmp_redirtimeout.
This change is from s-yamaguchi@IIJ (with KNF by ozaki-r) and fixes
PR kern/50240.

(bouyer)

2015-11-15 17:46:41 UTC netbsd-6-0 commitmail json YAML

2015-11-15 17:46:34 UTC netbsd-6-1 commitmail json YAML

2015-11-15 17:45:59 UTC netbsd-6-1 commitmail json YAML

Pull up following revision(s) (requested by msaitoh in ticket #1325):
sys/dev/mii/atphy.c: revision 1.17
  Fix incorrect argument of mii_anar(). Fixes PR#50206.
XXX pullup -[567]

(bouyer)

2015-11-15 17:45:50 UTC netbsd-6-0 commitmail json YAML

Pull up following revision(s) (requested by msaitoh in ticket #1325):
sys/dev/mii/atphy.c: revision 1.17
  Fix incorrect argument of mii_anar(). Fixes PR#50206.
XXX pullup -[567]

(bouyer)

2015-11-15 17:45:44 UTC netbsd-6 commitmail json YAML

Pull up following revision(s) (requested by msaitoh in ticket #1325):
sys/dev/mii/atphy.c: revision 1.17
  Fix incorrect argument of mii_anar(). Fixes PR#50206.
XXX pullup -[567]

(bouyer)

2015-11-15 17:44:01 UTC netbsd-6 commitmail json YAML

Pull up following revision(s) (requested by dholland in ticket #1324):
xsrc/xfree/xc/programs/xdm/access.c: revision 1.2
Don't crash if the local hostname doesn't resolve. PR 26998

(bouyer)

2015-11-15 17:41:26 UTC netbsd-6 commitmail json YAML

Pull up following revision(s) (requested by christos in ticket #1323):
bin/sh/jobs.c: revision 1.74
bin/sh/jobs.c: revision 1.75
bin/sh/trap.c: revision 1.36
bin/sh/trap.c: revision 1.37
bin/sh/trap.h: revision 1.21
bin/sh/trap.h: revision 1.22
Process pending signals while waiting for a job:
    $ cat << EOF > hup.sh
    #!/bin/sh
    trap 'echo SIGHUP; exit 1' 1
    sleep 10000 &
    wait
    EOF
    $ chmod +x ./hup.sh
    $ ./hup.sh &
    $ kill -HUP %1
report the signal that wait was interrupted by, which is not always SIGINT
anymore.

(bouyer)

2015-11-15 17:39:10 UTC netbsd-6 commitmail json YAML

Pull up following revision(s) (requested by shm in ticket #1321):
libexec/ftpd/logwtmp.c: revision 1.26
libexec/ftpd/logwtmp.c: revision 1.27
Removed unnecessary memset(3) call
Clear utmpx struct before writing it to wtmpx files

(bouyer)

2015-11-15 17:36:32 UTC netbsd-6 commitmail json YAML

Pull up following revision(s) (requested by oster in ticket #1320):
sys/kern/sys_pset.c: revision 1.19
Don't forget to unlock the LWP.
ok rmind@

(bouyer)

2015-11-15 16:59:29 UTC netbsd-6 commitmail json YAML

2015-11-15 16:58:20 UTC netbsd-6 commitmail json YAML

Pull up following revision(s) (requested by kamil in ticket #1317):
share/man/man5/login.conf.5: revisions 1.29, 1.30, 1.31
lib/libutil/login_cap.c: revision 1.32
Clean-up resources (sys/sys/resource.h) usage
Add vmemoryuse to login_cap(3)
Document vmemoryuse in login.conf(5)
Document proc.pid.rlimit.vmemoryuse and proc.pid.rlimit.maxlwp in
sysctl(7)
Document SBSIZE, AS, VMEM and NTHR in share/doc/psd/05.sysman/1.6.t
Reviewed by <riastradh>
Approved by <pgoyette>
Tested by Dominik Bialy
Closes PR xsrc/49912
Bump date for previous.
Clean-up documentation of login.conf(5)
Remove redundant word "limit" from sentences "Maximum ...".
Note that vmemoryuse might specify both maximum and current limits.
Remove redundant 'in bytes' from the description of vmemoryuse, it's not
ed
in the next section describing the argument type 'size'.
Changes inspired by <riastradh> in PR xsrc/49912

(bouyer)

2015-11-15 16:54:16 UTC MAIN commitmail json YAML

2015-11-15 16:51:39 UTC netbsd-6 commitmail json YAML

Tickets 1304 1308 1310 1311 1312 1316 1319

(bouyer)

2015-11-15 16:49:37 UTC netbsd-6 commitmail json YAML

Pull up following revision(s) (requested by dholland in ticket #1319):
sys/ufs/lfs/lfs_segment.c: revision 1.247 via patch
Fix catastrophic bug in lfs_rewind() that changed segment numbers
(lfs_curseg/lfs_nextseg in the superblock) using the wrong units.
These fields are for whatever reason the start addresses of segments
(measured in frags) rather than the segment numbers 0..n.
This only apparently affects dumping from a mounted fs; however, it
trashes the fs.
I would really, really like to have a static analysis tool that can
keep track of the units things are measured in, since fs code is full
of conversion macros and the macros are named inscrutable things like
"sntod" whose letters don't necessarily even correspond to the units
they convert. It is surprising that more of these are not wrong.

(bouyer)

2015-11-15 16:47:26 UTC netbsd-6 commitmail json YAML

Pull up following revision(s) (requested by hannken in ticket #1316):
sys/dev/ic/mpt_netbsd.c: revision 1.32
Adapter leaks requests when mpt_event_notify_reply() has to acknowledge
an event leading to "adapter resource shortage" messages when the scsipi
subsystem tries to use all adapt_openings.
Change mpt_ctlop() to free the request on event MPI_FUNCTION_EVENT_ACK.
Tested on a SunFire X4275 with Symbios Logic SAS1068E (1000:0058, rev. 4).

(bouyer)

2015-11-15 16:43:54 UTC netbsd-6 commitmail json YAML

Pull up following revision(s) (requested by dholland in ticket #1312):
usr.sbin/postinstall/postinstall: revision 1.196 via patch
PR install/50020: postinstall does not check for mandoc in /etc/man.conf.
Add a check, but ask the user to fix manually (the file could have local
modifications).

(bouyer)

2015-11-15 16:40:30 UTC netbsd-6 commitmail json YAML

Pull up following revision(s) (requested by nat in ticket #1311):
lib/libm/src/lrintf.c: revision 1.6
lib/libm/src/lrint.c: revision 1.5
Return x for >= DBL_FRACBITS in lrint.c.
Return x for >= SNG_FRACBITS in lrintf.c
Addresses PR lib/49690
This commit was approved by christos@

(bouyer)

2015-11-15 16:36:57 UTC netbsd-6 commitmail json YAML

Pull up following revision(s) (requested by matt in ticket #1310):
sys/arch/powerpc/include/userret.h: revision 1.30
sys/arch/powerpc/powerpc/fpu.c: revision 1.36
sys/arch/powerpc/include/psl.h: revision 1.20
sys/arch/powerpc/include/userret.h: revision 1.29
sys/arch/powerpc/oea/oea_machdep.c: revision 1.72
sys/arch/powerpc/oea/altivec.c: revision 1.30
Add a check to make sure that if PSL_FP is set, we own the FPU.
Don't clear PSL_FP/PSL_VEC
Don't reload if just re-enabling
Don't reload the FPU register if this is just a re-enable.
Remove PSL_SPV from BOOKE PSL_USERMOD
Don't preserve PSL_FP/PSL_VEC in cpu_setmcontext.

(bouyer)

2015-11-15 16:33:26 UTC netbsd-6 commitmail json YAML

Pull up following revision(s) (requested by mlelstv in ticket #1308):
usr.bin/tset/set.c: revision 1.18
Restore logic for setting the VERASE character.
- use terminfo _unless_ the terminal does overstrike.
- use terminfo data not only for an unset tty.

(bouyer)

2015-11-15 16:30:38 UTC netbsd-6 commitmail json YAML

Pull up following revision(s) (requested by manu in ticket #1304):
sbin/raidctl/raidctl.c: revision 1.58
Better sanity check numbers given to raidctl(8)
Replace atoi(3) by strtol(3), and check that numbers are valid,
positive, and in int32_t range. The previous lack of check could
silently lead to the same serial being set to all RAID volumes
for instance because given numbers were bigger than INT_MAX. The
consequence is in an awful mess when RAIDframe would mix volumes...

(bouyer)

2015-11-15 16:19:38 UTC netbsd-6-1 commitmail json YAML

2015-11-15 16:19:20 UTC netbsd-6-0 commitmail json YAML

2015-11-15 16:19:16 UTC netbsd-6 commitmail json YAML

2015-11-15 16:17:03 UTC netbsd-6-1 commitmail json YAML

Pull up following revision(s) (requested by christos in ticket #1346):
external/bsd/ntp/scripts/mkver: revision 1.8
PR/50426: Dave Tyson: Fix ntp reported version.

(bouyer)

2015-11-15 16:17:00 UTC netbsd-6-0 commitmail json YAML

Pull up following revision(s) (requested by christos in ticket #1346):
external/bsd/ntp/scripts/mkver: revision 1.8
PR/50426: Dave Tyson: Fix ntp reported version.

(bouyer)

2015-11-15 16:16:53 UTC netbsd-6 commitmail json YAML

Pull up following revision(s) (requested by christos in ticket #1346):
external/bsd/ntp/scripts/mkver: revision 1.8
PR/50426: Dave Tyson: Fix ntp reported version.

(bouyer)

2015-11-15 14:42:04 UTC MAIN commitmail json YAML

Fix typo which caused the kenrel thread to be created with a 0 priority.
This would cause the thread to be almost never scheduled when a userland
process could use all CPU.
Should fix the problem reported by Torbj�rn Granlund on port-xen@

(bouyer)

2015-11-15 14:39:12 UTC MAIN commitmail json YAML

If we are going to be doing read/modify/write in triple-buffered mode, make sure we don't read back the buffered values and not the active ones

(jmcneill)

2015-11-15 13:59:52 UTC nick-nhusb commitmail json YAML

Remove unused fields from ohci_pipe

(skrll)

2015-11-15 13:50:10 UTC MAIN commitmail json YAML

2015-11-15 06:43:17 UTC MAIN commitmail json YAML

Correct the x68k's Backspace key behavior.
With this fix, the Backspace key on x68k keyboard erases
previous one character, instead of outputting '^?' character.
Reported by Yasushi Oshima (two months ago..)

(isaki)

2015-11-15 03:13:18 UTC MAIN commitmail json YAML

Add the newly-created wapbl module to the sets list.

(pgoyette)

2015-11-15 03:12:14 UTC MAIN commitmail json YAML

Actually create the wapbl module, since it works.

(pgoyette)

2015-11-15 03:09:39 UTC MAIN commitmail json YAML

Enable the module's MODULE_CMD_FINI action.  It actually works as
intended.

(pgoyette)

2015-11-15 01:39:23 UTC MAIN commitmail json YAML

If file system ffs is built with WAPBL defined, make sure that the
module depends on the wapbl module.

No impact to users of built-in ffs file system code, as the WAPBL
#define will cause inclusion of the code in the kernel.

A standard build of the modular ffs file system code will #define
WAPBL, so the module will only work on a kernel which was also
built with WAPBL defined (or, once I commit it, with a dynamically-
loaded wapbl module).

(pgoyette)

2015-11-14 23:32:32 UTC MAIN commitmail json YAML

set vbus-gpio property on tegrausbphy, not ehci

(jmcneill)

2015-11-14 23:17:40 UTC MAIN commitmail json YAML

tegracec can get physical address from tegradrm now

(jmcneill)

2015-11-14 23:16:41 UTC MAIN commitmail json YAML

expose HDMI from HDMI VSDB as physical-address device property when available

(jmcneill)

2015-11-14 23:15:44 UTC MAIN commitmail json YAML

parse_hdmi_vsdb: read the HDMI physical address from the HDMI VSDB and store it on the connector

(jmcneill)

2015-11-14 23:04:30 UTC MAIN commitmail json YAML

sleep before asking the PMIC to power off

(jmcneill)

2015-11-14 23:00:17 UTC MAIN commitmail json YAML

Enable installation of amd64 on an lfsv2 partition.

XXX Other ports will need similar changes to arch/.../md.h after testing!

XXX The mount_lfs warning about lfs being experimental may confuse or
XXX corrupt the sysinst display window.

(pgoyette)

2015-11-14 22:03:54 UTC MAIN commitmail json YAML

2015-11-14 18:04:05 UTC MAIN commitmail json YAML

hdmi_audio_infoframe_pack: Initialize the entire output buffer.
hdmi_infoframe_checksum: Fix HDMI infoframe checksum calculations.

(jmcneill)

2015-11-14 16:25:49 UTC MAIN commitmail json YAML

2015-11-14 14:01:23 UTC MAIN commitmail json YAML

2015-11-14 13:29:35 UTC MAIN commitmail json YAML

2015-11-14 13:28:53 UTC MAIN commitmail json YAML

support video=<mode> kernel cmdline for setting HDMI-A-1 preferred video mode

(jmcneill)

2015-11-14 13:27:29 UTC MAIN commitmail json YAML

Support command-line modes by picking up connector modes from the device
properties. The connector name is the key name in the device properties
dictionary.

(jmcneill)

2015-11-14 12:01:38 UTC MAIN commitmail json YAML

Merge upstream commit 91571cce03adc58a10b5d76307629efc7c994c3e

Subject: modesetting: Don't pretend to support rotation

It only ends in tears

Signed-off-by: Rob Clark <robdclark@gmail.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>

(jmcneill)

2015-11-14 11:55:36 UTC MAIN commitmail json YAML

2015-11-14 10:44:57 UTC nick-nhusb commitmail json YAML

2015-11-14 10:37:09 UTC nick-nhusb commitmail json YAML

Not much point printing NULL in a KASSERTMSG, so don't.

(skrll)

2015-11-14 10:35:38 UTC nick-nhusb commitmail json YAML

2015-11-14 10:32:40 UTC MAIN commitmail json YAML

Wait 20ms for the PLL to stabilize after enabling it.
Fixes occasional bogus size report for my SD card.

(bouyer)

2015-11-14 10:05:48 UTC nick-nhusb commitmail json YAML

Collapse ohci_device_request into ohci_device_ctrl_start.

No functional change intended.

(skrll)

2015-11-14 07:31:13 UTC MAIN commitmail json YAML

Always include the "vfs" attribute (module).  Although all of the
ufs/xxx file systems depend on the vfs attribute, it is not required
that any file system actually be built-in to the kernel.  (At least
on some architectures, file system modules can be loaded at boot
time.)

(pgoyette)

2015-11-14 07:18:35 UTC nick-nhusb commitmail json YAML

2015-11-14 07:15:58 UTC MAIN commitmail json YAML

SNAPSHOT: DOES NOT BOOT

First crack at configuration files for the Hardkernel ODROID XU4.

This kernel hangs attempting to write to the console early in boot.

(marty)

2015-11-14 03:44:52 UTC MAIN commitmail json YAML

Jetson TK1 u-boot sets up PCI IO space in an impossible-to-use
configuration.  As we're already allocating resources on the PCI
bus, set up our own mapping of PCI address spaces into the ARM
address space.  We rely on a potential overlap of address space
windows to allow us to use the same bus_space_tag for PCI Memory
and IO spaces.

The PCI attachment of the onboard re(4) uses PCI IO space in
preference to PCI Memory space for register accessses.  As IO space
was impossible to use, we had to avoid IO space.  This is now no
longer the case, so set up and enable IO space for PCI devices.

Also, map ROM BARs.

(jakllsch)

2015-11-14 03:25:53 UTC MAIN commitmail json YAML

Fix obvious typo - even though it is inside a #ifdef notyet ... #endif

(pgoyette)

2015-11-14 02:10:10 UTC MAIN commitmail json YAML

Correct TEGRA_PCIE_A[123] window definitions.  Replace existing
usages thereof (and related bus space handles, etc.) with more
appropriate names.

(jakllsch)

2015-11-14 02:00:42 UTC MAIN commitmail json YAML

Increment TEGRA_PCIE_SIZE

It's a size, not a last-valid-offset.

(jakllsch)

2015-11-14 01:38:58 UTC MAIN commitmail json YAML

add more AFI BAR register offsets

(jakllsch)

2015-11-14 01:31:08 UTC MAIN commitmail json YAML

We don't need to use any particular value, but use the actual interrupt
number for the PCI_INTERRUPT_LINE.

(jakllsch)

2015-11-13 20:31:28 UTC MAIN commitmail json YAML

PR/50426: Dave Tyson: Fix ntp reported version.

(christos)

2015-11-13 19:13:50 UTC MAIN commitmail json YAML

redo previous, not needed.

(christos)

2015-11-13 18:58:17 UTC MAIN commitmail json YAML

Limit configuration space access to the non-emulated busses to legacy
PCI_CONF_SIZE.  Extended configuration access is possible, we just have
to implement it without wasting up to 256MiB of KVA.

(jakllsch)

2015-11-13 18:52:16 UTC MAIN commitmail json YAML

validate emulated bus 0 configuration space access more carefully

(jakllsch)

2015-11-13 18:23:17 UTC MAIN commitmail json YAML

drop white space on empty line

(jakllsch)

2015-11-13 16:04:58 UTC MAIN commitmail json YAML

Handle 0b locally since anyway this is not portable.

(christos)

2015-11-13 16:04:07 UTC MAIN commitmail json YAML

Make sure the graphics device which has the console gets wsdisplay0,
otherwise neither virtual terminals nor Xorg's wsfb driver will work.

(phx)

2015-11-13 16:02:08 UTC MAIN commitmail json YAML

2015-11-13 16:00:32 UTC MAIN commitmail json YAML

2015-11-13 15:23:17 UTC MAIN commitmail json YAML

Generalize the test, compare on the protocol semantics instead of the name
since it could be udp6...

(christos)

2015-11-13 15:22:12 UTC MAIN commitmail json YAML

Do proper accounting for the extra -1 slot. Perhaps this is too confusing
and it would be better to just access the array with [fd + 1] instead?

(christos)

2015-11-13 13:36:54 UTC MAIN commitmail json YAML

Fix bug in readdir loop condition.

Reading all dirents using a small buffer and multiple calls now works.

Bug found by "Shamar" on #rumpkernel

(pooka)

2015-11-13 11:43:26 UTC MAIN commitmail json YAML

Remove now unnecessary cast.

(tron)

2015-11-13 11:23:08 UTC MAIN commitmail json YAML

Don't try to use listen(2) on a UDP socket which will always fail.
Previously this was not a problem because the return value of listen(2)
was ignored. With this fix amd(8) no longer fails to start with the
error message "cannot create rpc/udp service".

TL;DR: Make amd(8) work again

(tron)

2015-11-13 10:43:32 UTC MAIN commitmail json YAML

Avoid broken state if realloc(3) fails.

(tron)

2015-11-13 09:56:27 UTC MAIN commitmail json YAML

Family is singular, so use singular form of verb.

(wiz)

2015-11-13 09:51:16 UTC MAIN commitmail json YAML

Bump date for previous, remove empty line.

(wiz)

2015-11-13 09:50:31 UTC MAIN commitmail json YAML

2015-11-13 08:04:21 UTC MAIN commitmail json YAML

Tweak the KASSERTs in pmap_update in the ARM_MMU_EXTENDED case - Lazy
updating is not done on the kernel pmap.

PR port-arm/50420: curcpu()->ci_pmap_cur != pm || pm->pm_pai[0].pai_asid == curcpu()->ci_pmap_asid_cur" failed

(skrll)

2015-11-13 07:55:18 UTC MAIN commitmail json YAML

2015-11-13 03:56:44 UTC MAIN commitmail json YAML

Fix register offset to print HyperTransport registers correctly.

(msaitoh)

2015-11-13 01:37:19 UTC MAIN commitmail json YAML

remove extra semicolons.

(christos)

2015-11-12 23:11:22 UTC MAIN commitmail json YAML

2015-11-12 22:10:48 UTC MAIN commitmail json YAML

Declare variables under the same conditions as their use.

(riz)

2015-11-12 21:22:18 UTC MAIN commitmail json YAML

update version numbers too

(agc)

2015-11-12 21:01:29 UTC MAIN commitmail json YAML

Update sid to version 20151014

+ move to one output format, just punctuate the "human" output with
newline characters.  Note that jq can parse the "human" output just
fine.

+ escape the pattern to ignore when printing (this produces valid
JSON should it be wanted)

+ add ftype to the RegFile definition in the example config file

+ remove the runtime timestamp from the JSON output

(agc)

2015-11-12 20:14:55 UTC MAIN commitmail json YAML

put back the old ones until the rest is generated

(christos)

2015-11-12 18:28:34 UTC MAIN commitmail json YAML

Regen; it's been a *long* while.

(christos)

2015-11-12 17:59:21 UTC MAIN commitmail json YAML

PR/50422: Robert Elz: df -G prints the wrong value for fragsize (+FIX)
For df -G, print the block and fragment size instead of the iosize
and the blocksize. If we need to print the iosize, it should be done
in a different field. Nevertheless printing the blocksize in the fragment
size field is just wrong.
XXX: pullup-6, pullup-7

(christos)

2015-11-12 17:51:05 UTC MAIN commitmail json YAML

2015-11-12 17:45:12 UTC MAIN commitmail json YAML

Add sandpoint ddb-entry method.

(phx)

2015-11-12 17:34:01 UTC MAIN commitmail json YAML

Recognize binary constants

(christos)

2015-11-12 17:31:43 UTC MAIN commitmail json YAML

2015-11-12 17:30:03 UTC MAIN commitmail json YAML

2015-11-12 17:23:51 UTC MAIN commitmail json YAML

2015-11-12 16:51:18 UTC MAIN commitmail json YAML

Add usage function, various cosmetics; no functional change.

(christos)

2015-11-12 15:28:07 UTC MAIN commitmail json YAML

Use the new DK_DEV_BSIZE_OK() macro.

(christos)

2015-11-12 15:25:22 UTC MAIN commitmail json YAML

Add DK_DEV_BSIZE_OK()

(christos)

2015-11-12 15:13:03 UTC MAIN commitmail json YAML

Amiga Xorg support.

(phx)

2015-11-12 15:01:06 UTC MAIN commitmail json YAML

Ensure that the callout of the multicast address is valid before
hooking it up.

(joerg)

2015-11-12 14:38:21 UTC MAIN commitmail json YAML

In ioconfname mode, #define IOCONF as the ioconf token.

Avoids having to retype the name to call config_init/fini_component().

(pooka)

2015-11-12 12:19:50 UTC MAIN commitmail json YAML

Use the MD_BTOP() macro as replacement for m68k_btop() in all device
drivers which are shared with amigappc.

(phx)

2015-11-12 12:17:59 UTC MAIN commitmail json YAML

- Restore pci_subr.c rev. 1.135's change in pci_conf_print_caplist().
  As wrote in the comment, HyperTransport capability appears multiple times.
  pci_conf_cap() reruns only the first entry, so it can't be used here.
- Try to decode HyperTransport capability. Currently, the capability type
  of each HyperTransport capability is printed and only the MSI Mapping
  capability is decoded.
- Style change.

(msaitoh)

2015-11-12 12:08:13 UTC MAIN commitmail json YAML

PCI_HT_CAP() is right shifted value, so PCI_HT_CAP_* should not use
__SHIFTIN(). This change fixes a bug that HyperTransport system misunderstand
whether MSI/MSI-X can be used or not.

(msaitoh)

2015-11-12 12:03:58 UTC MAIN commitmail json YAML

2015-11-12 12:01:53 UTC MAIN commitmail json YAML

Xorg for amiga via wsfb. Currently available on CV64 and CV64/3D. More
graphics cards will follow, when adding wscons support to them.

I didn't manage to make the "wskbd" protocol the default in the X server,
so you have to provide a small xorg.conf with Option "Protocol" "wskbd".
The standard protocol will not work as the Amiga wskbd cannot be switched
into raw mode and has no AT-scancode translation in the kernel.

On the positive side, wskbd also works with national keymaps under X.

The graphics modes can still be defined via grfconfig(8). Xorg's wsfb
driver uses the current grf video mode, which is usually mode #1.
All resolutions and depths seem to work (tested on CV64).

(phx)

2015-11-12 11:35:42 UTC MAIN commitmail json YAML

Take the vnode lock before the vnode is marked VI_CHANGING and fed
to vclean().  Prevents a deadlock with two null mounts on the same
physical mount where one thread tries to vclean() a layer node and
another thread tries to vget() a layer node pointing to the same
physical node.

Fixes PR kern/50375 layerfs (nullfs) locking problem leading to livelock

(hannken)

2015-11-12 10:49:35 UTC MAIN commitmail json YAML

change some register dumps from aprint_verbose to aprint_debug

(jmcneill)

2015-11-12 10:48:30 UTC MAIN commitmail json YAML

enable NFSSERVER (mostly to silence module warning)

(jmcneill)

2015-11-12 10:47:30 UTC MAIN commitmail json YAML

Drop to spl0 after the pmap_activate call.  Should address

PR port-arm/50420: curcpu()->ci_pmap_cur != pm || pm->pm_pai[0].pai_asid == curcpu()->ci_pmap_asid_cur" failed

Discussed with matt@ and rmind@

(skrll)

2015-11-12 10:31:29 UTC MAIN commitmail json YAML

Standard mode for I2C needs a source divider of 20, not 2.

(jmcneill)

2015-11-12 05:05:25 UTC MAIN commitmail json YAML

2015-11-12 05:01:28 UTC MAIN commitmail json YAML

Fix up the header

Remove unnecessary shebang and add missing keyword expansion,
copyright and license.

(ozaki-r)

2015-11-12 02:06:36 UTC MAIN commitmail json YAML

fix incorrect memset.

(christos)

2015-11-12 00:43:52 UTC MAIN commitmail json YAML

Use GEM for memory management. Fixes a couple issues while here:
- No longer needs to allocate 35MB (!) for framebuffer console.
- Allows xrandr to switch to modes larger than the framebuffer console.
- Removes hack that redirected mmap calls to wsdisplay0

(jmcneill)

2015-11-11 21:52:47 UTC MAIN commitmail json YAML

2015-11-11 17:54:17 UTC MAIN commitmail json YAML

2015-11-11 16:41:52 UTC MAIN commitmail json YAML

not used by tegradrm

(jmcneill)

2015-11-11 16:20:43 UTC MAIN commitmail json YAML

Add tty2 tty3 devices to evbarm MAKEDEV; JETSONTK1 has console on com3.

(jakllsch)

2015-11-11 16:13:55 UTC MAIN commitmail json YAML

Update loadbsd to 2.17, which can load ELF kernels.
Remove obsolete loadbsd binaries from installation/misc as they
have become useless (and can only load a.out kernels).

(phx)

2015-11-11 16:08:52 UTC MAIN commitmail json YAML

Build instructions and Makefile for loadbsd 3.0.
Submitted by Gunther Nikl.

(phx)

2015-11-11 14:50:08 UTC MAIN commitmail json YAML

2015-11-11 14:04:12 UTC MAIN commitmail json YAML

enable cd(4) in JETSONTK1

(jakllsch)

2015-11-11 12:49:10 UTC MAIN commitmail json YAML

make VDD_CPU programming a bit easier to understand, and while here, actually program it to 1.4V as intended instead of 1.39V

(jmcneill)

2015-11-11 12:37:52 UTC MAIN commitmail json YAML

support RB_POWERDOWN using the AMS AS3722 PMIC when available

(jmcneill)

2015-11-11 12:37:14 UTC MAIN commitmail json YAML

2015-11-11 12:35:41 UTC MAIN commitmail json YAML

2015-11-11 12:35:22 UTC MAIN commitmail json YAML

Add basic driver for AMS AS3722 power management IC

(jmcneill)

2015-11-11 12:28:15 UTC MAIN commitmail json YAML

only send repeat start if we are doing write-then-read

(jmcneill)

2015-11-11 11:32:01 UTC MAIN commitmail json YAML

fix i2c periph clock, send repeat start for write-then-read xfers

(jmcneill)

2015-11-11 08:51:33 UTC MAIN commitmail json YAML

Fix XEN build - does XEN really want/need pmap_pv_track?

(skrll)

2015-11-11 08:22:36 UTC MAIN commitmail json YAML

Remove #if 0 / #endif includes

(skrll)

2015-11-11 08:20:22 UTC MAIN commitmail json YAML

2015-11-11 07:52:57 UTC MAIN commitmail json YAML

Add tests for RA

From s-yamaguchi@IIJ (with some tweaks by me)

(ozaki-r)

2015-11-11 07:49:59 UTC MAIN commitmail json YAML

Introduce rump.rtadvd

It is used to write ATF tests for RA.

From s-yamaguchi@IIJ.

(ozaki-r)

2015-11-11 07:48:41 UTC MAIN commitmail json YAML

2015-11-11 06:53:36 UTC MAIN commitmail json YAML

add an entry for netbsd-7-0

(snj)

2015-11-11 03:57:57 UTC MAIN commitmail json YAML

2015-11-11 03:14:34 UTC MAIN commitmail json YAML

Note that the netbsd-5{,-1,-2} branches have been terminated.

Goodbye, dear friends.

(snj)

2015-11-11 02:57:17 UTC MAIN commitmail json YAML

fix panic after "ifconfig gifX tunnel src dst" failed for the reason of address pair duplication.

e.g.
    ====================
    # ifconfig gif0 create
    # ifconfig gif0 tunnel 192.168.0.1 192.168.0.2
    # ifconfig gif0 inet 172.16.0.1/24 172.16.0.2
    # route add 10.1.0.0/24 172.16.0.1

    # ifconfig gif1 create
    # ifconfig gif1 tunnel 192.168.0.1 192.168.0.3

    # ifconfig gif0 tunnel 192.168.0.1 192.168.0.3
    ifconfig: SIOCSLIFPHYADDR: Can't assign requested address # expected
    # ping 10.1.0.1
    (panic)
    ====================

(knakahara)

2015-11-11 02:43:09 UTC MAIN commitmail json YAML

Only sync and unload dma map in ahci_atapi_complete() if appropriate.

Fixes ahcisata atapi cd(4) on arm (specifically, JETSONTK1), which insists
that a zero-length dmamap can not be synced.

(jakllsch)

2015-11-11 00:58:21 UTC MAIN commitmail json YAML

Fix typo that prevented CONADDR from being defined for XU4

(marty)

2015-11-10 23:57:00 UTC MAIN commitmail json YAML

use NetBSD-inv.xpm for CTWM_WELCOME_FILE

(jmcneill)

2015-11-10 23:56:43 UTC MAIN commitmail json YAML

if CTWM_WELCOME_FILE is defined, try that before falling back to welcome.xwd and .xpm

(jmcneill)

2015-11-10 23:47:08 UTC MAIN commitmail json YAML

small cleanup of odroid_start.S

removed attempt to 'rescue bootargs' that was causing a hang and isn't needed
anyway.

changed calls to XPUTC to use text constants rather than ascii decimal
equivalents.

adopted some of the techniques used in awin_start.s for reducing code and
improving performance.

polluted the namespace with _XPUTC so that xputc can be used from C code
before early console is enabled.  (Due to tracking a bug in early console
initialization.)

replaced a hardwired constant with the proper mannifest in the definition
of TEMP_L1_TABLE

This still needs MP support added but it should continue to work for XU3
while starting to work for XU4

(marty)

2015-11-10 23:09:13 UTC MAIN commitmail json YAML

fix default pixmap search directory

(jmcneill)

2015-11-10 22:14:05 UTC MAIN commitmail json YAML

2015-11-10 20:56:20 UTC MAIN commitmail json YAML

2015-11-10 18:39:40 UTC MAIN commitmail json YAML

Apply patch by Jouni Malinen. We don't have CONFIG_EAP_PWD enabled so we are
not affected:

EAP-pwd peer error path failure on unexpected Confirm message

Published: November 10, 2015
Identifier: CVE-2015-5316
Latest version available from: http://w1.fi/security/2015-8/

Vulnerability

A vulnerability was found in EAP-pwd peer implementation used in
wpa_supplicant. If an EAP-pwd Confirm message is received unexpectedly
before the Identity exchange, the error path processing ended up
dereferencing a NULL pointer and terminating the process.

For wpa_supplicant with EAP-pwd enabled in a network configuration
profile, this could allow a denial of service attack by an attacker
within radio range.

Vulnerable versions/configurations

wpa_supplicant v2.3-v2.5 with CONFIG_EAP_PWD=y in the build
configuration (wpa_supplicant/.config) and EAP-pwd enabled in a network
profile at runtime.

Possible mitigation steps

- Merge the following commits and rebuild wpa_supplicant:

  EAP-pwd peer: Fix error path for unexpected Confirm message

  This patch is available from http://w1.fi/security/2015-8/

- Update to wpa_supplicant v2.6 or newer, once available

- Remove CONFIG_EAP_PWD=y from build configuration

- Disable EAP-pwd in runtime configuration

(christos)

2015-11-10 18:22:46 UTC MAIN commitmail json YAML

correct mistake in previous

(christos)

2015-11-10 18:13:01 UTC MAIN commitmail json YAML

CID 1338516: Handle svc_run() returning.

(christos)

2015-11-10 18:11:05 UTC MAIN commitmail json YAML

CID 1338520: Check NULL
CID 1338521: Fix error (realloc returns different pointer)

(christos)

2015-11-10 18:08:05 UTC MAIN commitmail json YAML

CID 1338517: Check negative returns

(christos)

2015-11-10 18:06:53 UTC MAIN commitmail json YAML

CID 1338515: Make it clear that the pfd variable can't be NULL

(christos)

2015-11-10 18:04:52 UTC MAIN commitmail json YAML

CID 1338514: Check NULL returns

(christos)

2015-11-10 18:01:16 UTC MAIN commitmail json YAML

CID 1338513: Check listen(2) return

(christos)

2015-11-10 17:59:37 UTC MAIN commitmail json YAML

CID 980463: Provide common error path for rollback. Remove extra check for
success.

(christos)

2015-11-10 13:41:49 UTC nick-nhusb commitmail json YAML

Allow sleeping in usb_block_allocmem - we're nearly there in the HCDs

(skrll)

2015-11-10 13:01:41 UTC MAIN commitmail json YAML

Add "pseudo-device iscsi" to ALL and as a commented out hint in XEN3_*

(tnn)

2015-11-10 12:41:18 UTC MAIN commitmail json YAML

fix iSCSI RFC number

(tnn)

2015-11-10 08:44:10 UTC nick-nhusb commitmail json YAML

Restructure the xfer methods so that (close to) minimal work in done in softint
context.  Now all memory allocation is done in thread context.

Addresses kern/48308 for uhci(4), fixes a bunch of locking bugs around the
*TD free lists, and plugs some memory leaks on error conditions.

(skrll)

2015-11-10 00:33:46 UTC MAIN commitmail json YAML

support disabling the HDMI output

(jmcneill)

2015-11-10 00:33:39 UTC MAIN commitmail json YAML

support disabling the HDMI output

(jmcneill)

2015-11-10 00:04:04 UTC MAIN commitmail json YAML

allow either crtc to be used with hdmi encoder

(jmcneill)

2015-11-09 23:11:18 UTC MAIN commitmail json YAML

If the "is_console" property is already specified, do not overwrite it.

(jmcneill)

2015-11-09 23:05:58 UTC MAIN commitmail json YAML

Port the Tegra (2D) display drivers to the DRM framework.

tegradrm0 at tegraio0
tegrafb0 at tegradrm0
tegrafb0: framebuffer at 0x9b000000, size 1280x720, depth 32, stride 5120
wsdisplay0 at tegrafb0 kbdmux 1
wsmux1: connecting to wsdisplay0
wsdisplay0: screen 0-3 added (default, vt100 emulation)
tegradrm0: info: registered panic notifier
tegradrm0: initialized tegra 0.1.0 20151108 on minor 0

Same features as before (fb console, X wsfb driver works) with the addition
of being able to use xf86-video-modesetting and xrandr to switch video
modes at runtime.

(jmcneill)

2015-11-09 22:50:18 UTC netbsd-5-2 commitmail json YAML

2015-11-09 22:49:50 UTC netbsd-5-1 commitmail json YAML

2015-11-09 22:04:53 UTC MAIN commitmail json YAML

only clear agp hook on last close when agp is in use, from riastradh@

(jmcneill)

2015-11-09 20:26:15 UTC MAIN commitmail json YAML

Use PRIx64 and %# requested by phone@

(christos)

2015-11-09 17:52:59 UTC MAIN commitmail json YAML

explain why the int cast works (suggested by kre)

(christos)

2015-11-09 17:41:24 UTC MAIN commitmail json YAML

Return ENXIO if the get ioctl exceeds the number of configured devices.
XXX: pullup-7

(christos)

2015-11-09 17:39:20 UTC MAIN commitmail json YAML

Since now the kernel returns ENXIO again for devices exceeding the
number of devices configured in the kernel, use that instead of
scanning /dev.
XXX: pullup to 7 together with the kernel change.

(christos)

2015-11-09 16:54:27 UTC MAIN commitmail json YAML

disable debugging

(christos)

2015-11-09 16:52:09 UTC MAIN commitmail json YAML

Simplify ioctl handling a little.

(christos)

2015-11-09 15:12:12 UTC MAIN commitmail json YAML

2015-11-09 12:38:41 UTC netbsd-5 commitmail json YAML

2015-11-09 12:35:32 UTC netbsd-5 commitmail json YAML

Pull up the following revisions(s) (requested by msaitoh in ticket #1983):
sys/dev/pci/pcidevs: revisions 1.1079, 1.1134, 1.1148-1.1149, 1.1151
sys/dev/pci/pcidevs.h: regen
sys/dev/pci/pcidevs_data.h: regen
sys/dev/pci/if_bge.c: revisions 1.183-1.185, 1.187, 1.189-1.193, 1.195-1.199, 1.202-1.226, 1.228-1.237, 1.240-1.264, 1.267-1.276, 1.278-1.280, 1.283-1.287 via patch
sys/dev/pci/if_bgereg.h: revisions 1.57-1.74, 1.76-1.90 via patch
sys/dev/pci/if_bgevar.h: revisions 1.6, 1.10-1.13, 1.15-1.17 via patch
sys/dev/pci/if_bnx.c: revisions 1.32, 1.34-1.43, 1.48-1.49, 1.52
sys/dev/pci/if_bnxreg.h: revisions 1.8, 1.11-1.14
sys/dev/pci/if_bnxvar.h: revisions 1.1-1.3
sys/dev/mii/brgphy.c: revisions 1.53-1.63, 1.65-69, 1.72-1.74 via patch
sys/dev/mii/brgphyreg.h: revisions 1.5-1.8
sys/dev/mii/miivar.h: revisions 1.61
sys/dev/pci/pcireg.h: patch

Sync bge(4) up to if_bge.c rev. 1.287. Sync brgphy(4) up to 1.74.
Fix some bugs on bnx(4).

Common:
- Add device IDs for Broadcom BCM57710, BCM57711(E), BCM57712(E) and
  BCM57766 (pcidevs only).
- Fix BCM5709 PHY detection.
- Fix detection of BGEPHYF_FIBER_{MII|TBI}
- Add BCM5708S support in brgphy(4).
- Don't use the WIRESPEED function for fiber devices.
bge(4):
- Add some Fujitsu's device support from Michael Moll.
- Add BCM57762 support (PR#46961 from Ryo Onodera).
- Add Altima AC1003, APPLE BCM5701, Broadcom BCM5785F. BCM5785G,
  BCM5787F, BCM5719, BCM5720, BCM57766, BCM57782 and BCM57786.
- Fix DMA setting for read/write on conventional PCI bus devices.
  This bug was added in rev. 1.166.
- Fix printing "discarding oversize frame (len=-4)" message and
  crash by NULL pointer dereferencing.
- The BCM5785 is a PCIe chip but does not report PCIe capabilities.
  Check for this chip explicitely and enable PCIe. Fixes
  'firmware handshake timeout'.
- Allow disabling interrupt mitigation.
- Workaround for BCM5906 silicon bug. When auto-negotiation results
  in half-duplex operation, excess collision on the ethernet link may
  cause internal chip delays that may result in subsequent valid
  frames being dropped due to insufficient receive buffer resources.
  (FreeBSD: r214219, r214251, r214292).
- Allow write DMA to request larger DMA burst size to get better
  performance on BCM5785. (FreeBSD r213333: OpenBSD 1.294)
- Enable TX MAC state machine lockup fix for both BCM5755 or higher
  and BCM5906. Publicly available data sheet just says it may happen
  due to corrupted TxMbuf. (FreeBSD r214216)
- Follow Broadcom datasheet:
  Delay 100 microseconds after enabling transmit MAC.
  Delay 10 microseconds after enabling receive MAC. (FreeBSD
  r241220)
- Insert the completion barrier between register write and the
  consecutive delay(). It will fix some device timeout problems we have
  seen before.
- Add DELAY(40) after turning on write DMA state machine.
- Add some workarounds for 5717 A0 and 5776[56] to be stable.
- Check BGE_RXBDFLAG_IPV6 flag for 5717_PLUS case. Note that
  {tcp,udp}6csum flag is currently not added in the capability.
- Add delay after clearing BGE_MACMODE_TBI_SEND_CFGS for the link
  checking.
- Do not touch the jumbo replenish threshold register on chips that do
  not have jumbo support.
- Wait for the bootcode to complete initialization for 5717 and newer
  devices.
- 5718 and 57785 document say we should wait 100us in init.
- Fix a bug that chips which have BCM5906 ASIC touch GPIO wrongly.
- Fix the setting of Tx Random Backoff Register.
- Check the hardware config words and print them.
- Set BGE_MISC_CTL's byte/word swap options before using
  bge_readmem_ind(). Fixes PR#47716.
- For BGE_IS_575X_PLUS() devices, don't set
  BGE_RXLPSTATCONTROL_DACK_FIX bits because these bits are reserved.
- Document says 5717 and newer chips have no
  BGE_PCISTATE_INTR_NOT_ACTIVE bit, so don't use the bit on those
  chips. Same as OpenBSD.
- Fix a bug that the PHY address bits in MI_MODE register is wrongly
  cleard. Set the PHY address correctly.
- Use BGE_SETBIT() instead of CSR_WRITE_4() for the BGE_MISC_LOCAL_CTL
  register to not to modify some GPIO bits.
- Set DMA watermark depend on the PCI max payload size.
- Set BGE_JUMBO_CAPABLE correctly.
- Fix a link detect bug on non-autopoll systems.
- Change the TX ring size for 5717 series and 57764 series.
- Set maximum read byte count to 2048 for PCI-X BCM5703/5704 devices.
- For PCI-X BCM5704, set maximum outstanding split transactions to 0.
- Add 40bit DMA bug workaround(BGEF_40BIT_BUG) from FreeBSD.
  This workaround is for 5714/5715 controllers and is not actually a
  MAC controller bug but an issue with the embedded PCIe to PCI-X
  bridge in the device. This change uses bus_dmatag_subregion(),
  so this workaround won't work on some archs which doesn't support
  bus_dmatag_subregion().
- Add 2500SX support (not tested).
- Don't use the PHY Auto Poll Mode on many chips. This fixes a bug
  that MII Fiber NIC drop packet about 50%. Tested on HP Moonshot.
- Add workaround for PR#48451. Some BCM5717-5720 based systems getNMI
  on boot. This problem doesn't occur when we don't use prefetchable
  memory in the APE area. Tested with HP MicroServer Gen8.
- In the BCM5703, the DMA read watermark should be set to less than
  or equal to the maximum memory read byte count of the PCI-X command
  register.
- Fix a bug that BGE_PHY_TEST_CTRL_REG isn't set correctly on some
  PCIe devices.
- Use another firmware command in bge_asf_driver_up(). Same as Linux.
  This change fixes a bug that watchdog timeout occurs every 25-30
  minutes on HP ML110 G6 reported enami@ in PR#49657.
- Fix mbuf leak on failure.
- Remove PCI_PRODUCT_BROADCOM_BCM5724 and
  PCI_PRODUCT_BROADCOM_BCM5750M. These devices have not released to
  public.
- Add some workaround code for BGE_ASICREV_BCM5784 from Linux.
- Change some printf() to aprint_*().
- Fix typo in comments.
- Cleanup.
brgphy(4):
- Fix bit definition of BRGPHY_MRBE_MSG_PG5_NP_T2 from FreeBSD.
- Add BCM5481, BCM5709S, BCM5756, BCM5717C, BCM5720C, BCM5785,
  BCM57765(PR#46961), BCM57780
- In brgphyattach(), set sc_isbge, sc_isbnx and sc_phyflags before
  PHY_RESET() because brgphy_reset() refers those flags.
- Call brgpy specific autonego function in MII_TICK. Before this
  commit, only MII_MEDIACHG calls brgphy_mii_phy_auto() and MII_TICK
  calls MI mii_phy_auto(). That was not intended.
- Remove extra delay in brgphy_mii_phy_auto. Same as {Free,Open}BSD.
bnx(4):
- Add missing ifmedia_delete_instance() in bnx_detach().
- Fix a bug that BNX_NO_WOL_FLAG isn't correctly set on some chips.
  Reported by From Henning Petersen in PR#44151.
- Fix SERDES initialization.
- Get out of the interrupt handler early if !IFF_RUNNING.

(sborrill)

2015-11-09 12:33:51 UTC netbsd-5 commitmail json YAML

2015-11-09 12:33:02 UTC netbsd-5 commitmail json YAML

Pull up the following revisions(s) (requested by msaitoh in ticket #1983):
sys/dev/pci/pcidevs: revisions 1.1079, 1.1134, 1.1148-1.1149, 1.1151
sys/dev/pci/pcidevs.h: regen
sys/dev/pci/pcidevs_data.h: regen
sys/dev/pci/if_bge.c: revisions 1.183-1.185, 1.187, 1.189-1.193, 1.195-1.199, 1.202-1.226, 1.228-1.237, 1.240-1.264, 1.267-1.276, 1.278-1.280, 1.283-1.287 via patch
sys/dev/pci/if_bgereg.h: revisions 1.57-1.74, 1.76-1.90 via patch
sys/dev/pci/if_bgevar.h: revisions 1.6, 1.10-1.13, 1.15-1.17 via patch
sys/dev/pci/if_bnx.c: revisions 1.32, 1.34-1.43, 1.48-1.49, 1.52
sys/dev/pci/if_bnxreg.h: revisions 1.8, 1.11-1.14
sys/dev/pci/if_bnxvar.h: revisions 1.1-1.3
sys/dev/mii/brgphy.c: revisions 1.53-1.63, 1.65-69, 1.72-1.74 via patch
sys/dev/mii/brgphyreg.h: revisions 1.5-1.8
sys/dev/mii/miivar.h: revisions 1.61
sys/dev/pci/pcireg.h: patch

Sync bge(4) up to if_bge.c rev. 1.287. Sync brgphy(4) up to 1.74.
Fix some bugs on bnx(4).

Common:
- Add device IDs for Broadcom BCM57710, BCM57711(E), BCM57712(E) and
  BCM57766 (pcidevs only).
- Fix BCM5709 PHY detection.
- Fix detection of BGEPHYF_FIBER_{MII|TBI}
- Add BCM5708S support in brgphy(4).
- Don't use the WIRESPEED function for fiber devices.
bge(4):
- Add some Fujitsu's device support from Michael Moll.
- Add BCM57762 support (PR#46961 from Ryo Onodera).
- Add Altima AC1003, APPLE BCM5701, Broadcom BCM5785F. BCM5785G,
  BCM5787F, BCM5719, BCM5720, BCM57766, BCM57782 and BCM57786.
- Fix DMA setting for read/write on conventional PCI bus devices.
  This bug was added in rev. 1.166.
- Fix printing "discarding oversize frame (len=-4)" message and
  crash by NULL pointer dereferencing.
- The BCM5785 is a PCIe chip but does not report PCIe capabilities.
  Check for this chip explicitely and enable PCIe. Fixes
  'firmware handshake timeout'.
- Allow disabling interrupt mitigation.
- Workaround for BCM5906 silicon bug. When auto-negotiation results
  in half-duplex operation, excess collision on the ethernet link may
  cause internal chip delays that may result in subsequent valid
  frames being dropped due to insufficient receive buffer resources.
  (FreeBSD: r214219, r214251, r214292).
- Allow write DMA to request larger DMA burst size to get better
  performance on BCM5785. (FreeBSD r213333: OpenBSD 1.294)
- Enable TX MAC state machine lockup fix for both BCM5755 or higher
  and BCM5906. Publicly available data sheet just says it may happen
  due to corrupted TxMbuf. (FreeBSD r214216)
- Follow Broadcom datasheet:
  Delay 100 microseconds after enabling transmit MAC.
  Delay 10 microseconds after enabling receive MAC. (FreeBSD
  r241220)
- Insert the completion barrier between register write and the
  consecutive delay(). It will fix some device timeout problems we have
  seen before.
- Add DELAY(40) after turning on write DMA state machine.
- Add some workarounds for 5717 A0 and 5776[56] to be stable.
- Check BGE_RXBDFLAG_IPV6 flag for 5717_PLUS case. Note that
  {tcp,udp}6csum flag is currently not added in the capability.
- Add delay after clearing BGE_MACMODE_TBI_SEND_CFGS for the link
  checking.
- Do not touch the jumbo replenish threshold register on chips that do
  not have jumbo support.
- Wait for the bootcode to complete initialization for 5717 and newer
  devices.
- 5718 and 57785 document say we should wait 100us in init.
- Fix a bug that chips which have BCM5906 ASIC touch GPIO wrongly.
- Fix the setting of Tx Random Backoff Register.
- Check the hardware config words and print them.
- Set BGE_MISC_CTL's byte/word swap options before using
  bge_readmem_ind(). Fixes PR#47716.
- For BGE_IS_575X_PLUS() devices, don't set
  BGE_RXLPSTATCONTROL_DACK_FIX bits because these bits are reserved.
- Document says 5717 and newer chips have no
  BGE_PCISTATE_INTR_NOT_ACTIVE bit, so don't use the bit on those
  chips. Same as OpenBSD.
- Fix a bug that the PHY address bits in MI_MODE register is wrongly
  cleard. Set the PHY address correctly.
- Use BGE_SETBIT() instead of CSR_WRITE_4() for the BGE_MISC_LOCAL_CTL
  register to not to modify some GPIO bits.
- Set DMA watermark depend on the PCI max payload size.
- Set BGE_JUMBO_CAPABLE correctly.
- Fix a link detect bug on non-autopoll systems.
- Change the TX ring size for 5717 series and 57764 series.
- Set maximum read byte count to 2048 for PCI-X BCM5703/5704 devices.
- For PCI-X BCM5704, set maximum outstanding split transactions to 0.
- Add 40bit DMA bug workaround(BGEF_40BIT_BUG) from FreeBSD.
  This workaround is for 5714/5715 controllers and is not actually a
  MAC controller bug but an issue with the embedded PCIe to PCI-X
  bridge in the device. This change uses bus_dmatag_subregion(),
  so this workaround won't work on some archs which doesn't support
  bus_dmatag_subregion().
- Add 2500SX support (not tested).
- Don't use the PHY Auto Poll Mode on many chips. This fixes a bug
  that MII Fiber NIC drop packet about 50%. Tested on HP Moonshot.
- Add workaround for PR#48451. Some BCM5717-5720 based systems getNMI
  on boot. This problem doesn't occur when we don't use prefetchable
  memory in the APE area. Tested with HP MicroServer Gen8.
- In the BCM5703, the DMA read watermark should be set to less than
  or equal to the maximum memory read byte count of the PCI-X command
  register.
- Fix a bug that BGE_PHY_TEST_CTRL_REG isn't set correctly on some
  PCIe devices.
- Use another firmware command in bge_asf_driver_up(). Same as Linux.
  This change fixes a bug that watchdog timeout occurs every 25-30
  minutes on HP ML110 G6 reported enami@ in PR#49657.
- Fix mbuf leak on failure.
- Remove PCI_PRODUCT_BROADCOM_BCM5724 and
  PCI_PRODUCT_BROADCOM_BCM5750M. These devices have not released to
  public.
- Add some workaround code for BGE_ASICREV_BCM5784 from Linux.
- Change some printf() to aprint_*().
- Fix typo in comments.
- Cleanup.
brgphy(4):
- Fix bit definition of BRGPHY_MRBE_MSG_PG5_NP_T2 from FreeBSD.
- Add BCM5481, BCM5709S, BCM5756, BCM5717C, BCM5720C, BCM5785,
  BCM57765(PR#46961), BCM57780
- In brgphyattach(), set sc_isbge, sc_isbnx and sc_phyflags before
  PHY_RESET() because brgphy_reset() refers those flags.
- Call brgpy specific autonego function in MII_TICK. Before this
  commit, only MII_MEDIACHG calls brgphy_mii_phy_auto() and MII_TICK
  calls MI mii_phy_auto(). That was not intended.
- Remove extra delay in brgphy_mii_phy_auto. Same as {Free,Open}BSD.
bnx(4):
- Add missing ifmedia_delete_instance() in bnx_detach().
- Fix a bug that BNX_NO_WOL_FLAG isn't correctly set on some chips.
  Reported by From Henning Petersen in PR#44151.
- Fix SERDES initialization.
- Get out of the interrupt handler early if !IFF_RUNNING.

(sborrill)

2015-11-09 11:57:00 UTC MAIN commitmail json YAML

2015-11-09 10:36:46 UTC netbsd-5 commitmail json YAML

2015-11-09 10:31:26 UTC netbsd-5 commitmail json YAML

2015-11-09 10:31:06 UTC netbsd-5 commitmail json YAML

Pull up the following revisions(s) (requested by msaitoh in ticket #1982):
sys/dev/mii/miidevs: revisions 1.79-1.80, 1.84, 1.86-1.88,
    1.91-1.92, 1.94-1.96, 1.98-1.99, 1.101-1.112 via patch

Sync miidevs up to rev. 1.112:
- Add Agere ET1101 (PR#39094)
- Add some CICADA PHYs.
- AddMarvell 88E1000[S], 88E1116R, 88E1118, 88E1145, 88E1149[R],
- 88E1543, 88E3016, PHYG65G
- Add NS DP83849(PR#41256), DP83865.
- Add Broadcom BCM5325, BCM5365, BCM548[12], BCM5706, BCM570[89]S,
- BCM571[79]C, BCM5720C, BCM5756, BCM5785, BCM57765, BCM57780
- Add Atheros AR8021, AR8035
- Add RDC Semiconductor R6040 10/100 integrated PHY
- Add Vitesse VSC8221
- Add SMSC LAN 87[012]0
- Add Intel I21[07].
- Add IC Plus IP100, IP1000A and IP1001
- Add Micrel KSZ9021RN
- Add Relatek RTL8251
- Update comment.

(sborrill)

2015-11-09 10:10:39 UTC MAIN commitmail json YAML

Fix typo, pointed out by jmcneill@ (thanks !)

(bouyer)

2015-11-09 09:59:18 UTC netbsd-5 commitmail json YAML

2015-11-09 08:35:23 UTC nick-nhusb commitmail json YAML

2015-11-09 02:13:41 UTC MAIN commitmail json YAML

2015-11-09 01:55:03 UTC MAIN commitmail json YAML

Mark kern.posix.semcnt as READONLY - we don't want users changing the
internal value!

(pgoyette)

2015-11-09 01:21:18 UTC MAIN commitmail json YAML

Whether or not the semaphore code is loaded as a module or built-in, its
sysctl data belongs with the module code.  Move it from kern/init_sysctl.c
to kern/uipc_sem.c

While here, add a new sysctl variable kern.posix.semcnt (current count of
semaphores) to complement the existing kern.posix.semmax (maximum number
of semaphores).

(pgoyette)

2015-11-09 00:53:57 UTC MAIN commitmail json YAML

Don't use %m in format strings sent to printf.

(dholland)

2015-11-08 23:30:08 UTC netbsd-7 commitmail json YAML