Age | Commit message (Collapse) | Author | |
---|---|---|---|
2010-08-28 | In pckbd_scancode_translate(), correctly translate the break sequence | Miod Vallat | |
between scan code sets 1 and 2. | |||
2010-08-28 | ansify function definitions, and constify a few arrays while there. | Miod Vallat | |
no functional change. | |||
2010-08-28 | Remove dead code, ansify, and clean the match routine; adapted from a diff | Miod Vallat | |
by Alexandr Shadchin (firstname dot lastname at gmail) on tech@ | |||
2010-08-27 | Make PCI Power Management optional, and only enable it when acpi(4) attaches. | Mark Kettenis | |
ok deraadt@ | |||
2010-08-27 | Move the activate function from pci to the the main driver, so that the | Theo de Raadt | |
powerhook can use it ok kettenis | |||
2010-08-27 | Move the guts of the powerhook function into the activate function and make | Theo 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-27 | Massage the powerhook function into an activate function, and since we do | Theo 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-27 | Make the powerhook use the activate functions, which actually do the full | Theo de Raadt | |
job. | |||
2010-08-27 | Move the dc_pci_activate function to dc.c, and mangle it up with some of | Theo de Raadt | |
the gunk in dc_powerhook. Then make dc_powerhook just call it ok kettenis | |||
2010-08-27 | The 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-27 | Get rid of the clumsy pci_activate function and do this job inside ath.c | Theo de Raadt | |
so that the powerhook wrapper can get at it ok kettenis | |||
2010-08-27 | Run powerhooks with interrupts blocked. This requires a bit of a song and | Theo 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-27 | caught a small typo while reading the code: senor -> sensor | Robert Nagy | |
2010-08-27 | Since the changes in neo(4) work, it is very likely that the exact same | Theo de Raadt | |
mechnical changes work in these drivers too. Testing can occur after this commit. | |||
2010-08-27 | Mangle neo_power's contents into a neo_activate function, then make | Theo de Raadt | |
neo_power into a stub which calls it. Tested on an ancient z505r; my first laptop.... | |||
2010-08-27 | Make the powerhook code simply call the activate function (it actually does | Theo de Raadt | |
all the 7 steps we want done, instead of just 2) | |||
2010-08-27 | Since 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-27 | remove the unused if_init callback in struct ifnet | Jonathan Gray | |
ok deraadt@ henning@ claudio@ | |||
2010-08-27 | Mutilate the powerhook function into an activate function, then create | Theo de Raadt | |
a stub powerhook function to call it. | |||
2010-08-27 | Delete #if'd out powerhook code which is just unfinished scaffolding | Theo de Raadt | |
2010-08-27 | Stop 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-27 | Have the em powerhook call the activate function, which does a way better | Theo de Raadt | |
job of taking the chip up and down. | |||
2010-08-27 | Move the xl_pci_activate function into xl_activate so that it is in the | Theo 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-27 | Improve sdhc_activate, and make sdhc_powerhook a simple wrapper around | Theo de Raadt | |
it for now ok kettenis | |||
2010-08-27 | no need for a sc_suspended variable | Theo de Raadt | |
2010-08-27 | screen blanking code for SM502, and some smfb code cleanup. | Miod Vallat | |
2010-08-27 | These do not need powerhook functions. | Theo de Raadt | |
ok jsg | |||
2010-08-27 | gem never had any powerhook support | Theo de Raadt | |
2010-08-27 | Delete comments about these drivers needing powerhook support; they don't. | Theo de Raadt | |
2010-08-27 | get some format strings and variables right in debug output | David Gwynne | |
2010-08-27 | More killing of PWR_STANDBY. cvs skipped these files | Theo de Raadt | |
2010-08-27 | kill PWR_STANDBY (apm can use PWR_SUSPEND instead). While here, renumber | Theo 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-26 | Screen burner support for SM712 flavour (Lemote Yeeloong) | Miod Vallat | |
2010-08-26 | make the comment explaining the kernel submaps a bit better. | Thordur I. Bjornsson | |
ok art@, oga@ | |||
2010-08-26 | Link 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-26 | regen | Jonathan Gray | |
2010-08-26 | Add HP iLO3 devices and another PLX bridge. | Jonathan Gray | |
2010-08-25 | Make CardBus ral(4) suspend and resume properly on machines that keep the | Mark Kettenis | |
CardBus bridge powered up during suspend. Step zero on the long road towards fully suspending CardBus on all machines. ok deraadt@, damien@ | |||
2010-08-25 | Let rtable_add() return usefull errnos so that the ioctl handler and the | Claudio Jeker | |
rtsock code can return a more reasonable error to the user. OK henning | |||
2010-08-25 | Move the iface specific ioctl call for SIOCSIFRDOMAIN further down so that | Claudio Jeker | |
all the magic cleanup happens before. This is needed because mpe(4) needs to add a route which would be removed by the cleanup code. OK henning | |||
2010-08-25 | When setting a rdomain also force -inet6 aka IFXF_NOINET6 on the interface | Claudio Jeker | |
since IPv6 is not rdomain aware and freaks out about it. OK henning | |||
2010-08-25 | Remove the SPARC_BOOT_ELF define and associated machinery since it does | Joel Sing | |
not make sense to compile ofwboot without support for ELF. Whilst here, nuke the unused SPARC_BOOT_NFS define and compile elf64_exec.c as an object rather than including it in boot.c. ok miod@ | |||
2010-08-25 | try giving all devices on ami access to all the ccbs. iopools will share | David Gwynne | |
them out safely. | |||
2010-08-25 | add scsi_iopool_destroy and scsi_link_shutdown. when a link or | David Gwynne | |
device are going away, this will walk the pool and link queues and wake up processes that are sleeping while waiting for an io or xs. they will return NULL to the scsi_{xs,io}_get callers, which should then check if they device is still alive. all other handlers that are registered on the queues should be removed by their owners before the destroy/shutdown funcs are called. lots of help and discussion with matthew@ ok matthew@ | |||
2010-08-24 | spaces | Claudio Jeker | |
2010-08-24 | Add a splnet() around a block that needs it for sure. Maybe more in | Claudio Jeker | |
SIOCSIFRDOMAIN should be protected but this is by far the biggest offender. The same codepath in if_detach() runs at splnet(). | |||
2010-08-24 | Only do the link state checking and RTF_UP dance if the routing table is | Claudio Jeker | |
rn_mpath_capable(). Move code down into the mpath specific block. Not all routing tables support multipath and therefor priorities. | |||
2010-08-24 | lockmgr -> rwlock conversion | Bret Lambert | |
and with this, my adventure in sdmmc-land is over bikeshed is still banana-shaped ok oga@ | |||
2010-08-24 | legibility fixes: | Bret Lambert | |
1) one statement per line 2) label gets its own line, and doesn't share it with a statement no functional change "Let the turd shine." claudio@ | |||
2010-08-24 | last is a pointer so initialize to NULL and not 0. Also move initialization | Claudio Jeker | |
up to the declaration. |