summaryrefslogtreecommitdiff
path: root/sys/dev
AgeCommit message (Collapse)Author
2006-12-23if errors happen while reading the sdr list, give up on handling theTheo de Raadt
device as cleanly as possible. ok marco
2006-12-23Move the handling of SCI events to the acpiec gpe handler.Can Erkin Acar
ok marco@
2006-12-23Correctly compute timeout value in acpi_sleep.Can Erkin Acar
Also make sure it is non zero. ok marco@
2006-12-23Set IFM_ETH_MASTER if local PHY configuration resolved to MASTER.Mark Kettenis
Based on a diff by brad@
2006-12-23Fix check for active 1000baseT media.Mark Kettenis
Pointed out by brad@
2006-12-23wrong printing; ok marcoTheo de Raadt
2006-12-22always include sensors.hTheo de Raadt
2006-12-22Remove never used code for a BCM5700 feature (BGE_EXTRAM) that didn'tKenneth R Westerback
survive past 1st gen silicon. From brad. Tested by wilfried@ and Johan Mason Lindman.
2006-12-22spacingTheo de Raadt
2006-12-22Fix check for active 1000baseT media.Mark Kettenis
2006-12-22Set IFM_ETH_MASTER if local PHY configuration resolved to MASTER.Mark Kettenis
Based on a diff by brad@
2006-12-22- Add IFM_NONE.Mark Kettenis
- Don't set MIIF_NOISOLATE so eephy(4) can be used in configurations with multiple PHYs. - When PHY is resolved to a master, show it with IFM_ETH_MASTER. Based on a diff from yongari@FreeBSD, through brad@
2006-12-22fold long lines.Marc Balmer
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-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-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-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