summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2007-05-06Save and restore signals once instead of each time fork fails withRay Lai
EAGAIN.
2007-05-06at least always print a new line, even if NOPSSTed Unangst
2007-05-06More lockmgr -> rwlock low hanging fruit.Kenneth R Westerback
ok dlg@
2007-05-06Add the mp setperf mechanism to AMD64, like its i386 counterpart it allowsGordon Willem Klok
all cpus in a system supporting frequency and voltage scaling to be scaled by the same amount corresponding to the user (or apmd on their behalf) performance level. This diff also teaches amd64 about acpi_hasprocfvs (ACPI has processor frequency and voltage scaling). It also moves initilization of the underlying setperf mechanism such as powernow to mainbus from the cpu indentification and initilization code inspired by similar changes dim@ made to i386 durring h2k6. This is necessary to implement the AMD recommended method for retreiving p_state data from the ACPI _PSS object (a diff comming soon). It will also simplify the potential addition of enhanced speedstep as found on newer intel processors with EMT64 capable of running OpenBSD/amd64. MP setperf functionality verifed by myself and Johan M:son Lindman <tybolt AT solace DOT miun DOT se> on opteron 265 and 270 systems respectively. General testing done by many others thanks! ok tedu, dim
2007-05-06typoDavid Gwynne
2007-05-06bcd.c diedTheo de Raadt
2007-05-06syncTheo de Raadt
2007-05-06Grammar.Ray Lai
2007-05-05Do not rely on fs_cpg; this is especially important for ffs2 whichTodd C. Miller
does not use fs_cpg at all. From FreeBSD. OK otto@
2007-05-05Add support for ffs2 and a new flag, -m, which will output aTodd C. Miller
newfs command that can be used to make a filesystem with the same settings. OK otto@
2007-05-05simple single-processor only mutex implementationMartin Reindl
ok miod@
2007-05-05Directly map IPL_xxx in terms of ALPHA_PSL_IPL_xxx values, and implementMiod Vallat
splassert. ok art@ martin@
2007-05-05Kill a log message which looks like an error message but is actuallyChad Loder
both meaningless and harmless. ("nat_t_check_vendor_payload: bad size") ok todd
2007-05-05remove code for -W, argument now a no-op; ok millert@Kevin Steves
2007-05-05#include <sys/lock.h> not needed. i.e. these compile fine without it.Kenneth R Westerback
2007-05-05Provide hook so that rthreads can provide a spinlock to protect from racesDale Rahn
in lazy binding. ok art@, kurt@
2007-05-05malo_hexdump() is only used by code under MALO_DEBUG, so ifdef itJonathan Gray
ok mglocker@ claudio@
2007-05-05Remove axe_rxstart() which is an uneeded leftover from the FreeBSD version.Jonathan Gray
2007-05-05move xl_detach() -- which is only used by cardbus -- to the cardbus code.Theo de Raadt
ok jsg
2007-05-05No more vn_access.Artur Grabowski
2007-05-05disk_resetstat and disk_find are gone.Artur Grabowski
2007-05-05Kill disk_find and disk_resetstat that noone uses. If you ever needArtur Grabowski
them, they are still in cvs.
2007-05-05Properly ifdef debug bits to save a bit of space.Jonathan Gray
ok reyk@
2007-05-05Define MUTEX_OLDIPL where they were missing, will be used (reasonably) shortly.Miod Vallat
2007-05-05vn_access hasn't been used for ages and it's just a wrapper withArtur Grabowski
locking around VOP_ACCESS. It can go.
2007-05-05Simple single-processor only mutex implementation.Miod Vallat
2007-05-05set up new way to define COMMENTS, to be able to remove some stuff fromMarc Espie
the ports' infrastructure.
2007-05-05ditch extra param to copy_subst, now that it's constant.Marc Espie
2007-05-05use copy_subst_fhMarc Espie
2007-05-05reorg tests to simplify logicMarc Espie
2007-05-05split copy_subst to allow for existing filehandle.Marc Espie
2007-05-05Localize variables and don't do anything after exit().Ray Lai
OK espie@, moritz@, and jaredy@.
2007-05-05disable the interrupts on interface shutdownReyk Floeter
2007-05-05allocate dma memory, setup rx/tx/status rings, initialize the ringReyk Floeter
context, and enable interrupts. it is not yet ready - i still need to implement the rx/tx handlers, handle the producer/consumer ids, and make it work.
2007-05-04syncTheo de Raadt
2007-05-04lockmgr -> rwlock.Kenneth R Westerback
"reads good" art@ ok marco@
2007-05-04when we are in ramdisk mode, we must also disable any previous mountrootTheo de Raadt
setting that pre-setroot() code did (for instance a network boot) found by phessler, tested by reyk
2007-05-04the hardware does checksumming on rx as well. mark the mbufs with what theDavid Gwynne
hw says.
2007-05-04Faster pmap_extract() code for pmap_kernel, from NetBSD.Miod Vallat
2007-05-04advertise tx checksumming to the network stack, and tell the hardware toDavid Gwynne
do it.
2007-05-04more locc() diesTheo de Raadt
2007-05-04locc dies; spotted by miodTheo de Raadt
2007-05-04increase the number of tx and rx descriptors from 64 to 128 eachDavid Gwynne
2007-05-04locc() is dead, spotted by miodTheo de Raadt
2007-05-04move bcd tables to the only place that uses them (the unused mcd driver);Theo de Raadt
ok miod
2007-05-04call the right function to fill the rxf fifo after rxdDavid Gwynne
2007-05-04disable debugging outputDavid Gwynne
2007-05-04put more rx descriptors back on the chip straight after we've taken someDavid Gwynne
off.
2007-05-04wrap the wptr round when we hit the end of the fifo.David Gwynne
2007-05-04remove strcpy and strcat from the kernel; they are dead and unused code.Reyk Floeter
(OpenBSD does not use strcat/strcpy in the kernel, if people do it in external modules they should update their code) ok deraadt@