summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2006-10-24Check strlen(buf) to be > 0 before accessing buf[strlen(buf)-1].Moritz Jodeit
OK ray@ cloder@
2006-10-24syncTheo de Raadt
2006-10-24spelling and typo fixesDavid Krause
2006-10-24first appeared in OpenBSD 4.1 not 4.0David Krause
2006-10-24kill extra spacesDavid Krause
2006-10-24bring back support for -h, -N, -R, and -t.Xavier Santolaria
OK joris@.
2006-10-24timedelta sensors are usually updated very often, but we used to queryHenning Brauer
them only every 30 seconds. now query them every 5,and take the median value from 7 queries as sensor value. this takes outliers out of the equation and makes the overall result much better, especially for sensors with heavy jitter (like nmea for now)
2006-10-24+.Ex -std sedJason McIntyre
2006-10-24Reuse len instead of calling strlen again.Ray Lai
OK xsa@.
2006-10-24Check that string length != 0 before setting buf[strlen(buf) - 1].Ray Lai
OK xsa@.
2006-10-24fix a crash with --statistics. closing file in the wrong place.Ted Unangst
from dasn. ok deraadt
2006-10-24add rthread syscalls and bump minor.Ted Unangst
rthreads are hardly done, but if just trying it out is too much of a hassle, we'll never make more progress. ok brad marc marco mbalmer
2006-10-24respond to ben hawkes's ruxcon presentation.Ted Unangst
create special allocators for pginfo and pgfree structs instead of imalloc. this keeps them separated from application memory. for chunks, to prevent deterministic reuse, keep a small array and swizzle the to be freed chunk with a random previously freed chunk. this last bit only for chunks because keeping arbitrarily large regions of pages around may cause out of memory issues (and pages are, to some extent, returned in random order). all changes enabled by default. thanks to ben for pointing out these issues. ok tech@
2006-10-24Check that string length != 0 before setting buf[strlen(buf) - 1].Ray Lai
OK cloder@.
2006-10-23- remove the TODO comments at the top.Brad Smith
- add the VLAN headers.
2006-10-23Move towards winter.Miod Vallat
2006-10-23Correctly invoke sh_clock_init() [merge error]Miod Vallat
2006-10-23Reduced memory allocations for temporary valuesJordan Hargrave
2006-10-23Attach shb before shpcic, to get us a clock earlier.Miod Vallat
2006-10-23Do not match on non-shpcic config stanza.Miod Vallat
2006-10-23Do not panic on a ddb invocation with curproc == NULL, and don't try toMiod Vallat
userret() either on return.
2006-10-23Add interrupt name, however need to determine if the passed parameter is safeDale Rahn
to store or might be on the stack.
2006-10-23remove detach() function. this is not hotplug and this is dead code.Damien Bergamini
2006-10-23make sure wpi_iter_func() is called at splnet.Damien Bergamini
simplify wpi_dma_contig_alloc(). various cosmetic tweaks while i'm here.
2006-10-23simplify zyd_read_eeprom().Damien Bergamini
2006-10-23add a DIAGNOSTICS section.Damien Bergamini
2006-10-23turn link led off when returning to the S_INIT state.Damien Bergamini
implement fast channel switching for monitor mode.
2006-10-23regression test for getpeereid. okay claudioMarc Espie
2006-10-23make the pflog interface clonable.Henning Brauer
for now, only allow pflog0 to be created. keep an array of ifps to the pflog interfaces with the unit # as index for fast access. if pflog0 does not exist, no logging is done (just like if it is down). on machines without pf enabled, this makes the pflog0 interface go away, on machines with pf, rc sets up pflog0 and starts pflogd, no change there. idea old (pf2k4 or c2k5?), hacked at the hack.lu 2006 conference, ryan ok
2006-10-23fix control message length check, needs CMSG_ALIGN()Henning Brauer
reported by ryo@nerv.org to netbsd, noticed by miod, ok millert
2006-10-23no need to use "keep state" and "flags S/SA" in pf rules,Jason McIntyre
now that it is the default; ok henning mcbride camield (ftp-proxy bits) deraadt
2006-10-23remove trailing space;Jason McIntyre
2006-10-23remove trailing space;Jason McIntyre
2006-10-23use the Sundance TC9021 ids. this was done so that stge(4) will attachBrad Smith
properly with the sample boards and not have dmesg print unknown product.
2006-10-23regenBrad Smith
2006-10-23add the Sundance TC9021 PCI ids.Brad Smith
2006-10-23Change bandit as found in many old world macs to use configuration type 1.Gordon Willem Klok
Alter range calculation to handle bandits dual non contiguous PCI memory spaces. Finally fix a bug whereby if the "AAPL,Interrupts" property is defined the variable intr isn't assigned a value and garbage may be written to the PCI interrupt register. tested by jolan, pedro, drahn and myself, and in snaps for a week. ok drahn, deraadt
2006-10-22more bits of cleanup before marco gets to playTheo de Raadt
2006-10-22'keep state' is now the default.Ryan Thomas McBride
ok jmc
2006-10-22fetch the name of the cd device attached to the atapiscsi scsibus byDavid Gwynne
following the child device that attaches to us. this is cleaner than using the scsibus member of the adapters sc_link to look up the correct unit.
2006-10-22Move the stateful content up to the FILTERING section and flesh it outRyan Thomas McBride
somewhat to reflect the default 'keep state' behaviour of pf.conf. prodding by theo, ok jmc@
2006-10-22strncpy -> strlcpyDavid Gwynne
2006-10-22Set Jumbo frame settings for Jumbo capable bge(4) adapters.Brad Smith
Tested with BCM5700, BCM5703 and some BCM5704's.
2006-10-22recognize the BCM5715 A3 chipset.Brad Smith
2006-10-22regenBrad Smith
2006-10-22add the ASPEED Technology vendor id, AST2000 product id and an NVIDIA MCP55Brad Smith
PCI-ISA bridge.
2006-10-22DMA memory for the TX ring should be aligned at RL_RING_ALIGN,Brad Smith
not RE_ETHER_ALIGN. From tsutsui@NetBSD Tested on alpha/amd64/armish/i386/sparc64
2006-10-22now with the right revision of this diff which compiles. ok pedro, mglocker.Brad Smith
- Ensure that at least 16 TX descriptors are kept unused in the ring. - Use more complete error handling for TX load problems. From scottl@FreeBSD
2006-10-22Fix colormap programming in 4bpp mode.Miod Vallat
2006-10-22word fix; ok norbyJason McIntyre