summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2010-05-13merge fixes from upstream (up to rev 1.167)Eric Faurot
notably fix a regression in parsing DTD parameter entities. ok miod@ nicm@
2010-05-13If __HAVE_PMAP_DIRECT, do not bother creating special mappings for use inMiod Vallat
pmap_{copy,zero}_page, but use direct mapped pages instead.
2010-05-13Only enable acceleration code if specific device properties exist; this shouldMiod Vallat
fix OpenBSD/sparc operation in QEMU, which only provides the frame buffer memory and none of the accelerated stipple and blit spaces.
2010-05-13Remove the command line option -fno-ign-chars.Ingo Schwarze
This option was not useful, you never want mandoc to die just because there is an invalid character in the input file, neither in production nor when linting: a warning is sufficient. This was particularly annoying because it was part of -fstrict and could not be switched off. "less is more" kristaps@
2010-05-13Synchronise amd64 more with other PMAP_DIRECT architectures. (step 1,Owain Ainsworth
more to come later) Specfically, there is no reason to reserve a special virtual address just so we can do boot dump, we have a direct map of every page anyway. since pmap_map is deprecated and MD only anyway, this means we can remove that interface too. If anything this should increase reliability since pmap_enter won't fail under memory pressure during dump (unlikely but possible). It is also simpler and smaller ;) Tested by myself and ckuethe, no regressions. ok miod@
2010-05-13new iwn(4) ids.Damien Bergamini
do not attach to the Gen2b devices yet as it is not clear wether or not they have their own hardware revision type.
2010-05-13new iwn(4) pci idsDamien Bergamini
2010-05-13initialization values for AR9380 2.2.Damien Bergamini
turns out the Rx gain tables are the same as 2.0 (and the Tx gain registers too), which saves us a few bytes.
2010-05-13"fix" SYNOPSIS: whilst it still formats incorrectly, apparentlyJason McIntyre
kristaps will fix this soon; from Christian Brueffer
2010-05-12syncOwain Ainsworth
2010-05-12Add ids for the integrated graphics builds into the core i3 and core i5Owain Ainsworth
2010-05-12wint_t is int on OpenBSD; ok kettenis@Christian Weisgerber
2010-05-12do not unlink the Tx buffer from our global list until we're sureDamien Bergamini
it's queued in the Tx FIFO. otherwise we might end up losing the reference to the Tx buffer if we return on error in ar{5008,9003}_tx(). cleanup some dma sync calls while i'm here.
2010-05-12Add Pineview M to intagp and inteldrm.Owain Ainsworth
Tested (and initial tweaked diff) from Erik Mugele; thanks!
2010-05-12syncOwain Ainsworth
2010-05-12add Pineview M dmi bridge and graphics ids.Owain Ainsworth
Tested (and inital patch that I tweaked) from Erik Mugele; thanks!
2010-05-12Catch SIGHUP and terminate if running as a client. This prevents clientsJoel Sing
from being left hanging around when, for example, a SSH session is disconnected. ok nicm@
2010-05-12port -ftrampolines/-Wtrampolines support from gcc3.Marc Espie
comments and okay kettenis@
2010-05-12options.[ch] will auto-define those.Marc Espie
okay kettenis@
2010-05-12Make sure there is a difference in the log of non-fatal and fatalClaudio Jeker
notifications.
2010-05-12Fix includes. Diffy by Remco (remco at d-compu dyndns org)Claudio Jeker
2010-05-12Remove the tiny bit of C++ that is not realy needed so that we get a pureClaudio Jeker
C application. OK yasuoka@, reyk@
2010-05-12bzero() the full compressed update struct before setting the values.Claudio Jeker
This is needed because pf_state_peer_hton() skips some fields in certain situations which could result in garbage beeing sent to the other peer. This seems to fix the pfsync storms seen by stephan@ and so dlg owes me a whiskey. OK dlg@, stephan@
2010-05-11enable fast PLL clock for 5GHz on AR9280 >=2.0 (unless EEPROM says theDamien Bergamini
opposite) and on AR9380 2.0. tested on my AR9280 2.1 with a NETGEAR WNHDE111 AP.
2010-05-11always reset the Tx status descriptor before leaving ar9003_tx_process().Damien Bergamini
2010-05-11put code that is meaningful only if HT is enabled underDamien Bergamini
#ifndef IEEE80211_NO_HT for consistency.
2010-05-11various AR9003 fixes (found during code inspection):Damien Bergamini
- the ROM deviceCap field is now 8 bits (instead of 16), so the number of entries in the key cache is always 0; just use the default value. - AR_CR_RXE is equal to 0 on AR9003. - do not use ``m'' unititialized in ar9003_rx_process. - if an Rx descriptor is not valid (bad signature), skip it instead of leaving it at the head of the FIFO. - update the Rx software descriptor with new virtual and physical address of Rx descritor when mapping a new buffer.
2010-05-11update initvals for AR9380 2.0.Damien Bergamini
see http://marc.info/?l=linux-wireless&m=127354213505700&q=raw for the list of changes.
2010-05-11default to march=i486 for gcc4 as we no longer run on 386 class machinesJonathan Gray
and this lets gcc emit code with xadd/cmpxchg instructions. ok kettenis@
2010-05-11Correct the _dl_sigprocmask() stub to take and store signal masksPhilip Guenthe
as 32bit values instead of 64bit values, synchronizing it with the libc stub. gcc4 apparently packs the stack in _dl_bind() more tightly, so this was resulting in the saved rbx register being overwriten. ok drahn@, marco@, NicM@
2010-05-11sort struct by size and kill some unneeded spaces.Claudio Jeker
2010-05-11Kill IMSG_RECONF_AREA. LDP does not have a concept of areas.Claudio Jeker
2010-05-11No need to do a rt_find() twice.Claudio Jeker
2010-05-11set max size of auto allocated /usr/local to 10G; ok espie@ krw@Otto Moerbeek
2010-05-11ip_ether.c makes only sense if the kernel has gif(4) support.Claudio Jeker
OK sthen@
2010-05-11Massiv cleanup of the gif(4) mess. Move encapsulation into gif_output()Claudio Jeker
where it is not necessary to guess protocols by looking at the first nibble. in_gif_output() will encapsulate the packet but not send it. Because of etherip support and the way the bridge works a minimal hack is needed in gif_start() to ensure that the bridged packets are encapsulated as well. This actually started with the idea to add MPLS support but that turned out to be not as simple as in the gre(4) case. Tested by myself (IP, IPv6, etherip, MPLS), sthen@ (IP, IPv6), naddy (IPv6) OK sthen@
2010-05-11Add IPPROTO_MPLS for MPLS in gif(4) encapsulation.Claudio Jeker
OK sthen@
2010-05-11Add support for MPLS in GRE. Fairly trivial and a NOP unless option MPLSClaudio Jeker
is defined.
2010-05-11don't accept certificates marked as "cert-authority" here; ok markus@Damien Miller
2010-05-10unifdef INTELDRM_GEM.Owain Ainsworth
This enabled GEM for the intel driver unconditionally. The legacy codepaths will be removed in approximately one week since they are now completely unused. After discussion with matthieu@, drahn@, kettenis@ and marco@ (well, mostly nagging from marco ;).
2010-05-10Remove the additional paranoia that I added compared to upstreamOwain Ainsworth
(reading back the relocation). It doesn't add any real security and when we actually need to map the buffer on demand to read/write it makes things cripplingly slow. The correct way to make this utterly incorruptible is a radeon-kms-like command checker to the command streams. This is on my todo list. Thanks to drahn@ for additional testing.
2010-05-10Don't postincrement a casted pointer; split into multiple statements instead.Mark Kettenis
Makes gcc4 happy. ok miod@
2010-05-10Use the new agp mapping api (introduced in previous commit) to allowOwain Ainsworth
this driver to work on machine with low kva and large apertures. tested by myself and drahn@
2010-05-10Continue with the horrible habit of using agp_machdep.c for agp related MDOwain Ainsworth
things that there really isn't a decent api for elsewhere. Since on recent intel IGPs the gtt aperture is too big (256meg is not uncommon) to be mapped on a kva-constrained arch like i386, introduce an agp mapping api that does things depending on arch. On amd64 which can afford the space (and will use the direct mapping again soon)just do bus_space_map() on init, then parcels things out using bus_space_subregion(), thus avoiding map/unmap overhead on every call (this is how inteldrm does things right now). On i386, we do bus_space_map() and bus_space_unmap as appropriate. Linux has some tricks here involving ``atomic'' maps that are on only one cpu and that you may not sleep with to avoid the ipi overhead for tlb flushing. For now we don't go down that route but it is being considered. I am also considering if it is worth abstracting this a little more, improving the api and making it a general MD interface. Tested by myself on i386 and amd64 and by drahn@ (who has one of the machines with an aperture that is too big) on i386.
2010-05-10/* XXX - we don't use __COMPILER_INT64__ */ so remove it.Mark Kettenis
ok millert@
2010-05-10tweak previous;Jason McIntyre
2010-05-10Use OPENBSD_OS_CPP_BUILTINS(), and add a few missing defines to make sureMark Kettenis
the types used by GCC match those in machine/_types.h.
2010-05-10Mention that commands may be abbreviated. ok claudio@Stuart Henderson
2010-05-10Simplify wording about abbreviating commands. ok claudioStuart Henderson
2010-05-10unset doesn't fail except for read-only variables and functionsMatthias Kilian
ok guenther@