summaryrefslogtreecommitdiff
path: root/sys
AgeCommit message (Collapse)Author
2006-12-22regen.Marc Balmer
2006-12-22Add two more Meinberg radio clocks.Marc Balmer
2006-12-22shorten codeTheo de Raadt
2006-12-22make driver look more like others do; ok mbalmerTheo de Raadt
2006-12-22A more complete fix for perf status MSR's (on e.g. Core 2 Duo X6800),Dimitry Andric
that specify equal highest and lowest clock ratios. EST is now silently disabled on these, as was already done for lowest clock ratios that are zero (on e.g. a bunch of Pentium 4's). Other weird MSR's are still reported, because we first want to know about them, before we decide how to handle them.
2006-12-21Quick fix for Core 2 Duo X6800, which reports an invalid setperf MSR,Dimitry Andric
with the same high and low speed, leading to a divide by zero error. A more complete fix will be committed later. Do it now, deraadt@
2006-12-21nuke unused sc_enaddr and comment about itJason Wright
2006-12-21nuke sc_enaddr here tooJason Wright
2006-12-21betetr yet, just nuke sc_enaddr all together, just fill in arpcom andJason Wright
everybody is happy
2006-12-21better yet, nuke all references to sc_enaddr except for the copy into ↵Jason Wright
arpcom.ac_enaddr
2006-12-21use the arpcom copy of the ethernet address so that updates to lladdr can workJason Wright
2006-12-21even more knf loveTheo de Raadt
2006-12-21syncTheo de Raadt
2006-12-21support Avlab PCI 2S as a puc; from nicm__@ntlworld.comTheo de Raadt
2006-12-21Tweak to report full battery.Marco Peereboom
2006-12-21Change the semantics of kern.watchdog.auto slightly: If kern.watchdog.auto isMarc Balmer
set to 0, the watchdog will not be retriggered by the kernel *and* it will not be disabled at system shutdown time (before it got disabled at system shutdown time.) ok markus mickey mk
2006-12-21in pf_route(), initialize ro to NULL at the beginning. if left un-Daniel Hartmeier
initialized, it might equal &iproute by chance, causing a panic when rtfree() is then mistakenly called.
2006-12-21regenMichael Shalayeff
2006-12-21another radeon x1600; from formMichael Shalayeff
2006-12-21spacingTheo de Raadt
2006-12-21more knfTheo de Raadt
2006-12-21more minor knfTheo de Raadt
2006-12-21Remove some leftover acpiec gpe/interrupt code.Marco Peereboom
2006-12-21Remove some more remnants of old acpiec_wait function.Marco Peereboom
Rename acpiec_wait_nosleep to acpiec_wait since the old sleeping function is gone anyway. Redo waiting loop to shave some more bytes of. Tabing, spacing and some more KNF.
2006-12-21KNFMarco Peereboom
2006-12-21re_fixup_rx() is a no-op function, other than copying data to the same ↵Dale Rahn
address, thus slowing down the driver on __STRICT_ALIGN archs, remove. ok deraadt@
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-21Fix some comment typos. 'immediatly' -> 'immediately', 'tranfer' ->Kenneth R Westerback
'transfer', 'tranfered' -> 'transferred'.
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-20Don't bail out on a bad interrupt line if we have a valid apic interrupt pinMark Kettenis
for a pci device.
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-20Enable recursive interrupts on armish. nudge by deraadt@Dale Rahn
2006-12-20Put all net80211 interfaces into the ``wlan'' interface group. Idea from me,Alexander Yurchenko
name ``wlan'' from henning@. ok mbalmer@, reyk@, henning@, msf@