summaryrefslogtreecommitdiff
path: root/sys
AgeCommit message (Collapse)Author
2012-01-11Backout premature use of 'bootduid', as 'rootduid' has not yet beenKenneth R Westerback
renamed.
2012-01-11Simplify the #if CARP and if (IFT_CARP) dance in nd6_ns_input().Alexander Bluhm
Fix a white space bug while there. No functional change. ok mikeb@ robert@ henning@
2012-01-11Put an splsoftassert(IPL_SOFTNET) into in_pcbdetach().Alexander Bluhm
ok mikeb@
2012-01-11ansify and de'register some prototypesDavid Hill
ok miod@
2012-01-11Teach OpenBSD/sparc64 installboot(8) about softraid volumes. This makesJoel Sing
root on softraid possible, although the kernel still needs to be loaded from a non-softraid partition.
2012-01-11Pass the DUID of the boot disk via bootduid instead of rootduid, since itJoel Sing
is the DUID that we booted from, which is not always going to be the same as the DUID that we mount root on.
2012-01-11If the DUID of the boot disk has not been provided, attempt to locate itJoel Sing
via the boot device. This allows root on softraid to work on most architectures. For architectures that cannot clearly identify their boot device, the DUID of the boot disk can still be passed from the boot loader, as is already done for amd64 and i386. Based on a suggestion from kettenis@ ok krw@
2012-01-11Move softraid root mapping to later in the boot process - this will allowJoel Sing
us to play some tricks in setroot().
2012-01-11Teach OpenBSD/amd64 boot(8) how to access softraid(8) volumes. ThisJoel Sing
allows a kernel to be loaded from a softraid RAID 1 volume. Furthermore, if you boot from a disk that is a member of a bootable softraid volume then it will default to booting from the softraid volume (sr[0-9]a:/bsd). Discussed with deraadt@
2012-01-11Make sr_boot_chunk and sr_boot_volume accessible from userland. Add aJoel Sing
number of variables that are needed to detect and assemble volumes. A sr_metadata struct can be allocated and used via the sbc_metadata pointer, which we now do in the kernel boot probe/assembly code.
2012-01-11Remove SLIST_FOREACH_PREVPTR from src tree, it is not used anymore.Alexander Bluhm
ok guenther@ deraadt@
2012-01-10Replace the only occurrence of the obscure macro SLIST_FOREACH_PREVPTR.Alexander Bluhm
No binary change. ok mikeb@ deraadt@ guenther@
2012-01-10Remove unused definition WSFONT_RDONLY.Alexandr Shadchin
ok mpi@
2012-01-10Remove unused function wsfont_getflg.Alexandr Shadchin
ok mpi@
2012-01-10Implement RFC 5722 and drop all IPv6 fragments that belong to aAlexander Bluhm
packet with overlapping fragments. ok henning@
2012-01-10Flush the cached IPv6 forward route every 500 ms. This preventsAlexander Bluhm
wrong checks for local addresses and wrong packet forwarding in environments with only one communication partner and changing addresses or routes. Remove the #if 0 around the existing code to make IPv6 behave like IPv4. ok henning@
2012-01-09regenChristiano F. Haesbaert
2012-01-09Add support for a new puc(4), MosChip MCS9865.Christiano F. Haesbaert
Information extracted from: http://www.devid.info/uz/18561/PCI+-%3EPARALLEL%26SERIAL# ok deraadt
2012-01-09pcidevsChristiano F. Haesbaert
2012-01-09repair errors paths for dma_alloc; spotted by dhillTheo de Raadt
2012-01-09another set of missing dma_alloc's for talking to a device. hit byTheo de Raadt
henning. ok krw dlg
2012-01-09Remove the IPv6 fragment overlapping length adjustment code. ItAlexander Bluhm
was already #if 0 and will never come back. Remove unused fragment struct fields and sort the others. ok henning@
2012-01-09Replace the hand-crafted queue for IPv6 fragments with LIST.Alexander Bluhm
ok henning@
2012-01-08Ansify non-ansified function definitions. No functional change.Alexandr Shadchin
ok miod@
2012-01-08Remove unused definition null16.Alexandr Shadchin
ok miod@
2012-01-08Make sure we only read cpuid 0x80000001 features if pnfeatset reports it.Christiano F. Haesbaert
This is already done in i386. ok jsg "if there is no change to the flags in your dmesg"
2012-01-08Remove usb_event_cookie_t type and instances of it found in various structs;Miod Vallat
leftover from the "usb event" stuff removal. Diff from Tobias Ulmer.
2012-01-08Preliminary multi-processor support for luna88k. It isKenji Aoyama
work-in-progress and is not stable yet... "Please commit" miod@
2012-01-08Make allocated memory zeroed. This fixes the problem that we got aKenji Aoyama
panic at attaching fb when we use the serial console. ok miod@
2012-01-07regenMark Kettenis
2012-01-07Intel Xeon E3-1200Mark Kettenis
2012-01-07Add X2APIC-related definitions for the MADT and silently skip them insteadMark Kettenis
of printing a warning.
2012-01-07Check that we have pstates in _PSS before calling the pstate status MSR.Jonathan Gray
While the docs say we should check a bit in cpuid this should work as well. Fixes problems related a fictitious AMD machine dreamed up by Linux KVM. Reported/tested by Walter Haidinger, diff from Bryan Steele.
2012-01-07Add rtable id and thread id to struct kinfo_proc (and fix process id)Philip Guenthe
and add an 'rtableid' keyword to ps. Add rtable id, thread id, and socket splice info to struct kinfo_file2 and make fstat display socket splice information. Remove old KVM_PROC2 and kinfo_proc2 interfaces; bump libkvm major Socket splice info and corrections from bluhm@ "Lovely" deraadt@
2012-01-06Remove extra and trailing spaces.Alexandr Shadchin
ok mpi@
2012-01-06Remove unused Makefile.Alexandr Shadchin
ok mpi@
2012-01-06Attach ath(4) to cardbus and add it to bsd.rdMartin Pieuchot
ok jsg@, kettenis@, deraadt@
2012-01-05Remove dead code from #if 0: we do not have an ipsrcchk_rt anywhere else.Alexander Bluhm
from FreeBSD; ok henning@
2012-01-05Replace the hand-crafted queue for fragmented IPv6 packets with TAILQ.Alexander Bluhm
I forgot the header file containing struct ip6q in the last commit.
2012-01-05Replace the hand-crafted queue for fragmented IPv6 packets with TAILQ.Alexander Bluhm
ok henning@
2012-01-05C99 says that both <wchar.h> and <stdint.h> should define WCHAR_MIN/MAX.Mark Kettenis
ok beck@, guenther@, millert@, miod@
2012-01-05syncTheo de Raadt
2012-01-05new vertex device; Jakub TuD^MekTheo de Raadt
2012-01-05suspend/resume support for vr(4); from brynet@gmail.comTheo de Raadt
2012-01-05Prevent integer wrap-around in pmemrange.Ariane van der Steldt
Found by and original fix from Geoff Steckel. While here, switch the assert that prevents this from happening from DEBUG to DIAGNOSTIC. ok thib@, miod@
2012-01-04Make sure the types of INTPTR_MIN/MAX and UINTPTR_MIN/MAX match the type weMark Kettenis
use for intptr_t and uintptr_t. ok millert@, deraadt@
2012-01-04Fix use after free in cache_lookup() - found by PedroBob Beck
fix is to manipulate the name cache structures before potentially sleeping on a vn_lock(). This avoids the race of the ncp entry being recycled while we are asleep. run in snaps and on ftp.openbsd.org for months ok thib@
2012-01-04Add support for SiS 1183 SATA. From/tested by Loganaden Velvindron.Jonathan Gray
2012-01-04regenJonathan Gray
2012-01-04SiS 1183 SATA from Loganaden Velvindron, and add 1182 SATA while here.Jonathan Gray