summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2007-11-16fix the bus_space #define nightmare, so that amd64 and i386 are much moreTheo de Raadt
uniform. as a result shared code like acpi needs less #ifdef's ok marco kettenis
2007-11-16Remove microtime calls and RNG benchmarking from the pchb attachmentMike Belopuhov
code. This is due to the fact that we do timecounter initialization after autoconf(9). ok deraadt
2007-11-16- Fix error handling code.Mike Belopuhov
- Change some function names to conform with Core Duo names. - Correct hadnling of the functions that need non-zero Unit Mast specification. - Some other random cleanup.
2007-11-16in pf_test_fragment(), ignore protocol-specific criteria for packets ofDaniel Hartmeier
different protocols. from Max Laier. ok markus@, henning@
2007-11-16quotes around model name tooTheo de Raadt
2007-11-16er, the newline is wrong. dissapointing.Theo de Raadt
2007-11-16convert code over from sd.c, to let tapes discollect. Lucas StefanuttiTheo de Raadt
of pr 5635 confirms this works for him. similar diff authored by krw who was unaware i wrote this and mailed it to Lucas...
2007-11-16hppa backend; does not build yet suince it needs some mi changesOtto Moerbeek
2007-11-16sync tree with master repo; Nov 16 2007Otto Moerbeek
2007-11-16sync with repo and brink in hppa backend from mickey. afaik, it needsOtto Moerbeek
some changes in the mi parts that are not yet committed
2007-11-16sync with repe; commit from gmcgarry@:Otto Moerbeek
Bring MIPS support fully up-to-date. Includes the following changes: Support use of different assemblers. Handle big-endian and little-endian code generation. Start support for n32/n64 PIC code generation Update to arguments-in-registers infrastructure. Cleanup handling of branches. Fix register coloring Fix structure assignment. Add longlong instructions Remove unused functions. Indentation fixes. Tested on NetBSD/pmax (little endian).
2007-11-16use arc4random_bytes() instead of multiple arc4random() calls;Damien Miller
ok deraadt@ dlg@ henric@ mcbride@
2007-11-16something has to go, unfortunatelyTheo de Raadt
2007-11-16do not make up a device name for interrupts.. give it the dv_xnameTheo de Raadt
2007-11-16accept ATA ioctls so tools like atactl work on disks behind the atascsiDavid Gwynne
layer. i intended to write better ways to deal with disks, but i have been too slack. shame on me. this is less code than the equivilent in wdc/pciide, which amuses me greatly.
2007-11-16ACPI_ENABLE went awayTheo de Raadt
2007-11-16syncTheo de Raadt
2007-11-16cast pointer to right typeTheo de Raadt
2007-11-15enable most acpi functionality by default. now instead of 'enable acpi',Theo de Raadt
you use 'disable acpi' or 'disable apm' withn you encounter problems (depending on which kind of problems). if we work hard enough, this can remain the situation by the time we ship the next release. otherwise, we will re-disable acpi... so let's crackin'
2007-11-15remove the #ifdef ACPI_ENABLE. the EC codepath is either safe enough (andTheo de Raadt
will be improved), or it is unsafe because AML assumes it must be there ok almost everyone
2007-11-15Make acpicpu(4) attach to the existing CPUs only.Mike Belopuhov
Problem reported by form@. Fix idea by kettenis@. Lots of help from deraadt@. Tested by deraadt@, form@ and me. ok deraadt marco
2007-11-15match expresscard ralTheo de Raadt
2007-11-15syncTheo de Raadt
2007-11-15ralink N expresscard modelTheo de Raadt
2007-11-15Check for curcpu()->ci_softintr being nonzero before invoking dosoftint(),Miod Vallat
in the common case, this saves us two potentially expensive setipl() calls.
2007-11-15Make a few end-of-trap-handling symbols global, to get better ddb traces.Miod Vallat
Also, pick better symbol names in the sir/ast processing.
2007-11-15At last, port the mvme88k eh.S r1.66 fixes to aviion.Miod Vallat
2007-11-15Resolve the struct trapframe tf_mode/tf_flags duality by getting rid ofMiod Vallat
the tf_mode name. This field only contains flags used internally by the exception processing code.
2007-11-15Stop referring the initial kernel stack as the ``interrupt stack''. It'sMiod Vallat
been years since it has last been used for that purpose, so name it the initialization/startup stack. While there, do not store the initialization stack in cpu_info, and have secondary_pre_main() return its value so that the bootstrap code does not need to fetch it from cpu_info. This might be reconsidered when the startup stacks will be freed after they are not used anymore, but there are more things to do first.
2007-11-15New driver for Ralink RT2860 chipset.Damien Bergamini
Attaches as 'ral' as it shares the PCI and CardBus frontends with RT2560 and RT2661 though it is actually a separate driver. Requires a firmware that can't be redistributed with the base system due to license restrictions (exact same license as iwn(4) firmware). The 802.11n capabilities not yet supported (except MIMO). Great thanks to Sam Fourman Jr for donating hardware. ok deraadt@
2007-11-15Attach to "rsc-console". Hopefuly this will give us a proper console onMark Kettenis
the Sun Fire 280R/V480/V880 when the console is directed to the RSC card.
2007-11-15in MP kernels, use smbios to count number of cpus. if > 1 disable apm, soTheo de Raadt
that acpi can get a chance at controlling the machine. done with marco, and even tested on the nastiest case: smbios <2.5 w/ HTT
2007-11-15read boot sector as 4K block, because of new ipod nanoTheo de Raadt
from Alexey Vatchenko; ok tom
2007-11-15Nicer dmesg output.Mike Belopuhov
From Oleg Safiullin (form@) ok deraadt
2007-11-15syncTheo de Raadt
2007-11-15more devices... all the timeTheo de Raadt
2007-11-15Split CPUID into 2 32 bit fields.Marco Peereboom
ok deraadt
2007-11-15Do not insert proto_default inside the dynamically alloced protocol queue.Pierre-Yves Ritschard
Handle it as a special case in the one place where it actually matters instead.
2007-11-15newline before syncing disks is way prettierTheo de Raadt
2007-11-15``stastic'' is a fantastic typo.Miod Vallat
2007-11-15don't waste our time telling the aml that we are OpenBSD; it will neverTheo de Raadt
make a good decision based on that; ok kettenis canacar
2007-11-15Clarify when smbios added multi core support and add the missing stringMarco Peereboom
designations. ok deraadt
2007-11-15oops, processor structs need to be __packed.Marco Peereboom
prompted by deraadt
2007-11-15Add struct for processors.Marco Peereboom
ok deraadt
2007-11-15syncTheo de Raadt
2007-11-14Cache curcpu() value into a local variable when it is used more than once inMiod Vallat
a function, so that it does not get reloaded from cr17 every time.
2007-11-14No need to check whether we are the primary processor in m188_{clock,stat}intr,Miod Vallat
since the corresponding interrupt source is enabled on the primary processor only.
2007-11-14Merge the ci_alive and ci_primary boolean values of struct cpu_info intoMiod Vallat
a single ci_flags bitfield. Also, set_cpu_number() will no longer set CIF_PRIMARY on the primary processor, it's up to the initialization code to do this.
2007-11-14When processing a data access fault, keep the kernel lock while invokingMiod Vallat
data_access_emulation() to complete the interrupted pipeline operations, as data_access_emulation() can fault in turn.
2007-11-14When servicing an exception, do not enable interrupts if they were notMiod Vallat
enabled when the exception occured. This should not happen in practice, but better be safe than sorry.