summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2007-06-17Stop using disklabel -r. The disklabel code does not know all the semanticsTheo de Raadt
for pushing disklabels onto the disk (and besides that, it is buggy and unreadable crap); thanks for help from krw
2007-06-17significantly simplified disklabel infrastructure. MBR handling becomes MITheo de Raadt
to support hotplug media on most architectures. disklabel setup and verification done using new helper functions. Disklabels must *always* have a correct checksum now. Same code paths are used to learn on-disk location disklabels, to avoid new errors sneaking in. Tested on almost all cases, testing help from todd, kettenis, krw, otto, dlg, robert, gwk, drahn
2007-06-16astro(4)'s iommu does cache-coherent DMA.Mark Kettenis
2007-06-16Add three new firmware commands to set authentication, set rate adaption,Marcus Glocker
and tune several 802.11 parameters.
2007-06-16syncTheo de Raadt
2007-06-16move global declaration of ieee80211_merge_print_intvl into the onlyDamien Bergamini
function that uses it.
2007-06-16must size a and c correct, tooTheo de Raadt
2007-06-16Add a few more registers.Mark Kettenis
2007-06-16OK, landisk needs NUMBOOT=1Theo de Raadt
2007-06-16i386/amd64/zaurus/landisk are not NUMBOOT=1 or NUMBOOT=2 architectures.Theo de Raadt
the result was occasional disklabel trashing as a result of disklabel -r, and perhaps other requests to the command; ok krw
2007-06-16rdroot cylinder count was out of sync with the ramdisk kernels; spotted by ↵Theo de Raadt
krw running my diagnostics
2007-06-16do not allocate ring descriptors for the service queue.Damien Bergamini
this queue is used to load the firmware and the descriptors are written differently (in wpi_load_segment()). so the DMA descriptors were actually unused. saves 16KB of memory.
2007-06-16remove stupid macro.Damien Bergamini
2007-06-16ieee80211_lookup_node() does not exist.Damien Bergamini
remove prototype in .h and ref in man pages.
2007-06-16constifyDamien Bergamini
2007-06-16introduce new stuff: @tag, to be used to tag files and other objects.Marc Espie
Only one tag for now: no checksum. Will supersede @comment no checksum eventually. Benefit: errors out in case of a typo.
2007-06-16don't mix u_int{8,16,32}_t and uint{8,16,32}_tDamien Bergamini
use u_int{8,16,32}_t everywhere.
2007-06-16de-staticDamien Bergamini
ok jsg@
2007-06-16Add variation on exec/unexec:Marc Espie
@exec-always @unexec-always @exec-add @unexec-delete @exec-update @unexec-update with the obvious semantics that *update are only run during updates, and *add/delete are only run during `pure' additions/removals. This should solve the problem of those packages that `lose' manual configuration when you update them (e.g., all the mod_xxx apache stuff and postfix). caveat: you will need to go through one finaly broken update before the new stuff kicks in.
2007-06-16no reason for special handling of USE_SYSTRACE. We do not explainMarc Espie
how to set other user settings either.
2007-06-16FTP_KEEPALIVE as a crude interface to ftp -k. To be thought out later.Marc Espie
this is just an experiment.
2007-06-16use OpenBSD::Paths contentsMarc Espie
2007-06-16implement a `keep-alive' option that sends bytes over an inactiveMarc Espie
connection. The FTP protocol provides us with a NOOP operation that is perfectly suitable for that, and so far servers are happy with it. Sending the command slowly is an idea I borrowed from spamd. No change for people not using the option, so it can't break normal ftp. okay beck@, jmc@
2007-06-16Enable iophy(4) for fxp(4). From brad.Mark Kettenis
2007-06-16INTMAX_TYPE and UINTMAX_TYPE are always in terms of long long onTodd C. Miller
OpenBSD, regardless of the size of a long. OK kettenis@ espie@
2007-06-16When EOVERFLOW was added, it broke the zaurus bootblocksTheo de Raadt
2007-06-15disable softraid (because ↵Theo de Raadt
sr_boot_assembly->readdisklabel->readdoslabel->biowait) is what happens on late-cold architectures. something else has to be fixed first before that is permitted, i guess.
2007-06-15Check that sc_notify actually points to something before attempting to callGordon Willem Klok
it. Fixes marco@'s post c2k7 panics. ok marco
2007-06-15don't use static data in recursive functions; from FreeBSD; fixes PR 5509Otto Moerbeek
and other reports about dump accessing wrong blocks; ok beck@ deraadt@
2007-06-15Douglas Adams was a Mac fan, but we don't discriminate.Matthias Kilian
ok jasper@, simon@, who managed to get their ok's trapped in my spam folder for yet unknown reasons.
2007-06-15Drop the current random timestamps and the current ISN generationMarkus Friedl
code and replace both with a RFC1948 based method, so TCP clients now have monotonic ISN/timestamps. The server side uses completely random ISN/timestamps and does time-wait recycling (on port reuse). ok djm@, mcbride@; thanks to lots of testers
2007-06-15In power_match(), make sure oa_irq is correctly initialized.Miod Vallat
2007-06-15keep trailing slashes in path normalization, as these might result inNikolay Sturm
errors otherwise hidden by systrace noticed by naddy, ok ray on an earlier version of this diff
2007-06-15Replace the USB_USE_SOFTINTR macro with __HAVE_GENERIC_SOFT_INTTERUPTSMarc Balmer
(which was used to define USB_USE_SOFTINTR). No binary changes. ok dlg, mk.
2007-06-15in pf_test_rule, before handling IPPROTO_ICMP / IPPROTO_ICMPV6, check thatHenning Brauer
the packet is of the expected address family (AF_INET / AF_INET6). crafted IPv4 packets with IPPROTO_ICMPV6 can make us crash otherwise. misbehaviour provoked by Adrian Close <adrian@close.wattle.id.au> playing with nmap; he also helped us big time debugging the problem. thanks! ok ryan
2007-06-15more (*&@#$ timeout.h falloutTheo de Raadt
2007-06-15syncTheo de Raadt
2007-06-15the multicast filter is operated on as an array of u_int16_t's, not theDavid Gwynne
u_int32_t's like its described as in the chip descriptors. fixing this stops the driver from overwriting the field next to the multicast filter that specifies the number of tx descriptors we give the nic. we were accidentally telling the chip we had 32 thousand tx descriptors when we only have 100. trying to complete the 101th tx descriptor causes panics.
2007-06-15permit this to compile againTodd T. Fries
looks right krw@, Righto miod@
2007-06-15Don't truncate interface name.Ray Lai
Fixes PR 5460. OK deraadt, agreed with by krw.
2007-06-15no need to include machine/disklabel.h when sys/disklabel.h is alreadyTheo de Raadt
pulled in. look at how doing it in one architecture gets that code copied to the derivative architectures... amazing..
2007-06-14when waiting for the multiplex exit status, read until the master endDamien Miller
writes an entire int of data *and* closes the client_fd; fixes mux regression spotted by dtucker, ok dtucker@
2007-06-14handle EINTR when waiting for mux exit status properlyDamien Miller
2007-06-14Forgotten hackton diff: bounds check for seek on special devicesOtto Moerbeek
with a disklabel. Original diff from pedro@; ok pedro@ deraadt@
2007-06-14put Edvard Grieg like the other composers in .musicJasper Lievisse Adriaanse
from minusf@obiit.org
2007-06-14Update to tzdata2007f from elsie.nci.nih.gov.Todd C. Miller
2007-06-14bzero the right thingTheo de Raadt
2007-06-14preserve the possible route label if the route belongs to the carpReyk Floeter
interface (ip-less parent). tested by claudio and me ok claudio@
2007-06-14unbreak tree after untested timeout.h deletionsTheo de Raadt
2007-06-14Prettier dmesg; requested a long time ago by deraadt@.Alexander Yurchenko