summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2009-05-05fix for upgrade and vlansTodd T. Fries
noticed by naddy@, tested by me, ok deraadt@
2009-05-05Fix usage string for mknod builtin.Todd C. Miller
2009-05-05Add extents for prefetchable memory mapped I/O. Should remove conflictMark Kettenis
messages for devices using prefetchable memory sitting behind bridges.
2009-05-05use logical or when it's intended to be a logical or; ok krw@Otto Moerbeek
2009-05-05Always specify ssh_config for multiplex tests: prevents breakage causedDarren Tucker
by options in ~/.ssh/config. From Dan Peterson.
2009-05-05remove some debugTheo de Raadt
2009-05-05Add a mechanism to build a false hierarchy of the zoneinfo onTheo de Raadt
the ramdisk
2009-05-05Second step of PG_RELEASED cleanup.Owain Ainsworth
uvm_km deals with kernel memory which is either part of one of the kernel maps, or the main kernel object (a uao). If on km_pgremove we hit a busy page, just sleep on it, if so there's some async io (and that is unlikely). we can remove the check for uvm_km_alloc1() for a released page since now we will never end up with a removed but released page in the kernel map (due to the other chunk and the last diff). ok ariane@. Diff survived several make builds, on amd64 and sparc64, also forced paging with ariane's evil program.
2009-05-05The first step in cleaning up the use of PG_RELEASED for uvm objects.Owain Ainsworth
Now, the PG_ RELEASED flag currently has two (maybe three) uses. The valid one is for use with async io where we want to free the page after we've paged it out. The other ones are "oh i'd like to free this, but someone else is playing with it". It's simpler to just sleep on the damned page instead and stop the fiddling. First step does uao's: in uao_detach, sleep on the object and free it when we're clean, instead of setting a flag so it's freed after. In uao_flush, do the same. Change the interation over the object in flush so that we don't have to add marker pages or other such voodoo to the list when we sleep (netbsd did that when they had a similar diff), just use the hash always. We can now change uao_releasepg() to just free the page, and not bother with the KILLME stuff. When the other objects are fixed this hook will vanish. Much discussion with art@ over the idea, and ariane@ over this specific diff. As mentioned, this one is based loosely on a similar idea in netbsd. Been in my tree for a while, survived many make builds, etc, and forcing paging using ariane's evil program. ok ariane@, beck@.
2009-05-05spaces to tabsTheo de Raadt
2009-05-04Make the http fetcher capable of dealing with more complex index.txt filesTheo de Raadt
2009-05-04pass desired set path to ftplistTheo de Raadt
2009-05-04Instead of keeping two ints in the uvm structure specifically just toOwain Ainsworth
sleep on them (and otherwise ignore them) sleep on the pointer to the {aiodoned,pagedaemon}_proc members, and nuke the two extra words. "no objections" art@, ok beck@.
2009-05-04in IPSEC BRIDGE:Jason McIntyre
- need to explicitly bring bridge0 up; from mpf - final example needs "link2"; from bsd ok mpf
2009-05-04explain which variables belong to daily(8) and which to weekly(8);Ingo Schwarze
while here, recommend to set variables in *.local, not in root/crontab (in preparation for the upcoming next_part diff) ok jmc@
2009-05-04type pedantry.Owain Ainsworth
the type we bind to an iommu or a GART is paddr_t, by definition, on the other hand, the type we get out of it is not a vaddr_t, it's bus_addr_t. fix up sparc64 iommu, amd64 iommu and the sg_dma backedn that uses it to realise this. ok kettenis@
2009-05-04a bit of wordsmithing for the SHA256 messageTheo de Raadt
2009-05-04put codec-specific mixer bits in their own routines andAlexandre Ratchov
reference the code in global envy_card structures. Allows the same mixer code to be shared across differents cards. Will ease adding codec-specific knobs when adding support for new cards.
2009-05-04ok, but the jobs stderr redirect from guenther is goodTheo de Raadt
2009-05-04no, that way of looking at the jobs does not workTheo de Raadt
2009-05-04cleaner job watcher by guentherTheo de Raadt
2009-05-04The strings "x5y" and "-42" are not valid group IDs, so fix the regex,Ingo Schwarze
and fix two pastos in the printf(1) reporting bad group IDs; ok okan@
2009-05-03Prevent the entry of duplicate mount points while in Editor mode.Kenneth R Westerback
ok deraadt@
2009-05-03Get rid of pci_addr_fixup machinery; set up the appropriate extents and passMark Kettenis
them along when we attach pci(4). Simplify the rbus code by using extents too.
2009-05-03On the UltraBook the PROM privides two interrupts for its ccb(4)'s. HandleMark Kettenis
this case by choosing the interrupt that corresponds to the PCI function. Makes the second PCMCIA slot work.
2009-05-03delete XXX comment about upgrades; it should workTheo de Raadt
2009-05-03don't emit spurious error when no network is configured, also fix typos.Stuart Henderson
ok deraadt@
2009-05-03reorganize mixer bits to allow, supporting codec-dependent mixerAlexandre Ratchov
controls later. Also stop using ``next'' and ``prev'' pointers, since they make impossible exposing ``source'' knobs for streams that do not have ``gain'' knobs. This implies renaming ``xxx.source'' knobs to ``xxx_source''. Besides that, no behaviour change.
2009-05-03Oops. Untested over-optimization slipped in, breaking installs.Kenneth R Westerback
2009-05-03Complete overhaul of the PCI bridge initialization. It will now allocateMiod Vallat
resources to cards not configured by the PROM. There are still some shortcomings, but this is a good start. Tested on IP35 with an fxp(4).
2009-05-03Pass 0 as base offset, not -1, for child devices which ignore the value.Miod Vallat
2009-05-03remove dead code and the associated documentationIngo Schwarze
while here, remove the misleading shbang and an unused variable and add the missing cross reference to ac(8) ok sthen@ jmc@
2009-05-03Tune the medium profile to provide more /usr space as 'requested' by beckTheo de Raadt
also make the %'s add up to 100 again, which was part of the problem ok krw otto
2009-05-03A few long standing sh'isms -> ksh'isms.Kenneth R Westerback
2009-05-03Simplify and shrink fstab creation code by putting mount point andKenneth R Westerback
partition info into one string separated by the lexically low value '!' char and sorting those strings. This eliminates an inner loop over partition info. No user visible change.
2009-05-03Avoid clobbering error return values with the result from extent_free(), byMark Kettenis
simply calling iommu_dvma_unload(). Solution suggested by oga@. While there, also unwrap a line that isn't long enough to need wrapping.
2009-05-03Make sure pckbd_scancode_translate() returns a scancode with the break/releaseMiod Vallat
bit set if needed, in all cases. This fixes rawkbd operation on controllers which require the kernel to perform scancode translation. Found by and ok kettenis@
2009-05-03Discovering an extended MBR partition and setting 'wander' to 1Kenneth R Westerback
should not stop the spoofing process. Setting 'wander' means when we are done with this MBR, read the next one. Problem noted and fix tested by Nick Guenther. ok weingart@ (I think), deraadt@
2009-05-03Use the new ftplist backend which tries to intelligently provide you withTheo de Raadt
the ftp server you probably want to use. Some XXX's in the code still; please report issues to me. ok krw
2009-05-03Simplify things by putting extra swap partitions in the fstab asKenneth R Westerback
they are discovered rather than keeping a list and appending it to the end of the fstab. No impact unless you configure extra swap partitions. ok deraadt@
2009-05-03Fix signed vs unsigned issue with memcmp/strncmp where the size parameterDale Rahn
was incorrectly being treated as signed. ok miod@
2009-05-03Hinge at the natural rollover point 9999x instead of 1024x when switching toDale Rahn
the next unit K->M->G. ok deraadt@
2009-05-03need sleep here, tooTheo de Raadt
2009-05-03the _oifs variables should be local; spotted by Alexander HallTheo de Raadt
2009-05-03Remove an XXX handled in the previous 5 lines of codeTheo de Raadt
2009-05-03We will need bin/sleep on all ramdisks.Theo de Raadt
2009-05-02Let ioc(4) decide which child devices to attach depending on its identificationMiod Vallat
information, instead of trying to attach whatever is defined in the kernel configuration file.
2009-05-02More progress taming the xbow and the pci bridge; still needs code to write,Miod Vallat
but (currently commented out) code makes isp happier on IP27 and IP35, to the point of seeing disks (but considering them offline so far).
2009-05-02Explain why the short window of widget #0 needs to be accessed through aMiod Vallat
large window IOTTE.
2009-05-02More KL configuration structures.Miod Vallat