Commit Graph

269588 Commits

Author SHA1 Message Date
isaki 5e4788ee0a Fix assertion of "audiocfg list <n>" when n is an illegal index. 2019-08-22 14:40:14 +00:00
rin e82eea1324 Adjust GMT bias automatically by using data obtained from Mac OS,
unless RTC_OFFSET is set explicitly.
2019-08-22 12:47:57 +00:00
mrg d2638a5cd2 - move software parts into if_aue.c.
- s/Static/static/.
2019-08-22 09:16:08 +00:00
skrll 934bbc1299 Revert a change I made to this file a long time ago so that is now matches
linux mainline again.  This fixes the rpi0w..

Tested on rpi0 and rpi0w by Jun Ebihara

PR/53284 (Support RPI3B+,RPI0W,RPI2-1.2)
2019-08-22 08:32:34 +00:00
mrg c7e750b5e0 fix more kernhist vs 32 bit issues. 2019-08-22 07:38:06 +00:00
kamil 8b3baa27a8 Set NOSANITIZER in i386 ramdisk image 2019-08-22 04:25:38 +00:00
mrg c92aec79da like most things: turn debug off by default, sysctl to enable 2019-08-22 00:25:18 +00:00
mrg de0a3ab576 usbhist(9):
- add a USBHIST_CALLARGSN() that only prints the message if debug level is N

aue(4):
- switch from printf() to usbhist for debugging
2019-08-22 00:24:07 +00:00
rmind 0e1944da36 npfkern/libnpf: Add support for the table replace/swap operation.
Contributed by Timshel Knoll-Miller.
2019-08-21 21:45:47 +00:00
rmind f916b9b1ff - npftest: fix a memleak in a unit test (standalone path only).
- Minor style fixes.  No functional change.
2019-08-21 21:41:53 +00:00
skrll 921539fe19 Fix the pmap_bootstrap.o dependency (it was spelt pmap_boostrap.o before) 2019-08-21 20:31:23 +00:00
skrll 75222cfb98 Spell pmap_bootstrap in comments correctly 2019-08-21 20:30:36 +00:00
roy e42970f3ba Note import of dhcpcd-8.0.3 2019-08-21 17:14:26 +00:00
maxv b1e6da1642 Style and cleanup. 2019-08-21 17:14:05 +00:00
roy 0875c12424 Sync 2019-08-21 17:12:19 +00:00
roy e25a52da6a Import dhcpcd-8.0.3 With the following changes:
*  DHCP: Work with IP headers with options
 *  script: Assert that env string are correctly terminated
 *  script: Terminate env strings with no value
 *  script: Don't attempt to use an invalid env string
 *  route: Fix NULL deference error when using static routes
 *  ARP: Respect IFF_NOARP
 *  DHCP: Allow full DHCP support for PtP interfaces, but not by default
 *  control: sends correct buffer to listeners

dhcpcd-ui now correctly reports SSD association and all the addresses obtained (regression from dhcpcd-7)
2019-08-21 17:10:29 +00:00
maxv 5df0dd57ec Remove the single-step check, it is wrong. There is no way we could
single-step on these entry points. If there were, we would be running
with the wrong GS.base, and we would have died long before.
2019-08-21 17:06:36 +00:00
maxv 4595fe3dd9 Switch from printf to panic. These messages were notorious for being
unreadable, and at least a clean panic allows the user to inspect the
system via DDB. Also simplify the output, EAX gets overwritten with
the error code so it indicates nothing meaningful.
2019-08-21 16:35:10 +00:00
nakayama d9ec4c1e4c Remove obsolete entry for libgomp.so.1.2.
Upgrading from netbsd-8 to netbsd-9 removes this library file, but some
programs (eg. packages compiled on netbsd-8) still use it.
2019-08-21 13:48:37 +00:00
maxv 3609a85773 Style and remove dead stuff. 2019-08-21 12:46:56 +00:00
maxv 8faa73b0cd Don't depend on #ifdef USER_LDT in cpu_mcontext32_validate(), but rather on
whether the proc uses a user-set LDT. Same as check_sigcontext32().
2019-08-21 12:33:12 +00:00
maxv abd5d6fbcf No USER_LDT on Xen. 2019-08-21 12:16:07 +00:00
christos a909d35bd1 Increment offset when adding an element to history to keep it aligned with
the last element entered (Sandy Li Changqing)
2019-08-21 11:11:48 +00:00
mrg 52a4543a10 convert pairs of USBHIST_CALLED()+USBHIST_LOG*() into
USBHIST_CALLARGS() calls.  this reduces the number of
kernel history lines consumed by these callers, and
for the +LOGN versions, add useful log info to a
message that just says "called!".

reduces the line spam which means the total info in a
full log is significantly increased.
2019-08-21 10:48:37 +00:00
msaitoh 116af900a1 Simplify ix{gbe,v}_[un]register_vlan() API suggestesd by knakahara.
The API was the same as FreeBSD's pre-iflib's. They use iflib now and it's
not required for us to keep the old API.
2019-08-21 10:01:53 +00:00
martin 3ee8645531 Make this at least compile - I have no way to test. 2019-08-21 08:03:22 +00:00
mrg e95f086a6d match xhci version 3.10. allows properly finding all the USB
busses on new ryzen 3 based systems.

unfortunately, the USB busses are still non-functional.
2019-08-21 06:19:43 +00:00
mrg 901400fd26 regen for new micron/crucial/amd entries, and PCIe spelling. 2019-08-21 06:04:44 +00:00
mrg 2948ec3a8d add micron/crucial SM2263 nvme.
add some device found on asus x570-p with ryzen 3200G cpu.
spell it "PCIe' when using the name.
2019-08-21 06:03:57 +00:00
msaitoh 5bdcaa2cac Use ETHER_LOCK()/ETHER_UNLOCK() suggested by knakahara. 2019-08-21 06:00:07 +00:00
msaitoh e88df844a3 Fix typo (s/controler/controller/). 2019-08-21 04:51:41 +00:00
msaitoh 8940d9f0eb Fix typo (s/contoller/controller/). 2019-08-21 04:17:40 +00:00
msaitoh 70d8c5f889 Whitespace fixes. No functional change. 2019-08-21 02:10:20 +00:00
tnn 5e60d5c371 rk3399_iomux: add some #ifdef'd out code to enable the on-chip debug port 2019-08-20 23:32:33 +00:00
perseant f5654bbebe Clean up debugging cruft that somehow made it into my previous commit. 2019-08-20 21:18:10 +00:00
wiz 27a1bb09f8 Sort options in usage.
filesystem -> file system
2019-08-20 21:07:21 +00:00
perseant 473107ea62 Allow the user to specify the filesystem ID for umapfs at mount time,
allowing a consistent filesystem ID across reboots.  Closes PR #54471.
2019-08-20 20:18:54 +00:00
maxv b7c81d4e41 Fix info leak, not all of 'pev' is initialized. 2019-08-20 18:43:57 +00:00
para 50fe1a8b2a add now required includes for memcpy prototypes analogue to other hash functions
(fix the build)
2019-08-20 15:17:02 +00:00
christos e1a89edabd From maxv@:
1) In compat_drm_agp_info(), seems like it should be info64to32.
2) In compat_drm_getstats(), the assignments in the loop are inverted, it's
   st32 which should be set to the values of st64, not the other way around.
3) In compat_drm_dma(), again inverted 32<->64, and there is no copyout (?).
4) In compat_drm_agp_enable(), m64 is uninitialized, everything is wrong in
   this function it seems.
2019-08-20 14:26:05 +00:00
christos fa6e76c527 make things compile again. 2019-08-20 14:12:33 +00:00
gson f185b2bce9 Don't say that makeoptions DEBUG="-g" also turns on options DEBUG,
because it does not.  Fixes PR kern/54438.
2019-08-20 14:03:55 +00:00
skrll bf124cc4a9 typo in error message 2019-08-20 12:40:18 +00:00
riastradh 23d950dc47 Fix byte order bug in murmurhash and pacify sanitizers. 2019-08-20 12:33:26 +00:00
riastradh 001c9b0e7c New macro ALIGNED_POINTER_LOAD.
To be used with ALIGNED_POINTER(p,t) instead of writing *(const t *)p
directly.  This way, on machines without strict alignment, we can use
memcpy to pacify sanitizers, while getting the same compiled code in
the end with a single (say) MOV instruction.
2019-08-20 12:33:04 +00:00
sevan 430a8c4ffa sysctl(8) is useful to have in the install env when debugging 2019-08-20 12:26:38 +00:00
maxv 6b2322f645 Disable netbsd32_drm.c until it receives proper review. 2019-08-20 12:25:41 +00:00
uki 03076a9ebe Give syspkg name to xbase mi files 2019-08-20 12:08:17 +00:00
roy 30e1960352 if: announce flag changes other than up or down
For example toggling promiscuous mode or disabling ARP.

XXX Pullup -9
2019-08-20 10:59:00 +00:00
christos 39360c9262 add NetBSD copyright. 2019-08-20 09:55:49 +00:00