summaryrefslogtreecommitdiff
path: root/sys/dev
AgeCommit message (Collapse)Author
2006-12-21Fix silly logic errors.Marco Peereboom
2006-12-21Silence acpibat significantly and shave off about 1k. Also add some smartsMarco Peereboom
for battery removal and insertion.
2006-12-21'immediatly' -> 'immediately' in comments.Kenneth R Westerback
2006-12-21'tranfer' -> 'transfer' in comments.Kenneth R Westerback
2006-12-21ECs are weird in that they generate many interrupts. One for the actualMarco Peereboom
event and a bunch while doing reads and writes. Now that we have reworked the interrupt code it is no longer workable to catch both in the same handler. So from now on no longer sleep but simply delay. Removed the sleep wait function completely to save some bytes too. Worst meassured delay was 160us. These events are infrequent (pulling ac cable etc).
2006-12-20remove debug message inserted in last commitTheo de Raadt
2006-12-20Decalre extern int cpuspeed in sys/arch/amd64/include/cpu.h like cpuspeedGordon Willem Klok
is declared in the equivalent file on i386 and delete the repeticious declarations already scattered in a few places. Thanks to Will Backman for letting me test this on his machine, ok mk@
2006-12-20nearly complete knfTheo de Raadt
2006-12-20Set IFM_ETH_MASTER if local PHY configuration resolved to MASTER.Mark Kettenis
ok deraadt@, brad@
2006-12-20syncTheo de Raadt
2006-12-20add atheros idsTheo de Raadt
2006-12-20first steps of knf (trying not to step on jordan's feet too much); ok marcoTheo de Raadt
2006-12-20"#ifdef is a tool of the weak!"Gordon Willem Klok
Rename pentium_mhz to cpuspeed which is consistant with amd64 making shared ACPI code less nasty. ok marco, deraadt
2006-12-20oops, name already usedTheo de Raadt
2006-12-20skip the perfect hash for now since it wastes a lot of kernel memory,Theo de Raadt
and fails to fit onto the floppies. for now, do a linear search, but someone should sort the instructions and use bsearch; ok marco
2006-12-20rename __acpi_enable_gpe(); ok marcoTheo de Raadt
2006-12-20acpi_unmap_pmregs() is not used, ok marcoTheo de Raadt
2006-12-20syncAlexander Yurchenko
2006-12-20Add Java iButton mbalmer gave me at h2k6.Alexander Yurchenko
2006-12-20Implement high resolution temperature measuring.Alexander Yurchenko
Based on the diff provided by aaron@linville.org in PR 5314.
2006-12-19slight cleaningTheo de Raadt
2006-12-19spacingGordon Willem Klok
2006-12-19knf + delete unused variablesTheo de Raadt
2006-12-19Add sanity to check for mfg overriden gasio field.Marco Peereboom
2006-12-19Hook up acpicpu to the hw.setperf mechanism, this allows people runningGordon Willem Klok
ACPI kernels built with the acpicpu diff to scale processor and frequency voltage, various incarnations tested by brad, thib, johan m:son lindman. ok marco
2006-12-19simplify some low-level methods substantially (shrinking code); ok marco jordanTheo de Raadt
2006-12-18Remove misleading NOTREACHED comments. Sending a signal does notCan Erkin Acar
stop execution. Noticed by deraadt@
2006-12-18Add support for pci-based sti devices. ok mickey@Miod Vallat
2006-12-18Read word-mode rom regions with bus_space_read_raw_region instead ofMiod Vallat
bus_space_region, for they might lie on a bus with a different endianness than the cpu. ok mickey@
2006-12-18Change sti attachment to pass an array of base addresses for the sti regions,Miod Vallat
instead of using the rom mapping for region #0 and the device mapping for region #1. This will allow sti devices on which regions may be relative to different origins to attach (to be used very soon). ok mickey@
2006-12-18our panic() can take stdarg argumentsTheo de Raadt
2006-12-18minor cleaning; ok marcoTheo de Raadt
2006-12-18delete extra gooTheo de Raadt
2006-12-18- struct scsibus_attach_args;Marco Pfatschbacher
+ struct scsibus_attach_args saa; OK miod@.
2006-12-18Format dmesg line according to our rules and make sure the firmware idMarc Balmer
string is '\0' terminated, plus some KNF. from deraadt
2006-12-18move proto to the right placeTheo de Raadt
2006-12-17More leftovers from rcons.Miod Vallat
2006-12-17Remove unnecessary <dev/wscons/wscons_raster.h> inclusion.Miod Vallat
2006-12-17When processing a compose sequence of a dead accent and the spacebar, putMiod Vallat
the ``mundane'' accent: apostrophe instead of acute, and comma instead of cedilla. This matches what existing keyboard layouts with dead keys do. From Maurice Janssen via otto@
2006-12-17Kill some more macros. This time ACX_NOARG_FUNC and ACX_INIT_TMPLT_FUNCClaudio Jeker
bite the dust and make the code easier to read. Help and OK mglocker@
2006-12-17mbg(4), a driver for Meinberg Funkuhren time signal station receiversMarc Balmer
"Made in Switzerland" Currently, the DCF77 PCI32 receiver card is supported I have to mention the outstanding support from Meinberg, not only did they give me the hardware, docs, and reference source code, but they even call me back to explain the details of their hardware to me. If only the wireless manufacturors were that cooperative... ok claudio, ok mglocker, "commit it when ready" deraadt
2006-12-17fix index of ERP information element in beacons.Damien Bergamini
still ugly, but correct.
2006-12-17add a little spacing here, to please mglockerMarc Balmer
2006-12-17regen.Marc Balmer
2006-12-17Add Meinberg Funkuhren GmbHMarc Balmer
2006-12-17Add/modify some comments. From Brad.Kenneth R Westerback
2006-12-16Enable RAM buffer for the second port too; makes dual port cards work soMark Kettenis
reenable attachment of the second port on cards that have it.
2006-12-16Button boxes have their Y axis inverted, compared to mice, so compensateMiod Vallat
before feeding wscons.
2006-12-16Make hil(4) shared interrupts aware, by exiting early if the stat registerMiod Vallat
does not indicate data being available; for some reason on hppa hil_intr() gets invoked when serial ports interrupt.
2006-12-16Process status descriptors for port B. Fix two typos while I'm there.Mark Kettenis