summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2010-08-04Remove mentions of weird "addr/port" alternate address format for IPv6Damien Miller
addresses combinations. It hasn't worked for ages and we have supported the more commen "[addr]:port" format for a long time. ok jmc@ markus@
2010-08-03Trivial patch to get correct spacing from the recently introducedIngo Schwarze
user-defined string \*(Pu (punctuation character list) by using non-breaking non-compressing instead of normal spaces. Works with mandoc, new groff and even with old groff. Tree is locked, but deraadt@ says i'm still allowed to polish manuals.
2010-08-03if interrupt mapping fails, say soJacob Meuser
ok deraadt
2010-08-03Remove old code that figures out the PCI bus number. The new code gets someMark Kettenis
corner cases right that the old code messed up. As a bonus, this noticibly speeds up booting my Dell XPS M1330. ok deraadt@, marco@, jordan@
2010-08-03that had to be addedHenning Brauer
2010-08-03no special registers to restore on via chips eitherTheo de Raadt
2010-08-03regenMiod Vallat
2010-08-03Create two more usb device nodes by default, as modern Apple hardwareMiod Vallat
(among others) attaches *eight* uhub devices. From remco at d-compu, dyndns org; ok deraadt@
2010-08-03Don't attempt to set the read or write caches on usb disks. ItKenneth R Westerback
breaks at least one previously working device, as discovered by naddy@. dlg@ confirmed other kernels also avoid attempting this operation on usb disks. ok dlg@ deraadt@
2010-08-03fix linecount bug with comments spanning multiple linesHenning Brauer
problem reported with the obvious fix for bgpd by Sebastian Benoit <benoit-lists at fb12.de>, also PR 6432 applied to all the others by yours truly. ok theo isn't it amazing how far this parser (and more) spread?
2010-08-03Bring the suspend/resume code of all the Intel wireless drivers in line withMark Kettenis
iwn(4) again. ok deraadt@
2010-08-03missed one if (continued) test, so simplify logic: test continue beforehand.Marc Espie
fixes display after ^Z/fg. (problem pointed out by Theo)
2010-08-03Add busy flag so that we don't act on a SCI until a command in progressMarco Peereboom
completes. Written with jordan. ok deraadt
2010-08-03Add support for 82576 fiber adapters based on Intel code in FreeBSD.Jonathan Gray
Thanks to Frédéric URBAN for setting up a test network to develop this on. Tested by various people on copper adapters and fiber support also tested by mickey. ok deraadt@
2010-08-03Use the proper flag for re-enabling certain hardware events (power btn,Mike Larkin
sleep btn). The (incorrect) flag prevoiously used coincidentally had the same value, so this shouldn't cause any different behavior than before. tested on a variety of machines (i386, amd64, sp, mp) - no behavioral change seen ok deraadt@
2010-08-03Disable hardware VLAN stripping/insertion on 8257[56] for now. WhileJonathan Gray
stripping works insertion seems to have trouble in certain conditions, which needs to be fixed before we want to enable hardware support for this. ok deraadt@
2010-08-03Correct use of logical and where binary and was intended.Jonathan Gray
Spotted by lint, but mirrors a similiar change in the original FreeBSD code from over a year ago. ok deraadt@
2010-08-03shrink! :)Marc Espie
2010-08-03sort journal messsages in a better way, put - before +, so that one canMarc Espie
see deinstall info before new install info (prompted by a comment from tedu@)
2010-08-03bug-fix: during updates, only set oldfound after we found a matching pkgpath.Marc Espie
that way, we detect pkgpath problems as "can't update" instead of silently ignoring them (gconf2 issue).
2010-08-03use proper log idiom (blanket okay from theo for pkg_add careful changes forMarc Espie
the time being)
2010-08-03Save/restore BLC_HIST_CTL as well at suspend/resume time; which allowsTheo de Raadt
the x40 LCD to light up after unsuspend. https://bugzilla.kernel.org/attachment.cgi?id=23409 https://bugzilla.kernel.org/show_bug.cgi?id=10985 ok oga
2010-08-03When the target pointer 'pwcs' passed to mbsrtowcs() is NULL, mbsrtowcs()Stefan Sperling
is supposed to ignore the 'n' parameter and return the number of wide characters needed to represent the given multi-byte character sequence. However, in the special case where 'pwcs' is NULL and 'n' is zero, our mbsrtowcs() implementation for single-byte locales mistakenly returned zero. Before the UTF-8 locale was added, this bug was invisible to callers of mbstowcs() because mbstowcs() handled this special case itself. But our new mbstowcs() implementation simply forwards to the locale-specific mbsrtowcs() implementation and expects it to do the right thing. The "awesome" window manager's "Run:" command prompt uses mbstowcs() to measure how many (possibly multi-byte) characters a user has typed, and due to this bug would always be tricked into thinking the user had entered zero characters when a single-byte locale was used. Found after prodding by dcoppa. ok deraadt sthen espie
2010-08-03Fix a usage of logical and where binary and was intended.Jonathan Gray
Spotted by Mike Belopuhov. ok jsing@ deraadt@
2010-08-03Fix a leak in ypldap. Found (and correct diff) fromPierre-Yves Ritschard
plalonde (at) overnet.qc.ca Prompted by deraadt@
2010-08-03matthew did not commit the diff he passed around for us to inspect...Theo de Raadt
repair that situation. Darn newbies...
2010-08-03If an asynchronous request invalidates a buf, then we might remove itMatthew Dempsky
from its vnode's buffer cache in an interrupt context. Therefore we need interrupt protection when searching the buffer red-black tree. ok deraadt@, thib@, art@
2010-08-03Group string comparisons and supply more helpful comments. AddKenneth R Westerback
"total sectors" to "boundstart" and "boundend" in the list of fields that are left alone during a RESTORE operation. ok deraadt@
2010-08-03Start with the default label when RESTORE'ing a saved ascii label.Kenneth R Westerback
This ensures that all physical fields are filled in with current values. Lack of values (boundstart, boundend in particular) noted by ray@. ok deraadt@
2010-08-03tweaks from jmc@:Ingo Schwarze
* correct a few obvious mistakes * adopt some of jmc@'s recent changes to man(7) * cut down just a little on the awful tendency to stick a hyphen between two words. "yes" deraadt
2010-08-02Handle USB_GET_REPORT, USB_GET_REPORT_DESC, USB_GET_REPORT_ID andMiod Vallat
USB_SET_REPORT ioctls in ukbd and ums. This allows usbhidctl to be used on these devices e.g. to dump the report descriptor of troublesome models. ok deraadt@
2010-08-02Don't refer to xs->cmd, even via a pointer to xs->cmd, after xs hasKenneth R Westerback
been put back in the pool. Fixes Daniel Dickman's ses device. ok matthew@ deraadt@
2010-08-02Make MHZ_TO_PLL safer to use by adding parenthesis. Fixes a potential issueMark Kettenis
in agten(4) uncovered by gcc4. ok miod@, deraadt@
2010-08-02Fix knote handling for exiting processes: when triggering a NOTE_EXITPhilip Guenthe
knote, remove it from the process's klist; after handling those, remove and drop any remaining knotes from the process's klist. Ban attaching knotes to processes that have started exiting or attaching them via the pid of a thread other than the main thread. ok tedu@, deraadt@
2010-08-02There is no reason to call the start function upon resume; the network stackMark Kettenis
is perfectly capable to get things going again all by itself. ok deraadt@
2010-08-02There is no reason to call the start function upon resume; the network stackMark Kettenis
is perfectly capable to get things going again all by itself. ok damien@, deraadt@
2010-08-02The EC GPE is always edge. edge interrupts have their STS bit resetTheo de Raadt
at interrupt reception; level interrupts have STS cleared when processing is complete. Since the STS has already been reset at interrupt reception we should not reset late.. Found by marco
2010-08-02Add System Enclosure or Chassis structure.Marco Peereboom
ok deraadt
2010-08-02syncTheo de Raadt
2010-08-02enable owctrTheo de Raadt
2010-08-02Quirk for USB_PRODUCT_MICROSOFT_WLINTELLIMOUSE turns out not to beMiod Vallat
required; PR 6436 ok deraadt@
2010-08-02Only open with O_RDWR if we are actually chaging a report descriptor, otherMiod Vallat
operations only need O_RDONLY. ok blambert@ deraadt@
2010-08-02jmicron code was writing to the wrong register; ok jsgTheo de Raadt
2010-08-02Ignore SIGPIPE, the delivery of which prevented /usr/sbin/sendmail fromJacek Masiulaniec
relaying the server diagnostic back to the user (eg. "500 Line too long").
2010-08-02Suppress MAKEDEV warnings about 'unknown device' that can appearKenneth R Westerback
during upgrades when /etc/fstab is using disklabel UID's to mount partitions. Feedback & trash elimination from halex@ "That seems acceptable to me" deraadt@
2010-08-02Prevent illegal struct casting by moving AF_INET/AF_INET6 addressMatthew Dempsky
family checks before calling ifatoia/ifatoia6. ok deraadt@, dlg@, mcbride@
2010-08-02Show PCIe link speed/width, earlier version ok miod@/kettenis@ thenJonathan Gray
tweaked to show both negotiated and capable as well as fixing a mask after comments from damien@ ok deraadt@
2010-08-02Fix use of logical and where binary and was intended.Jonathan Gray
Spotted by Mike Belopuhov, ok yasuoka@
2010-08-02Save/restore more registers at suspend/resume for those chips which lookTheo de Raadt
like they need it. (Or don't, when it appears they don't need it)
2010-08-02correct header file stuff; pointed out by teduTheo de Raadt