summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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
2013-08-15typosMiod Vallat
2013-08-15Enable radeondrm(4).Mark Kettenis
2013-08-15Add RI_VCONS support.Mark Kettenis
ok miod@
2013-08-15Align stack yp buffers to 64-bit boundaries now, for they might containMiod Vallat
a struct passwd. ok deraadt@ guenther@ kettenis@
2013-08-15add the lalr paper;Jason McIntyre
from jan stary
2013-08-15Blast uhts(4). This code was merged into ums(4) last week.Edd Barrett
OK mpi@
2013-08-15Replace the obsolete ioctl(SIOCGDRLST_IN6) interface withAlexander Bluhm
sysctl(net.inet6.icmp6.nd6_drlist) in rtsold. Code taken from ndp. OK henning@ mikeb@
2013-08-15Reduce the warnings when arp, rarp, ndp are compiled with WARNINGS=yes.Alexander Bluhm
warning: declaration of 'time' shadows a global declaration No binary change; OK lteo@ florian@ henning@ mikeb@ millert@
2013-08-15fix getsecs() prototypes, vax still boots with 64-bit time_t; ok miod@Otto Moerbeek
2013-08-15Stop defining SIOC{S,G}ETVLAN as SIOC{S,G}IFGENERIC because theyMartin Pieuchot
are two differents ioctls manipulating structures of a different size. In particular this prevents vlan(4) to handle pppoe(4)-specific ioctls and vice versa, that could lead to smashing the stack of the caller. Issue originally found by David Hill when compiling ifconfig with clang. Note that this is an ABI break but we're riding a biger dragon right now. ok mikeb@, kettenis@, sthen@
2013-08-15Include files.agp and files.drm from files.pci. Makes sure "drm.h" getsMark Kettenis
generated on all architectures that support pci, making alpha and loongson compile again. ok todd@, miod@ seemed to agree with the idea
2013-08-14use .Dx to credit DragonFly; from Jan Stary <hans at stare dot cz>Ingo Schwarze
2013-08-14Filter the IPv6 Discard-Only Prefix because it should not be globallyClaudio Jeker
routable. See RFC6666. Diff by Gleydson Soares.
2013-08-14Rewrite the internals of the RDE reload logic.Claudio Jeker
This is the first step to make bgpd reload non blocking in the RDE. It also speeds up the reload time a fair bit in some cases (mainly if you run with multiple RIBs and have larger filtersets) and it should also fix a few edge cases on reloads. Testing done by benno@, florian@ and sthen@ OK henning@ and benno@
2013-08-14Enforce that the ls_id and the adv_rtr field in a type 1 router LSA areClaudio Jeker
the same. This will drop updates trying to attack the OSPF LSDB. For ospfd such bad router LSA were never a problem since the LSA lookup always includes the ls_id and adv_rtr -- so the bad packets would have never been picked up by the SPF calculation. OK bluhm@ benno@
2013-08-14editing blip in previous;Jason McIntyre
2013-08-14Use text production macros to document themselves.Ingo Schwarze
Part of the patch was sent in by Jan Stary <hans at stare dot cz>, another part was added by jmc@, the rest was added by myself; ok jmc@.
2013-08-14ISC cron is the defacto BSD cron these days so remove confusingTodd C. Miller
remarks about the historic BSD and SysV crons. OK jmc@
2013-08-14Only skip address deleting/adding and route deleting/adding onFlorian Obser
identical lease when we are in state S_RENEWING. Otherwise we can end up without an IP address on the interface because dhclient thinks it's still there and doesn't add it. Found the hard way during suspend/resume. OK krw@