Commit Graph

255062 Commits

Author SHA1 Message Date
ozaki-r bcf90b3e86 Simplify; share agr_vlan_add and agr_vlan_del (NFCI) 2017-12-06 04:37:00 +00:00
ozaki-r 7475694f27 Fix typo 2017-12-06 04:29:58 +00:00
christos ce69bf4a1a don't forget to convert the timespec.
XXX: pullup-8
2017-12-06 04:12:25 +00:00
msaitoh 33b57ecc23 Sync with FreeBSD's r326022. All of the following changes have no influence
to netbsd:
- Check ETHERCAP_VLAN_HWTAGGING in ixgbe_setup_vlan_hw_support(). This change
  has no influence to netbsd because it's enabled by default and NetBSD has
  no API to disable it.
- Fix for netmap module.
- Remove never defined UDP_IPV4_EX
- Add SPDX-License-Identifier
2017-12-06 04:08:50 +00:00
ozaki-r 3386db3a55 Use kmem_alloc instead of kmem_intr_alloc in ether_addmulti
ether_addmulti is now not called in softint thanks to wqinput that
pulled input routines of ICMP out of softint.
2017-12-06 04:00:07 +00:00
christos 86a8ba0e86 use -@ like bsd.klinks.mk 2017-12-06 02:08:03 +00:00
christos 3bc5e25fe7 remove multiple copies of the same logic. 2017-12-06 02:06:45 +00:00
kamil 17be8c5c9c Add new fortune entry with a quote from Jozef Pilsudski
This quote is a longer form of "the dogs bark, but the caravan goes on"
and compares Poles and Lithuanians (historical meanings used from the time
of country union of both nations).

Today is the 150th birthday anniversary of Jozef Pilsudski (1867-1935).
2017-12-05 22:51:59 +00:00
dholland a34d145b7a Add missing wsbell, commented out with a note that it's apparently only
a module by default.

This way people making their own configs have half a prayer of
realizing they might need to turn it on, instead of just not getting
beeps any more for no clear reason.

XXX: Wasn't the agreement after the last round of module flamage that
XXX: things shouldn't be module-only in GENERIC?
2017-12-05 21:00:26 +00:00
dholland 93da8c4519 Sort the file system options by which fs they apply to. 2017-12-05 20:32:24 +00:00
jmcneill 2dbf225c9a make a few more drm nodes 2017-12-05 19:17:11 +00:00
jmcneill 11579f7d36 drm_stat: fix device minor calculation, ok riastradh@ 2017-12-05 19:13:52 +00:00
jmcneill 26f4df0434 Add hw.synaptics.movement_enable sysctl. Default value is 1, but if set
to 0 disables movement events from the touchpad.

While here, fixup a few sysctl nodenum comparisons in
pms_sysctl_synaptics_verify to compare against node numbers instead of
values.
2017-12-05 18:04:21 +00:00
ozaki-r 21a3f65ab7 Mention the limitation of enabling both NET_MPSAFE and ALTQ 2017-12-05 03:23:29 +00:00
christos 604ff9ba7a Use similar restrictions to bsd.klinks.mk for .BEGIN rules. 2017-12-05 02:57:37 +00:00
jdolecek a05a46f69b add KASSERT() just before setting sc_deferred, to ensure this does
not trigger problem in PR kern/52769
2017-12-04 22:15:52 +00:00
kre 6b923cca7a Do away with (not well specified, even if it happens to work) absurd
15 arg test ([ ]) expression, and replace it with several well defined
2 arg tests, combined with (also well defined) sh syntax.
2017-12-04 14:50:33 +00:00
kamil 7a515d1c37 Temporarily disable t_ptrace_wait*::resume1 in ATF tests
It hangs forever on releng machines.

Sponsored by <The NetBSD Foundation>
2017-12-04 12:53:46 +00:00
bouyer c7ce92ca3a 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 entries.
2017-12-04 09:55:37 +00:00
martin 9f8ff67109 We use .BEGIN for our own cleanup and won't ever need DTS support - so
avoid inclusion of dts.mk by defining _SKIP_DTS
2017-12-04 09:44:33 +00:00
msaitoh b1c7308a07 - Fixes two problem:
1) RX may accesses freed area.
  2) if_init() takes long time on many core machine.
  Call ixgbe_jcl_reinit() not in ixgbe_setup_receive_ring() but in the
  biginning of ixgbe_setup_receive_structures(). It was OK for pre multiqueue,
  but it's not OK now because we support multiqueue.
- Fix comment of ixgbe_free_receive_ring().
2017-12-04 09:29:42 +00:00
bouyer 13874afb76 Make it clear that SUNXI registers are not defined/supported in the
COM_REGMAP case
2017-12-04 09:14:23 +00:00
skrll 66b81fa52a KNF 2017-12-04 08:24:35 +00:00
christos 53a6337cc4 regen hppa 2017-12-04 03:08:34 +00:00
mrg 2c65d957b0 deref the right address to get the pool_allocator. 2017-12-04 03:05:57 +00:00
mrg 2af02d0e1d properly account PR_RECURSIVE pools like vmstat does. 2017-12-04 03:05:24 +00:00
mlelstv 808b264de6 allow PASS opt_proto ALL syntax in map statement. 2017-12-03 23:48:03 +00:00
christos f2a0a1f117 make this compile again and:
- remove extra space
- use alternate form %x printing
- use aprint_debug_dev instead of printf
2017-12-03 23:43:00 +00:00
mrg cd83415f42 remove now wrong comment. minor KNF. 2017-12-03 21:10:01 +00:00
mrg 67dafd4718 fix the kvm version of counting pool pages for vmstat -s. 2017-12-03 21:09:01 +00:00
christos 8ab41cb9c8 - add a prefix to struct members (but not the ioctl ones because they affect
the API)
- use consistent variable names.
2017-12-03 19:07:10 +00:00
bouyer d3fee01bd5 Fix dell WMI mappings:
- query the descriptor to get the interface version, needed to workaround
  a bug in the BIOS/ACPI
- properly decode the event buffer in type/subtype, and handle multiple events
  per handler call
- record some known type/subtype in a table, with associated actions.

Informations mostly from linux. Tested on a Dell 5480 laptop.
2017-12-03 17:40:48 +00:00
bouyer 87dcc5d7d5 - make sure strtoul() is called with a NULL-terminated string.
- acpi_wmi_input(): a valid data block may have flags set to 0.
2017-12-03 17:34:50 +00:00
jmcneill d6587d34c2 add H5 dts files 2017-12-03 17:18:53 +00:00
christos 4dd927b01c handle absolute $S paths; we want to add ../ if they are relative only. 2017-12-03 17:07:18 +00:00
christos fb3b90b27d Add more complexity because of the path mess in the dts files. Requested
by jmcneill@
2017-12-03 16:36:05 +00:00
christos 6d44e11a08 Make code look the same, in particular zero out the rest of the directory
record.
XXX: pullup-8
2017-12-03 15:23:30 +00:00
jmcneill 9876db7a70 first param for bs funcs is the cookie, not the tag 2017-12-03 14:35:07 +00:00
jdolecek f0e224ba24 port ips(4) driver from OpenBSD; needs a lot more work, right now just compilable 2017-12-03 14:26:38 +00:00
jmcneill 8bfbe667cf On 64-bit boards, U-Boot expects to find .dtb files in an allwinner/ subdirectory 2017-12-03 13:31:45 +00:00
maxv 2180dcb46d Fix uninitialized pointer, found by Mootja. Not a surprise in untested
code.
2017-12-03 12:53:52 +00:00
jdolecek f51b425f83 again remove mistakely committed debug flags 2017-12-03 11:49:32 +00:00
jdolecek 3ff4076519 update from HEAD 2017-12-03 11:38:58 +00:00
mlelstv 67cf3e04f7 unreference session only for responses to SCSI commands. 2017-12-03 07:24:47 +00:00
mlelstv 8add5d8468 use same lock for ref/deref. 2017-12-03 07:23:45 +00:00
mlelstv 501f6ddfbf add debug messages 2017-12-03 07:23:12 +00:00
joerg 92677a93f8 Don't override X87_ENABLE_ARITH. Since we default to long double
rounding, the default value is correct for us.
2017-12-02 23:05:52 +00:00
christos 3281275922 Also wait interruptibly when exiting. Avoids deadlocked on exit processes
create by golang.
2017-12-02 22:51:22 +00:00
christos f7237b1ef2 Add padding to make the 32/64 bit structs the same. 2017-12-02 21:04:59 +00:00
jmcneill 9e63c0a969 Support nodes w/o a defined clock. 2017-12-02 18:56:18 +00:00