summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2013-08-19regenJonathan Gray
2013-08-19Add IO-DATA WN-G150UM from William Dunand.Jonathan Gray
2013-08-19divdi3 moddi3 qdivrem are needed by 64 bit time_tMatthieu Herrb
2013-08-19Add missing util.hDavid Coppa
ok otto@ mpi@ mikeb@
2013-08-19in pf_test_rule, when dealing with a match rule, obey the match rule's quickHenning Brauer
flag to decide wether to abort ruleset eval instead of the last matching rule's one. makes "match quick" abort ruleset evaluation with the current block/pass state. from Maxim Khitrov <max at mxcrypt.com>, ok bluhm mikeb
2013-08-19Fix double allocation of memory in beagle machdep. This was caused byPatrick Wildt
resetting physical_free{start,end}, although they had already been used. Also, set physical_freestart correctly and allocate the pagetables and stacks directly after the kernel. ok florian@
2013-08-19In case something bad happened when configuring an IPv4 address, makeMartin Pieuchot
sure we add its descriptor back to the tree and interface list to keep the various global structures consistent. ok mikeb@, bluhm@
2013-08-19Mark all the C functions called in real mode as non instrumented andMartin Pieuchot
remove the check for address relocation from MCOUNT_ENTER. This fix kernel profiling on powerpc architectures, broken since the buffers are per cpu. ok miod@
2013-08-19put do { } while (0) around the dprintf macro to make it less scaryDavid Gwynne
ok deraadt@
2013-08-18data_access_emulation() may fault. Be sure to clear pcb_onfault beforeMiod Vallat
invoking it. While there, rework the return-to-pcb_onfault logic to avoid falling through the DAE code. This allows us to get rid of the bogus DMT_SKIP flag as well: DAE is only necessary if DMT_VALID is set in DMT0, and DMT0 is reset to zero afterwards.
2013-08-18Rework the DAE print routines again to output something closer to an actualMiod Vallat
instruction, and print the target address rather than the rounded address and the byte enables.
2013-08-18data_access_emulation() may fault. Be sure to clear pcb_onfault beforeMiod Vallat
invoking it. While there, rework the return-to-pcb_onfault logic to avoid falling through the DAE code. This allows us to get rid of the bogus DMT_SKIP flag as well: DAE is only necessary if DMT_VALID is set in DMT0, and DMT0 is reset to zero afterwards.
2013-08-18No need to test for DMT0 being valid a second time in the `save DMT andMiod Vallat
clear proper SSBR bits' code path.
2013-08-18Remove wrong workaround for the 88100 `awk bug' - it turns out compilingMiod Vallat
with -O2 changes the alignment of code and data, which caused the awk binary to be more prone to trigger the DAE bug which just got fixed.
2013-08-18Fix prototypes of do_load_half() and do_load_byte() - those return aMiod Vallat
sign-extended 32-bit value. The previous prototypes used too narrow return types since the mvme88k/luna88k code unification 9 years ago. Amazingly this did not cause much harm and took quite a while to understand. The most visible occurence of this bug would be awk aborting early with a syntax error message, on valid output; this is no surprise as awk is probably the largest consumer of `short' types in the tree. Of course, the bug would not be reliably reproduceable, because it would only trigger if the DAE code path was taken, usually during page fault processing; and since uvm_fault() will attempt to fault neighbouring pages, depending upon the particular randomness (stackgap, shared library location) at the time one ran awk, it may (but quite often may not) trigger. [forcing all uvm_fault() narrow helped reproduce the issue reliably and eventually fix it]
2013-08-18make them fit, sighTheo de Raadt
2013-08-18Disable appleagp(4). It doesn't really work yet, and hurts certain iBook G3Mark Kettenis
models (PowerMac4,3). ok matthieu@, mpi@
2013-08-18Fix calls to printf-like functions which passed a non-fixed stringPhilip Guenther
as the format and no variable args. Replace "%#0.*X" with "%#.*X": the zero-fill flag is ignored/implied on numeric conversions when a precision is specified. ok jung@ millert@ krw@
2013-08-18syncMiod Vallat
2013-08-18While we forceably detach radeondrm on fatal error in initJonathan Gray
non fatal errors with >= r600 could result in an unuseable system. Avoid this by always programming the MC on startup. Patch from Alex Deucher in Linux based on a change from kettenis to program the MC on failure to load firmware for cayman/aruba. ok kettenis@
2013-08-18Update beagle sets. -mojMats O Jansson
ok bmercer@
2013-08-18Missing double quote; Craig R. SkinnerMiod Vallat
2013-08-17Most network drivers include netinet/in_var.h, but apparently theyAlexander Bluhm
don't have to. Remove these include line also from the sgi/hpc driver which I have forgotten in my last commit. test jsing@
2013-08-17Most network drivers include netinet/in_var.h, but apparently theyAlexander Bluhm
don't have to. Remove these include lines from sgi drivers. test jsing@
2013-08-17Do not create a route to the bound address via 127.0.0.1. Our stackKenneth R Westerback
should be able to correctly short-circuit packet routing to local addresses without this. Requested by many over the years, most recently chrisz@. Get it in early to see if anything does break. ok claudio@ henning@
2013-08-17Because vgafb(4) only match the console, no need for an additional checkMartin Pieuchot
when setting up multiple screens and don't clear the screen again at this moment.
2013-08-17Fix comment, socket splice can also do UDP now. Fix white spaces.Alexander Bluhm
2013-08-17Most network drivers include netinet/in_var.h, but apparently theyAlexander Bluhm
don't have to. Remove these include lines from octeon drivers. test and OK bcallah@
2013-08-17Merge vgafb_init() into vgafb_cnattach() now that it is not used anywhereMartin Pieuchot
else and pass the RI_FULLCLEAR flag to rasops_init() instead of clearing the region directly. This also makes the console to be correctly restored when exiting X. Previously a line at the bottom of the screen was never cleared.
2013-08-17Do not pretend to support non-console device because vgafb(4) onlyMartin Pieuchot
matches the framebuffer device setup by the firmware. Discussed with kettenis@. While here remove the bus master enable command as we no longer attach drm(4) to this driver.
2013-08-17Remove unnecessary activate functions and unused DPRINTFN macros.Stuart Henderson
Req by and OK mpi@.
2013-08-17Remove a bunch of unused variables and functions aging from the preMartin Pieuchot
powerpc -> macppc area. ok kettenis@
2013-08-17Use %lld and cast to (long long) when printing time_t values and atoll()Philip Guenther
when parsing them. Add a couple [ug]id_t --> u_int casts for consistency with rest of code. Based on a diff from Nathanael Rensen (nathanael (at) polymorpheus.com)
2013-08-16Hook up the framebuffer colormap helper code on sparc64.Mark Kettenis
2013-08-16Moving the .data section causes problems on some machines (blade100, tadpole).Mark Kettenis
Move it back and add a linker script to convince the linker that it shouldn't merge .text and .data. tested by naddy@ ok millert@, deraadt@
2013-08-16Use %lld and cast to (long long) when printing time_t valuesPhilip Guenther
otto@ millert@ lteo@ mikeb@ deraadt@
2013-08-16Pass cursor position in wsdisplay_cnattach() call. Preparation for seamlessMark Kettenis
console transation on sparc64 (and eventually macppc).
2013-08-16Enable radeondrm(4).Martin Pieuchot
ok kettenis@
2013-08-16Use mapiodev instead of bus_space_map the do the initial mapping of theMark Kettenis
frame buffer. This allows radeondrm(4) to bus_space_map it without panicking. ok mpi@, jsg@
2013-08-16int overflow in sector calculation, broke UDF reads past 2GB. Diff promotesMike Larkin
sector to daddr_t before calculation to avoid overflow. ok deraadt@
2013-08-16Replace the misleading SIOC{G,S}IFGENERIC ioctls by SIOCG{G,S}PPPPARAMS.Martin Pieuchot
This is another ABI break but no port rely on them as verified by naddy@. ok claudio@, mikeb@, henning@
2013-08-16Check number of planes (1, 4, or 8bpp) by ourselves, because PROMKenji Aoyama
seems not distinguish between 1bpp and 4bpp framebuffers. Now hwplanebits should have the correct value after omfbmatch(). This also makes the monochrome X.org server work with a 4bpp framebuffer correctly, i.e. white and black are not inverted. ok miod@
2013-08-16regenPhilip Guenther
2013-08-16Tweak the getdents() kernel prototype to use "void *"Philip Guenther
Provide a declaration for userspace Fix the kernel's sanity check on the buflen argument lack of prototype pointed out by sthen@ and landry@ ok kettenis@ otto@
2013-08-16divdi3 is needed with big time_tOtto Moerbeek
2013-08-16seekdir()/rewinddir() must update the position returned by telldir()Philip Guenther
2013-08-15Don't include unused copyright[] string in all the cron binaries.Todd C. Miller
OK mikeb@ deraadt@
2013-08-15Be sure to always invoke cache routines with properly rounded addresses;Miod Vallat
the bus_dmamap_sync() bowels would sometimes use incorrectly rounded addresses, which has been apparently harmless so far, but better be safe than sorry.
2013-08-15Be sure to set the `non equal' bit when emulating fcmp{,u} and the operandsMiod Vallat
are orderable, but not equal.
2013-08-15make debug output sligthly more usefulMiod Vallat