summaryrefslogtreecommitdiff
path: root/sys
AgeCommit message (Collapse)Author
2009-12-11regenMark Kettenis
2009-12-11Add some missing Intel Q45 Manageability Engine stuff. From a dmesgMark Kettenis
submitted by dlg@.
2009-12-11Two cases of IPSEC getsockopt() returning two bytes of uninitialializedTheo de Raadt
kernel stack content instead of proper information; found by Clement LECIGNE
2009-12-11By popular demand and peer pressure, check-in work in progress work to supportMiod Vallat
the Yeelong Lemote mips-based netbook. Kernel bits only for now, needs polishing; most of this work done during h2k9 last month, although the porting effort started earlier this year.
2009-12-11By popular demand and peer pressure, check-in work in progress work to supportMiod Vallat
the Yeelong Lemote mips-based netbook. Kernel bits only for now, needs polishing; most of this work done during h2k9 last month, although the porting effort started earlier this year.
2009-12-11sync.Owain Ainsworth
2009-12-11When i filled in these pcidevs I cleverly made two sequential onesOwain Ainsworth
duplicates by accident. go me! There's only two 690 chips, so it's fairly easy to find out. found when mlarkin asked me about his chipset.
2009-12-11By popular demand and peer pressure, check-in work in progress work to supportMiod Vallat
the Yeelong Lemote mips-based netbook. Kernel bits only for now, needs polishing; most of this work done during h2k9 last month, although the porting effort started earlier this year.
2009-12-11More changes to avoid truncating 64 bit pointers to 32 bits and sign-extendingMiod Vallat
them; allows userland with stack beyond 2GB to run.
2009-12-11Fill out the pdq_cmd_info table to 18 elements, despite many ofPhilip Guenthe
them being stub entries, by using macros YES() and NO() to select, for each entry, whether a real one or a stub is generated. Found by parfait and analyzed by oga. ok deraadt@, oga@
2009-12-10"please apply the same diff as for rt2860 to if_run.c" damien@Owain Ainsworth
original log message: fix a theoretical (but not possible) array bound overflow. since we will always match on a rate, we won't overflow, but in that case, make it more obvious by if the first 11 rates don't match, we assume the 12th. should shut up parfait. ok damien@ who came up with an identical diff
2009-12-10fix a theoretical (but not possible) array bound overflow.Owain Ainsworth
since we will always match on a rate, we won't overflow, but in that case, make it more obvious by if the first 11 rates don't match, we assume the 12th. should shut up parfait. ok damien@ who came up with an identical diff.
2009-12-10ansiTheo de Raadt
2009-12-10spacingTheo de Raadt
2009-12-10"fix" from freebsd to hide potential race in silly renames, whereBob Beck
a directory gets reclaimed on a forced unmount before the silly file in it gets blown away... fixes an issue seen by phessler@ ok oga@, art@
2009-12-10a few sizeof(array)/sizeof(array[0]) -> nitems(array) conversions found whileOwain Ainsworth
looking for something else. sha1(1) tells me there's no binary change.
2009-12-10various bits of knf; ok yuoTheo de Raadt
2009-12-10remove dead assignment and newly created unused variable.Charles Longeau
Found by LLVM/Clang Static Analyzer. ok dlg@ marco@
2009-12-10remove dead assignment and newly created unused variable.Charles Longeau
Found by LLVM/Clang Static Analyzer. ok krw@ marco@
2009-12-09Resubmit any pending SCSI commands when we sucessfully (re)connect toMark Kettenis
a vDisk server. This makes OpenBSD running in a guest domain survive a reboot of a control domain or service domain.
2009-12-09this does not even compileTheo de Raadt
2009-12-09add uhts(4).Matthieu Herrb
2009-12-09add uhts(4) a driver for USB HID touchscreens. ok miod@.Matthieu Herrb
Man page advices by jmc@.
2009-12-09Nuke stray comment referencing deceased TRY_AGAIN_LATER that dlg@Kenneth R Westerback
snuck back in. Noticed by kettenis@.
2009-12-09By popular demand and peer pressure, check-in work in progress work to supportMiod Vallat
the Yeelong Lemote mips-based netbook. Kernel bits only for now, needs polishing; most of this work done during h2k9 last month, although the porting effort started earlier this year.
2009-12-09By popular demand and peer pressure, check-in work in progress work to supportMiod Vallat
the Yeelong Lemote mips-based netbook. Kernel bits only for now, needs polishing; most of this work done during h2k9 last month, although the porting effort started earlier this year.
2009-12-09sloppy oga, tsk tsk, you are scaring usTheo de Raadt
spotted by ckuethe and must be in immediately before my build gets there..
2009-12-09Don't try to shove I/O down the LDC if we're disconnected from the virtualMark Kettenis
disk server.
2009-12-09Do not count input errors twice. We always read input errors fromChristian Weisgerber
the MAC in bge_tick(). Previously this would result in bge(4) claiming a greater number of input errors than what has actually occurred. From FreeBSD via Brad
2009-12-09Add entries in compat signal mapping arrays for SIGTHR.Jonathan Gray
Prompted by parfait noticing overflows in ibcs2/svr4 which are now changed to being NSIG sized like the others as suggested by tedu. ok tedu@ miod@ guenther@
2009-12-09Remove the clean gdt bit and leave the idt part in.Paul Irofti
Fixes most laptops out there on resume. Okay deraadt@.
2009-12-09add two new MD only pmap apis to amd64 and i386 (not to be used in MIOwain Ainsworth
code): pmap_flush_cache(vaddr_t, vsize_t) and pmap_flush_page(paddr_t) to flush the cache for virtual addresses and physical pages respectively using the clflush instruction. These apis will shortly be used by the agp bus_dma functions to avoid doing a wbinvd on each dmamap_sync. ok kettenis@, some comments from miod@
2009-12-09add cpufunc functions for the clflush instruction and the mfenceOwain Ainsworth
instruction. ok kettenis@ as part of a larger diff.
2009-12-09Detect the cache line size for the clflush instruction when we identifyOwain Ainsworth
the cpu. ok kettenis@ as part of a larger diff.
2009-12-09Stop spamming dmesg when raid isn't available.Marco Peereboom
2009-12-09disable useles printMarco Peereboom
2009-12-08Unconditionnaly move kernel virtual memory space to XKSEG, now that previousMiod Vallat
context.S fixes allows these settings to work for kernels linked in CKSEG0.
2009-12-08In cpu_switchto(), correctly ignore CKSEG0 curprocpaddr (and do not update theMiod Vallat
wired TLB entries).
2009-12-08Use a whole page for msgbuf if page size is larger than 4KB, instead ofMiod Vallat
the current 8KB.
2009-12-08Remove old SysV SHM size limits global variables, they are no longer neededMiod Vallat
since blambert@ rewrote the allocation code.
2009-12-08Passing kva + size as the third argument to uvm_km_free() is a bad idea. ItMark Kettenis
unmaps quite a bit more than intended, which causes weird things like watchdog resets.
2009-12-08Base the revision string in the INQUIRY info on the version of the VIO protocolMark Kettenis
used by the virtual disk server.
2009-12-08the ata identify structure is stupid. its full of buffers you haveDavid Gwynne
to swap to use. this diff doesnt swap fields the identify structure when its fetched, but adds a function that swaps them and copies them into a destination buffer. there is no functional change to the existing users of these fields, specifically the scsi inquiry faker and the device serial vpd page. this does fix the devid vpd page though. if a disk has a wwn we now present it correctly.
2009-12-08claim Intel 82801H RAID by pci id. it might be in RAID mode, not ahci.David Gwynne
makes the disks in a dell 960 work. there's probably a lot of other ids that should be added here too
2009-12-08move "pf: key search" and "pf: key setup" messages to PF_DEBUG_NOISYStuart Henderson
instead of MISC. "makes a little bit more sense" henning@
2009-12-08krw and marco found another problem with my atascsi chanages.David Gwynne
turns out you cant send atapi devices the ata IDENTIFY command, they dont grok it. you have to send a PACKET IDENTIFY instead, which is exactly the same but with a different command id. this diff changes it so we send a PACKET IDENTIFY to atapi devices. my diff "broke" this because it actually checks to see if the IDENTIFY succeeded rather than just completed. the previous code was wrong with regard to atapi devices. it is just lucky we dont use the IDENTIFY output for atapi devs. my apologies to marco@ and krw@
2009-12-08syncKevin Lo
2009-12-08USB IDs for Realtek RTL8192UKevin Lo
2009-12-07enter afbMark Kettenis
2009-12-07Firmware for Elite3D framebuffers. Thanks to Sun, and in particular AlanMark Kettenis
Coppersmith, for making this firmware available under a license that allows us to distribute it. ok deraadt@