summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2010-08-28In pckbd_scancode_translate(), correctly translate the break sequenceMiod Vallat
between scan code sets 1 and 2.
2010-08-28ansify function definitions, and constify a few arrays while there.Miod Vallat
no functional change.
2010-08-28Remove dead code, ansify, and clean the match routine; adapted from a diffMiod Vallat
by Alexandr Shadchin (firstname dot lastname at gmail) on tech@
2010-08-27Make PCI Power Management optional, and only enable it when acpi(4) attaches.Mark Kettenis
ok deraadt@
2010-08-27Move the activate function from pci to the the main driver, so that theTheo de Raadt
powerhook can use it ok kettenis
2010-08-27Move the guts of the powerhook function into the activate function and makeTheo de Raadt
it stop calling the powerhook function; then make the powerhook function call activate. This basically inverts the whole goop. ok kettenis
2010-08-27Massage the powerhook function into an activate function, and since we doTheo de Raadt
not neccessarily have a working filesystem for the firmware yet, use a workq to postpone resume. Then make the powerhook function call the activate function. There remains some questions about the sc_power functions... ok kettenis
2010-08-27Make the powerhook use the activate functions, which actually do the fullTheo de Raadt
job.
2010-08-27Move the dc_pci_activate function to dc.c, and mangle it up with some ofTheo de Raadt
the gunk in dc_powerhook. Then make dc_powerhook just call it ok kettenis
2010-08-27The powerhook only did stuff at resume; but suspend matters too!Theo de Raadt
Instead of fixing it, make it call the activate function which does the full job ok kettenis
2010-08-27Get rid of the clumsy pci_activate function and do this job inside ath.cTheo de Raadt
so that the powerhook wrapper can get at it ok kettenis
2010-08-27Run powerhooks with interrupts blocked. This requires a bit of a song andTheo de Raadt
dance since some laptops unsuspend out of apm with interrupts enabled?! That causes problems with shared interrupts... but also it would be best if we treat powerhook functions (now backed by activate functions) the same as acpi treats them, and it means that the powerhook wrappers don't need to do their own spl protection. ok kettenis
2010-08-27caught a small typo while reading the code: senor -> sensorRobert Nagy
2010-08-27Since the changes in neo(4) work, it is very likely that the exact sameTheo de Raadt
mechnical changes work in these drivers too. Testing can occur after this commit.
2010-08-27Mangle neo_power's contents into a neo_activate function, then makeTheo de Raadt
neo_power into a stub which calls it. Tested on an ancient z505r; my first laptop....
2010-08-27Make the powerhook code simply call the activate function (it actually doesTheo de Raadt
all the 7 steps we want done, instead of just 2)
2010-08-27Since the pci-specific activate function does nothing, move it to fxp.c.Theo de Raadt
Then it is possible for fxp_powerhook to use it.
2010-08-27remove the unused if_init callback in struct ifnetJonathan Gray
ok deraadt@ henning@ claudio@
2010-08-27Mutilate the powerhook function into an activate function, then createTheo de Raadt
a stub powerhook function to call it.
2010-08-27Delete #if'd out powerhook code which is just unfinished scaffoldingTheo de Raadt
2010-08-27Stop calling xxx_power() from xxx_resume(); instead do it the other way around.Mark Kettenis
Get rid of the sc_power() callback, which isn't used anymore. ok deraadt@
2010-08-27Have the em powerhook call the activate function, which does a way betterTheo de Raadt
job of taking the chip up and down.
2010-08-27Move the xl_pci_activate function into xl_activate so that it is in theTheo de Raadt
sub-driver, and then xl_powerhook can simply be a wrapper around it ok kettenis; discussion about nested structure aliasing with miod
2010-08-27Improve sdhc_activate, and make sdhc_powerhook a simple wrapper aroundTheo de Raadt
it for now ok kettenis
2010-08-27no need for a sc_suspended variableTheo de Raadt
2010-08-27screen blanking code for SM502, and some smfb code cleanup.Miod Vallat
2010-08-27Fix format string that was not changed after the log_fec introduction.Claudio Jeker
2010-08-27In revision 1.14 of ftpd.c the ident variable was removed from its only ↵lum
meaningful usage when a snprintf call was removed, rendering ident useless. Time to remove remaining code. ok tobias@
2010-08-27These do not need powerhook functions.Theo de Raadt
ok jsg
2010-08-27gem never had any powerhook supportTheo de Raadt
2010-08-27put .Os in the correct place;Jason McIntyre
2010-08-27Delete comments about these drivers needing powerhook support; they don't.Theo de Raadt
2010-08-27get some format strings and variables right in debug outputDavid Gwynne
2010-08-27More killing of PWR_STANDBY. cvs skipped these filesTheo de Raadt
2010-08-27kill PWR_STANDBY (apm can use PWR_SUSPEND instead). While here, renumberTheo de Raadt
PWR_{SUSPEND,RESUME} so that they match the values of DAVCT_{SUSPEND,RESUME} so that we can eventually (many more steps...) kill the powerhook garbage and use the activate mechanism. no objections
2010-08-26If hppa doesn't need a fakecdrom disktab entry, neither does hppa64.Kenneth R Westerback
ok deraadt@
2010-08-26better TSIG key exampleJakob Schlyter
2010-08-26Screen burner support for SM712 flavour (Lemote Yeeloong)Miod Vallat
2010-08-26remove a silly comment that duplicates the usage string at the start ofJonathan Gray
the file. spotted by jmc@
2010-08-26document kern.consdev;Jason McIntyre
2010-08-26- fdisk(8), not fdisk(1)Jason McIntyre
- zap trailing whitespace
2010-08-26Allow multiple interfaces to be specified instead of all or one.Jonathan Gray
ok krw@ claudio@
2010-08-26make the comment explaining the kernel submaps a bit better.Thordur I. Bjornsson
ok art@, oga@
2010-08-26Try to be a bit more specific about what happens when link0 is used.Claudio Jeker
link0 will reset the interface and all configuration is lost (e.g. -inet6 or rdomain settings) so use link0 as first command without any other arguments to get a deterministic behaviour. With a lot of help by jmc@ (actually commiting his version because it is much nicer, as ususal).
2010-08-26Link local multicast requires a scope (either from the src or dst address)Claudio Jeker
be more explicit and force it in dst. OK deraadt@, mcbride@
2010-08-26stray spaces, no binary changeMarco Peereboom
2010-08-26regenJonathan Gray
2010-08-26Add HP iLO3 devices and another PLX bridge.Jonathan Gray
2010-08-26Fix a memory leak in an error path. Found and diff by Igor Zinovik.Claudio Jeker
OK michele@
2010-08-26sys/param.h is for kernel interface programs.Theo de Raadt
sys/types.h is the file you want to include.