summaryrefslogtreecommitdiff
path: root/sys
AgeCommit message (Collapse)Author
2007-05-08process_s87_to_xmm() is only needed if PTRACETheo de Raadt
2007-05-08struct mount *rootfs is never usedTheo de Raadt
2007-05-08lockmgr_printinfo() is only called from #ifdef DIAGNOSTIC positions, so ↵Theo de Raadt
#ifdef DIAGNOSTIC it too
2007-05-08#ifdef notdef functions which are only called in #ifdef notdef contextsTheo de Raadt
2007-05-08cpu_init() is only used for the MP case (for now)Theo de Raadt
2007-05-08all scsidebug_*-using code is under #ifdef, so the variables themselves ↵Theo de Raadt
should be too
2007-05-08places they get called are #ifdef notdef, so the code itself can be tooTheo de Raadt
2007-05-08rl_detach() is only used for cardbus caseTheo de Raadt
2007-05-08variables used by #ifdef code should be inside #ifdef tooTheo de Raadt
2007-05-08rtalloc2() and rtalloc_noclone() inside NPF > 0Theo de Raadt
2007-05-08wdcrestart() is never usedTheo de Raadt
2007-05-08ahb_debug should be inside #ifdef AHBDEBUGTheo de Raadt
2007-05-08atapi_print() is never usedTheo de Raadt
2007-05-08old school media handling is no longer used; ok jsgTheo de Raadt
2007-05-08remove more junk in the setroot() code pathTheo de Raadt
2007-05-08Needs an extern decl for generic soft interrupts platforms.Miod Vallat
2007-05-08make a start at dealing with interface flags. this toggles the hardwareDavid Gwynne
promiscuity depending on the if_flags IFF_PROMISC bit.
2007-05-08add the multicast filter registersDavid Gwynne
2007-05-08write the mac back to the chip when we bring it up.David Gwynne
2007-05-08ami chips have no mechanism to take commands off them once we've submittedDavid Gwynne
them. this means that we cant reliably complete an io before the chip says we can because it can possibly complete later and overwrite memory it no longer owns, or write garbage to disk. so this diff forces the timeout on a scsi io to be as long as the chip should ever take, which is sixty seconds. after much discussion with marco we also decided to add a bit more so the time spent in the software runq wouldnt affect the ios lifetime too much. instead of completing ios out of the timeout, this simply warns the operator to check the state of the volumes if things are starting to slow down. ok marco@
2007-05-08Remove cross-compiling stuff that is neither correct nor should have been ↵Artur Grabowski
committed.
2007-05-08First step in making the SCHED_LOCK not recursive.Artur Grabowski
- Defer the sending of SIGCHLD and waking the parent when a process goes to sleep. We set a flag in the process "P_STOPPED" and schedule a timeout that checks all processes for this flag and sends SIGCHLD and wakes the parent on those processes that have this flag set. - Delay the waking of the parent in psignal on SIGCONT until we've released the SCHED_LOCK at the end. - In issignal, check for P_SINTR as a way to see we were called from the tsleep path with SCHED_LOCK locked and don't skip locking in that case. (This is slightly ugly, but it works until we have some better way). miod@ ok (after finding and fixing an MD bug on sgi)
2007-05-08Switch sparc to __HAVE_CPUINFO.Artur Grabowski
miod@ tested (since I hacked it up blindly) and ok.
2007-05-08regenRobert Nagy
2007-05-08add Radeon RX1650 XT, Radeon RX1650 XT Secondary and SoundBlaster X-FiRobert Nagy
2007-05-08correct dmesg outputTheo de Raadt
2007-05-08turn off SIOP_STATS; ok krwTheo de Raadt
2007-05-08no need to print boot device name twiceTheo de Raadt
2007-05-08uninitialized variable passed to setroot()Theo de Raadt
2007-05-08dc_detach() is only used by cardbus code, so move it there; ok jsgTheo de Raadt
2007-05-07shrink code by not using __inline without static; ok kettenisTheo de Raadt
2007-05-07Remove symbols already defined in <sys/limits.h>; unbreaks build on sgi.Mark Kettenis
ok miod
2007-05-07Check for astpending in u_general (userland traps) in addition to u_intrMiod Vallat
(hardware interrupts occuring while cpu is in usermode), fixes regress/sys/kern/sig-stop on sgi.
2007-05-07Garbage collect ci_astpending; it's no longer used.Mark Kettenis
ok miod@, art@
2007-05-07floating unused variable (except in debug case)Theo de Raadt
2007-05-07Move sgo to __HAVE_CPUINFO.Mark Kettenis
ok miod@
2007-05-07UCHAR_MAX and USHRT_MAX should not have a 'U' suffix.Todd C. Miller
That is only needed for constants that would not fit in a signed int. This is also consistent with UINT8_MAX and UINT16_MAX. Fixes PR 5467, submitted by ikz isr.
2007-05-06garbage collect release_fpu() and synchronize_fpstate()Martin Reindl
2007-05-06Whack "No counter-timer" message. These days, most UltraSPARC cpu's don'tMark Kettenis
have one. ok deraadt@
2007-05-06do not fill RTAX_GATEWAY for RTM_DELETE, ok claudioHenning Brauer
2007-05-06point the macros for the interrupt coalescing registers at the rightDavid Gwynne
location. they moved from what the doco says to somewhere else. pointed out by Nadav Shemer (thanks)
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-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-05#include <sys/lock.h> not needed. i.e. these compile fine without it.Kenneth R Westerback
2007-05-05malo_hexdump() is only used by code under MALO_DEBUG, so ifdef itJonathan Gray
ok mglocker@ claudio@