summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2008-11-07Remove storing the Ethernet header in the receve interrupt handler, theBrad Smith
disabled code that used to use this was removed 7 years ago.
2008-11-07Add more initialisation steps (read reset register; pause; set burst sizeBrad Smith
in config register). From NetBSD
2008-11-07- According to the Apple GMAC driver, the GEM ASIC specification andBrad Smith
the OpenSolaris eri(7D) the TX FIFO threshold has to be set to 0x4ff for the Gigabit variants and 0x100 for the ERI in order to avoid TX underruns. - Turn on workarounds for silicon bugs in the Apple GMAC variants. This was based on information obtained from the Darwin GMAC and Linux GEM drivers. - Turn on "infinite" (i.e. maximum 31 * 64 bytes in length) DMA bursts. From FreeBSD Tested by a few users with Apple GMAC's and Sun ERI.
2008-11-07use do { } while (/* CONSTCOND */ 0) loops for all multi-line macrosTheo de Raadt
ok dlg otto claudio
2008-11-07give this some /* CONSTCOND */ loveTheo de Raadt
2008-11-07wrap do/while construct around the function macro DISPATCH(); ok dlgTheo de Raadt
2008-11-07wrap do/while construct around the function macro SESSRELE(); ok dlgTheo de Raadt
2008-11-07Replace the number of bits to shift with EVL_PRIO_BITS in theBrad Smith
EVL_PRIOFTAG macro. ok naddy@
2008-11-07spelling/typo in commentKevin Steves
2008-11-07when attaching a new stream, don't overwrite it's parametersAlexandre Ratchov
with the emulated ones (otherwise the next time it's attached conversions will not be setup).
2008-11-06Collapse all sanity checks of hids into one function.Marco Peereboom
Originaly from jordan
2008-11-06Some paranoia and deconfusion.Artur Grabowski
- setrunnable should never be run on SIDL processes. That's a bug and will cause all kinds of trouble. Change the switch statement to panic if that happens. - p->p_stat == SRUN implies that p != curproc since curproc will always be SONPROC. This is a leftover from before SONPROC. deraadt@ "commit"
2008-11-06remove a really stupid comment. Duh, of course it can blockTheo de Raadt
2008-11-06Mixed up characters found by Gleydson Soares.Claudio Jeker
2008-11-06Fix a small bug which made it impossible to use more than oneMarcus Glocker
video control.
2008-11-06Introduced IPv6 support of uniform model for TTL handling.Michele Marchetto
OK claudio@ laurent@
2008-11-06oopsTheo de Raadt
2008-11-06Fix cvs id tag.Michele Marchetto
2008-11-06panic if cpu_switchto() returns from a dead processTheo de Raadt
2008-11-06correct commentTheo de Raadt
2008-11-06delete checks for impossible conditionsTheo de Raadt
2008-11-06queue the mountroot hooks to be run in the same orderTheo de Raadt
2008-11-06use PAGE_SIZE in FS_KERNMAXFILESIZE() use, note this is not the same as ↵Theo de Raadt
getpagesize() elsewhere. otto, please fix correctly after
2008-11-06Have called pass pagesize into FS_KERNMAXFILESIZE(), because there is noTheo de Raadt
automatic symbol that has this information. PAGE_SIZE is simply not portable, or even fixed on some systems. ok otto
2008-11-06drop/silence calculation is wrong when xrun occurs and client andAlexandre Ratchov
device number of channels are not the same. The bug was hidden until now, because mixer and demux input and outputs used to have the same frame size.
2008-11-06The EEPROM is lying about antennas. Hardcode things based on the chipDamien Bergamini
ID which is also what the vendor driver happens to do. Fixes a firmware SYSASSERT on the 5100 when adding the broadcast node. Reported by Jean-Michel Bessot and Robert <robert at openbsd.pap.st>
2008-11-06Oops. Forgot to commit this chunk with the last commit.Owain Ainsworth
Remove softc members and prototypes related to the tasklet system.
2008-11-06Make sure we do not unlock twice.David Hill
nice catch, oga@
2008-11-06Remove the drm_locked_tasklet interface. The only consumer that used itOwain Ainsworth
was the i915 vblank swap ioctl, which just went kaput.
2008-11-06The i915 vblank swap ioctl is fundamentally racy.Owain Ainsworth
using it allowed rendering to continue while waiting for a vblank swap, and often this lead to flickering and rendering a new scene before the swap. this broke a lot of things. With the removal of this swap, userland falls back to the old way of waiting for the vblank then doing the swap itself, this is smooth enough. I decided independantly to kill this, but the intel guys recently concurred. Comment change comes from Eric Anholt at intel.
2008-11-06add a description for the recently added c-mode.Igor Sobrado
ok jmc@
2008-11-06if the freeprot flag (F) is set, do not do delayed frees for chunksOtto Moerbeek
(might catch errors closer to the trouble spot) and junk fill pages just before reuse instead of immediate (we can't access the page anyway) since we set PROT_NONE in the F case. ok djm@
2008-11-06regenBrad Smith
2008-11-06Add the PCI id for the Broadcom BCM5903F Ethernet chipset.Brad Smith
2008-11-06use spacing consistently to make example shorter and more readable;Igor Sobrado
improve indentation.
2008-11-06input and volume twiddlesTodd T. Fries
o set init data to match snapper_set_foo* o set volume to 190 (audible compared to the default) o set input to mic (most common usage) ok jakemsr@
2008-11-06More complete example, for e.g., usb devices that need wep/wpa keys.Ian Darwin
OK (with typo corrected) sthen@
2008-11-06-Wall -Wshadow clean, no binary changeDamien Miller
2008-11-06Set the IFCAP_VLAN_MTU capabilities flag so these interfaces are allowedBrad Smith
to transmit full sized VLAN tagged frames.
2008-11-06add support for iso8859-13Martynas Venckus
2008-11-05return an error when trying to get stereo values from a monoJacob Meuser
control. makes mixerctl(1) output more sensible. ok drahn, todd
2008-11-05add missing header needed by strcmp/strerror/memset functions.Charles Longeau
ok canacar@
2008-11-05Fix some function prototypes, remove unused variables and commented out codeCan Erkin Acar
2008-11-05add gilles@ as copyright holder for this file.Igor Sobrado
2008-11-05add a few missing id tags; there are a bunch of files, and developersIgor Sobrado
will probably miss this change when working on more important matters, so it is probably better to sort them now. there is a risk of losing the tags if a change needs to be reverted too. written with excellent advice from jmc@ ok gilles@
2008-11-05passord -> password;Jason McIntyre
fixes user/5975 from Rene Maroufi
2008-11-05wrap use of KNOTE macro arguments in () to prevent potential strangeDavid Gwynne
expansion. requested by otto@
2008-11-05wrap an if statement in a macro up with do { } while (0) so it is safe toDavid Gwynne
use in other if/else blocks. "yeah" deraadt@
2008-11-05since mmclose() is only called once for the final close,Matthieu Herrb
set ap_open_count = 0 in mmclose() instread of decrementing it. ok miod@, oga@.
2008-11-05syncTheo de Raadt