summaryrefslogtreecommitdiff
path: root/sys
AgeCommit message (Collapse)Author
2007-02-13Zap unused local acpi_attached variable, since it has been supersededDimitry Andric
by acpi_hasprocfvs. ok gwk
2007-02-13Add missing break in attach code.Jonathan Gray
ok tom@ claudio@ henning@
2007-02-13fall into -> FALLTHROUGH to appease lintJonathan Gray
2007-02-13whitespace fixJun-ichiro itojun Hagino
2007-02-13Fixed stupid bit mangling on index fieldsJordan Hargrave
Changed field read/write code for special case aligned, non-aligned read/write ok marco@
2007-02-13Add smarter _INI code. This helps with some dissapearing devices.Marco Peereboom
ok kettenis jordan
2007-02-13Fix subtle x ? y : z bug when calling mfi_create_sgl. This worked becauseMarco Peereboom
during runtime the bug condition does not happen. ok krw joris
2007-02-13Check for xTPR result of CPUID.Jonathan Gray
ok tom@
2007-02-13Check for some CPUID flags found on newer Intel processors.Jonathan Gray
ok tom@ gwk@ krw@
2007-02-12Don't pass random flags to SIOIFFLAGS when changing the lladdr.Marco Pfatschbacher
OK tedu@
2007-02-12Cope with the different format of the name property of the root device inGordon Willem Klok
the openfirmware tree as found in old world macs. Also utilize the compatible property to print nice model information in the dmesg and the sysctl hw.vendor/product fields. mainbus0 (root): model Power Macintosh 9500 hw.vendor=Apple Computer, Inc. hw.product=Power Macintosh 9500 Note this is from a 9600, this information will reflect the architecture in this case both the 9500 and 9600 are from tsunami architecture and differ only in the processor daughtercard. Tested by myself and martin@ on old world machines, and by martin@ on a new world. ok martin@, drahn@
2007-02-12OpenBSD -> .OxJason McIntyre
> -> \*(Gt
2007-02-12sync the wording w/ the i386 page;Jason McIntyre
2007-02-12zap double word;Jason McIntyre
2007-02-12Avoid unnecessary resets. This should make fiber 88E8021/22 work completely.Mark Kettenis
tested by jsg@, brad@
2007-02-12Fix prototype, from brad@, no binary changePedro Martelletto
2007-02-12Add cuda_fileserver_mode() and pmu_fileserver_mode() that enable the wakeGordon Willem Klok
on AC loss feature of the power management IC. Make this the default behaviour when booting OpenBSD from now on. This will only affect machines that have the power suddenly cut, Performing a shutdown requesting power down will clear this mode and its then possible to remove the power cord, and plug it back in without the machine comming back on automatically. Tested by myself, drahn ok kettenis, drahn.
2007-02-12Fix the hw.vendor/product sysctls on sparc64, handle the cases whereGordon Willem Klok
banner-name begins with "SUNW," and make a copy of the platform_type buffer before chopping it up, so other/future users of platform_type dont get a rude shock. deraadt asked for this a 100 million years ago before 4.0. tested by pyr, brad, and kettenis. ok kettenis@
2007-02-12Reduce debug.Dale Rahn
2007-02-12If SMAC is set in the correct register, it works much better, also setDale Rahn
the direction bit correctly. More cleanup.
2007-02-12Enable the AES acceleration. Won't be picked up for IPsec, since weTom Cosgrove
don't support the other required operations in the driver, but will be used by OpenSSL. ok deraadt@
2007-02-124.1-betaHenning Brauer
2007-02-12Let this compile with 'option DEBUG' again.Tom Cosgrove
ok dim@
2007-02-12Don't need a 'return' just before exiting a function.Kenneth R Westerback
2007-02-11typo in commentMartin Reindl
2007-02-11Add support for fiber on 88E8021/22.Mark Kettenis
2007-02-11Remove now unused evcnt field from struct cpu_info.Miod Vallat
2007-02-11Add support for fiber on the 88E1112 (88E8021/22 integrated PHY).Mark Kettenis
2007-02-11Remove _KERNEL_OPT leftovers.Miod Vallat
2007-02-11Rework the cache handling routines again. We now try to operate on the exactMiod Vallat
address range we've been given, rounded to cache line boundaries, instead of being lazy and operating on pages as soon as the range was large enough. Also, since the ranges we'll be invoked for are reasonably small, it does not make sense to check for segment sizes - we're always smaller, really. While there, hardcode the size in cmmu_flush_data_cache(), which becomes cmmu_flush_data_page(), since it was always invoked for complete pages.
2007-02-11Rework the i/o mapping logic so that it allows the 1:1 region to not go up toMiod Vallat
the end of the address space; allows the A16D16 VME space to be mapped correctly again on MVME197.
2007-02-11Shuffle code around so that optimization of the m88110_trap() return getsMiod Vallat
computed correctly.
2007-02-11Don't enable debug spam by default.Jonathan Gray
2007-02-10Adjust for new/renamed DLink card & Marvell chips. Based on a diff by brad@.Mark Kettenis
2007-02-10regenMark Kettenis
2007-02-10Add DLink DGE-550T B1. Reorganize Marvell Yukon entries & add a few missingMark Kettenis
ones. Based on a diff by brad@.
2007-02-10Add preliminary support for Marvell Yukon-II Extreme chips.Mark Kettenis
Based on a diff from brad@.
2007-02-10Use right flow control autonegotiation bits for 1000baseX.Mark Kettenis
2007-02-10Cleanup, kill dead code and unused arguments. Mostly stuff that is computedClaudio Jeker
and passed around but never used. OK mglocker@
2007-02-10Remove entry for mx driver which was removed a bit over 7 years ago.Jonathan Gray
2007-02-10Move HASH_BITS constant to if_skreg.h as SK_HASH_BITS. Remove unusedKenneth R Westerback
code and an unnecessary comment, No functional change. From brad@.
2007-02-10Add more chipset revision ids.Kenneth R Westerback
From scottl via FreeBSD and brad@.
2007-02-09Don't both reloading the CPL into %eax before pushing it onto the stack,Tom Cosgrove
since it's already in %ebx. (And %eax is reloaded immediately after the push, so CPL not needed in %eax.) Saves one load every interrupt. ok dim@, gwk@
2007-02-09LCD device driver, second step. Now the driver works with autoconf.Kenji Aoyama
ok miod@
2007-02-09allow counters to be reset with DIOCGETRULES.Henning Brauer
this allows an atomic read and reset counters, instead of read, reset in a later ioctl and lose everything in between. use the previously unused of pr->action. When it is set to PF_GET_CLR_CNTR, the ioctl requires write permissions and counters are reset after they have been copied out to userland. obsoletes DIOCCLRRULECTRS, which only works for the main ruleset, but not within anchors (yeah, that's how it all started) ok dhartmei, mcbride and theo agree as well
2007-02-09Spaces, no binary change.Claudio Jeker
2007-02-09grammar fix from bret lambert;Jason McIntyre
2007-02-09Add a bunch more zyd(4) devicesJonathan Gray
2007-02-09regenJonathan Gray
2007-02-09Add a bunch more zyd(4) devices.Jonathan Gray