summaryrefslogtreecommitdiff
path: root/sys
AgeCommit message (Collapse)Author
2010-05-24Unify the dependency time check for whether an architecture has SFILESTheo de Raadt
2010-05-24stupid typo snuck inTheo de Raadt
2010-05-24CPP and TOUCH are not usedTheo de Raadt
2010-05-24typo regarding __mach__Theo de Raadt
2010-05-24Correctly recognise extended partitions created prior to the addition ofJoel Sing
sl_uid. Fix tested by okan@. ok deraadt@
2010-05-24sync to hppa: Add missing prototypesTheo de Raadt
ok kettenis
2010-05-24Add missing prototypesTheo de Raadt
ok jsing kettenis
2010-05-24Reduce differences between the Makefile.* files for all architectures.Theo de Raadt
ok various people, tested by fewer people, tested by me on 15.
2010-05-24We sometimes compile kernels with -Wvariable-decl because it makes usTheo de Raadt
happier regarding potential kernel stack overflows, so just use the (small) maximum buffer size in one case. ok marco
2010-05-24Flush cache before suspend.Mark Kettenis
ok krw@, marco@
2010-05-24removed prototypes for functions that were removed.David Gwynne
patch from matthew dempsky
2010-05-24atascsi may (will) reuse ata_xfers, meaning the xa state thatDavid Gwynne
ahci_ata_cmd is called with might be the state of the xfer that ahci set previously. this stops ahci_ata_cmd from checking the state of ata_xfers its given, and instead trusts that atascsi is doing the right thing. reported and fix tested by matthew dempsky, who also did an awesome job of tracing the problem.
2010-05-24remove bpfdetach() here, because it is called correctly in if_detach()David Gwynne
afterwards diff from gleydson soares ok claudio@
2010-05-24there is no reason for one MAXPHYS definition to be different from all the ↵Theo de Raadt
others
2010-05-24Remove the drm drivers that are not enabled (and have never been so).Owain Ainsworth
For now they are unmaintained, and work on kernel modesetting has very large inferface changes needing to be made. Also, when the radeon driver has been converted over, we will no longer support X with the DRI1 protocol, only DRI2. When the upheaval has finished, these drivers may be brought back after work to switch them to DRI2 style memory management and kernel modesetting has been done, but until then they are unsupported and probably broken (i know at least two of them have been reported broken before now). ragedrm will likely come back as a component of radeon (their interfaces are still fairly similar). The other drivers require rewriting. I have been threatening to do this for over a year. Discussed with deraadt@ and matthieu@ at various points since then.
2010-05-23seteconf() died years agoTheo de Raadt
2010-05-23#ifdef arc is just too common, but I don't know how to extract this correctlyTheo de Raadt
so make that __arc__ for now, to avoid collisions ok miod
2010-05-23Does not need -Dloongson, and instead, but -D__loongson__ is nice since that isTheo de Raadt
the mach (arch is mips64). Also move towards passing $PARAM around in CPPFLAGS, instead of compiling param.c in a special way, as discussed with miod
2010-05-23Does not need -Dlandisk, and instead, but -Dlandisk is nice since that isTheo de Raadt
the mach (arch is sh). Also move towards passing $PARAM around in CPPFLAGS, instead of compiling param.c in a special way, as discussed with miod
2010-05-23Move towards passing $PARAM around in CPPFLAGS, instead of compiling param.cTheo de Raadt
in a special way, as discussed with miod
2010-05-23no need for -Dhppa or -Dhppa64 on these architecturesTheo de Raadt
2010-05-23Move towards passing $PARAM around in CPPFLAGS, instead of compiling param.cTheo de Raadt
in a special way, as discussed with miod
2010-05-23no need for -D__i386__ since it is supplied by the compiler.Theo de Raadt
Also move towards passing $PARAM around in CPPFLAGS, instead of compiling param.c in a special way, as discussed with miod
2010-05-23no need for -Dx86_64 or -Damd64, since __amd64__ is supplied by theTheo de Raadt
compiler. Also move towards passing $PARAM around in CPPFLAGS, instead of compiling param.c in a special way, as discussed with miod
2010-05-23alpha does not need to -DalphaTheo de Raadt
2010-05-23remove another piece of ancient #ifdef arc codeTheo de Raadt
2010-05-23fix another signed/unsigned slipt. no functional change. I hate thisOwain Ainsworth
header. Found by Clang static analyser.
2010-05-23can use __${mach}__ and do not need -Dmc68020 anymoreTheo de Raadt
2010-05-23mac68k can move to defining __mac68k__ insteadTheo de Raadt
2010-05-23luna88k moves to defining __luna88k__ insteadTheo de Raadt
2010-05-23toast __arc__; we gave up on that platform around a decade agoTheo de Raadt
2010-05-23missing dkio.h includes; ok krw@Christian Weisgerber
2010-05-23move hp300 to -D__hp300__; ok miodTheo de Raadt
2010-05-23rely on __alpha__ instead of alphaTheo de Raadt
2010-05-23rely on __alpha__, __amd64__, and __i386__ insteadTheo de Raadt
2010-05-23rely on __sparc__ insteadTheo de Raadt
2010-05-23syncTheo de Raadt
2010-05-23use __alpha__ not alpha for the ifdefTheo de Raadt
2010-05-23add dkio.h to the last of the disk ioctl users i can find.David Gwynne
requested by deraadt@ who was rightly disparaging of my grep skillz.
2010-05-23Place drive in standby mode before shutdown. Avoids the loud click heard onMark Kettenis
many laptops when powering them down. ok jsg@, oga@, krw@
2010-05-22Remove instruction TLB purges for direct mappings that will never have theMark Kettenis
X bit set.
2010-05-22this is amd64, not i386, and the protection was all bustedTheo de Raadt
2010-05-22macppc never has i386 defined; ok drahnTheo de Raadt
2010-05-22protection should use the upper case namesTheo de Raadt
2010-05-22Blank lines at the start of a function are so .Nx.Mark Kettenis
2010-05-22missing dkio.h includesTheo de Raadt
2010-05-22remove the last #ifdef hp300, and unused hp700 code as well; ok miodTheo de Raadt
2010-05-21Fix a locking problem in mincore where it was possible for us to sleepOwain Ainsworth
with a spinlock (even vslocked() buffers may fault in the right (complicated) situation). We solve this by preallocating a bounded array for the response and copying the data out when all locks have been released. ok thib@, beck@
2010-05-21defintion -> definition.Miod Vallat
2010-05-21Make compile with NBIO = 0Marco Peereboom