summaryrefslogtreecommitdiff
path: root/sys
AgeCommit message (Collapse)Author
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@
2006-12-20acpi fits when we decide that it is more important than ahc(4) adaptecTheo de Raadt
scsi support (note that ahd was never even there...).
2006-12-20acpi fits, when we trade it primarily for the very large rtw(4) driver.Theo de Raadt
this product is relatively rare, and way more laptops will need acpi than need the rtw driver
2006-12-20acpi (disabled) fits... when we trade it for the rarely used i2o controllers,Theo de Raadt
wi(4) [this is a server-style install media], and eisa bus support.
2006-12-20acpi (disabled) just happens to fitTheo de Raadt
2006-12-20rum fitsTheo de Raadt
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-19TDBF_USEDTUNNEL flag manipulation was inside #ifdef INET. it appliesJun-ichiro itojun Hagino
to INET6 too, so move it outside. markus ok
2006-12-19reject (potentially malicious) packets from outside,Jun-ichiro itojun Hagino
with interface-local multicast addr in ip6_dst. by jinmei@kame
2006-12-19simplify some low-level methods substantially (shrinking code); ok marco jordanTheo de Raadt
2006-12-18fix device names and typos in commentsMartin Reindl
2006-12-18Remove misleading NOTREACHED comments. Sending a signal does notCan Erkin Acar
stop execution. Noticed by deraadt@
2006-12-18sti@pci there too, why not.Miod Vallat
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-18Provide bus_space_{read,write}_raw_region_{2,4}.Miod Vallat
2006-12-18Allow bus_space mappings to span more than one 8MB segment; ok mickey@Miod Vallat