summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2015-06-26Revert previous. uvideo checks the transfered length of every frame andMartin Pieuchot
this break some devices. As found the hardway by Hugo Sastre via sobrado@
2015-06-26move the ppc mplock implementation from macppc to powerpc.David Gwynne
ok mpi@
2015-06-26Do not compare against a null string. When ofw_find_keyboard() is runMartin Pieuchot
hw_prod is not initialized. While here simply use "PowerBook" as model name, there's no "iBook" model in Apple device-trees. ok miod@ (who's cleaning one of his forests after 3 years)
2015-06-26change test-patterns.out in order to reflect the error message change insemarie
patterns.c
2015-06-26Corrects some minors nits. Patch from Theo Buehler.semarie
- cleanup in included headers (removing unsed assert.h, and reorder) - one remaining '%%' in an error string corrected in '%' while here, add sys/types.h for off_t type. OK reyk@
2015-06-26Update upd(4):Stuart Henderson
- list new sensors, sorted by source file occurrence - add clues about sensorsd.conf(5) configuration for the status quo - link to HID Power specs - linguistic tweaks from David Higgs, ok+tweaks schwarze@
2015-06-26Fix \-escaping bug that caused forward path parsing to skip twoDamien Miller
characters and skip past the end of the string. Based on patch by Salvador Fandino; ok dtucker@
2015-06-26Avoid an assertion failure in elf32_arm_size_dynamic_sections() whenMiod Vallat
building a static binary out of PIE objects; similar to the logic found on other platforms, for some reason arm was lacking this fix.
2015-06-26Adapt to the removal of the symbolic input and output port names fromMiod Vallat
<sys/audioio.h>
2011-04-24Here comes the easter bunnytils 2.17 (the last version released against aMiod Vallat
licence mere mortals can understand the terms of); will be connected to the build on an arch-by-arch basis. Testsuites and generated files have been intentionnaly omitted from this import. Peer pressure and ok from at least drahn@ pirofti@ deraadt@
2015-06-25Cards with revision < 10 (qemu rev is 0), have no ad1848 chip andAlexandre Ratchov
don't attach the ad1848 driver. But the "malloc" method of gus_hw_if is ad1848_malloc() which assumes a ad1848 is attached (and expect the softc pointer to be a struct ad1848_softc, but get a gus_softc pointer instead). Implement, the missing gus_{malloc,free,mappage,...} routines. Add the missing mtx_{enter,leave} calls, as we're at it. Found by mlarkin. ok mlarkin
2015-06-25Align the three variants of Remote.pm.Alexander Bluhm
2015-06-25Ensure the setup block is DMA reachable.Theo de Raadt
tested by reyk, mlarkin, others
2015-06-25OF_getprop() returns an int, so comparing its return value against sizeof castsMiod Vallat
it to unsigned, and we need to also check for negative values. All users of OF_getprop() did this but that one. ok mpi@
2015-06-25use machine_architecture (arch -s) when assembling PKG_PATHs using %m or %a,Stuart Henderson
fixes these variables with arch like powerpc where this differs from "uname -m". reported by/ok aja@
2015-06-25Re-enable memory above 256mb now that uvm_pmr_get1page() has been fixed.Jonathan Matthew
From Visa Hankala.
2015-06-25pfsync and ipsec do not currently work; from lukasz czarnieckiJason McIntyre
i've chosen to comment out the pertinent text rather than remove it... confirmation/ok dlg
2015-06-25Properly deliver broadcast-like packets to the network stack.Martin Pieuchot
In bridge(4) speak, broadcast-like packets are Ethernet Multicast frames or Unicast for which the destination is unknown. It makes sense to not retransmit broadcast-like packets on the interface they were received but they still must be delivered to the network stack. Problem reported by and ok jasper@
2015-06-25PACKET_TAG_BRIDGE is gone.Martin Pieuchot
2015-06-25No more NBRIDGE in the Ethernet layer. Fewer layer violation, say yeah!Martin Pieuchot
2015-06-25Move brige(4)'s output hook outside of ether_output().Martin Pieuchot
This fix some weird bridge(4) configurations involving pseudo-drivers stacked on top of interfaces in a bridge. Also simplifies the loop prevention logic to match bridge's input path. Instead of using a tag per port/bridge simply flag output mbufs to make sure only one copy per bridge go through bridge_output(). ok bluhm@, claudio@
2015-06-25Check for correct rdomain in if_output() rather than in ether_output().Martin Pieuchot
Not all drivers make use of ether_output() and there's no real reason to call it when no ARP resolution is needed. But in this case we still want to make sure we're sending packets in the correct rdomain. ok bluhm@, claudio@ as part of a larger diff.
2015-06-25Use a single event counter for IPIs like other archs do.Martin Pieuchot
Even if this counter is subject to trashing it is a simple solution and gives an proximation "good enough" of the number of IPIs on Quad CPUs machine. ok deraadt@
2015-06-25Reimplement the audio driver in a simpler way, removing unused/unusableAlexandre Ratchov
functionality. Same API and ABI except for the removed bits and no behaviour change for programs using libsndio. With help from armani@ and mpi@, thanks.
2015-06-25Fixed a use-after-free. When handing the L2TP Proxy-LCP, a timer was usedYASUOKA Masahiko
to open LCP. If the PPP session is terminated before the timer fires, the timer had been fired with the freed context. Stop using the timer to open LCP.
2015-06-25Reset the LCP option state for dialin-proxy only if re-negotiation isYASUOKA Masahiko
enabled.
2015-06-25Put fts_close() where missing.Masao Uebayashi
Not bugs in short-lived commands that call exit() -> _exit() immediately, but for idempotency. Originally found in ls(1) by Valgrind. Changes for other commands are from deraadt@. Reviewed by me, tested in snapshots. OK deraadt@
2015-06-25you need to include ddb/db_output.h so you know how to call db_printfDavid Gwynne
inside MP_LOCKDEBUG.
2015-06-25fix format string in MP_LOCKDEBUG codeDavid Gwynne
2015-06-24correct test to sshkey_sign(); spotted by Albert S.Damien Miller
2015-06-24Make ARM_KERNEL_BASE explicitely unsignedMiod Vallat
2015-06-24Remove unused KERNEL_PD_SIZE macro which performs unsafe signed shift ofMiod Vallat
KERNEL_BASE.
2015-06-24Uninitialized variables; pedro@Miod Vallat
2015-06-24Allow uvideo_mmap_queue() to fail gracefully when the mmap queue is full;Miod Vallat
found the hard way by sebastia@ four years ago, and I'd been sitting on that diff since. The initial diff was more aggressive and would free the mmap queue upon error, but jakemsr@ had objections against this behaviour; this diff only fails gracefully instead of panic'ing.
2015-06-24#undef HZ before defining it such that compiling a kernel with -DHZ=xxx works.Mark Kettenis
2015-06-24fauls -> faultsMiod Vallat
2015-06-24Linux jiffies and OpenBSD ticks are the same thing.Mark Kettenis
ok jsg@
2015-06-24Attempt to explain how this device works. Based upon a private mail I wroteMiod Vallat
6 years ago when asked about this.
2015-06-24Do not quiesce the firmware on Quad G5 to let it manage the fans.Martin Pieuchot
This also unbreak "bsd -cd" on such machine since we use OpenFirmware's input at this stage of the boot process.
2015-06-24IPL_MPSAFE bits for macppc with openpic(4).Martin Pieuchot
2015-06-24Quirk needed for SuperTop IDE bridge from frantisek holop.Martin Pieuchot
2015-06-24regenMartin Pieuchot
2015-06-24SuperTop IDE bridge from frantisek holop.Martin Pieuchot
2015-06-24tweak previous;Jason McIntyre
2015-06-24Put BUF_memdup() and BUF_reverse() under #ifndef LIBRESSL_INTERNAL.Joel Sing
2015-06-24Stop garbgage collecting mbufs from the ARP, IPv4 and IPv6 queues whenMartin Pieuchot
an interface is destroyed or removed. Since the introduction of ph_ifidx, as soon as a mbuf with an invalid interface index is dequeued it will be freed. ok claudio@, dlg@
2015-06-24Stop using BUF_memdup() within the LibreSSL code base - it is correctlyJoel Sing
spelt malloc+memcpy, which is what is used in all except two places. ok deraadt@ doug@
2015-06-24Increment if_ipackets in if_input().Martin Pieuchot
Note that pseudo-drivers not using if_input() are not affected by this conversion. ok mikeb@, kettenis@, claudio@, dlg@
2015-06-24Introduce Linux work queue APIs and use them. As a side-effect, this willMark Kettenis
move some of the work from the system task queue to the driver-specific task queue. ok jsg@
2015-06-24Remove a couple of unused and old #defines that discussed phys and virtMike Larkin
address widths in 1st-gen amd64 cpus. ok kettenis, deraadt, guenther