summaryrefslogtreecommitdiffstats
path: root/sys/dev/pci/glxpcib.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Convert watchdog(4) devices to use autoconf(9) framework.mikeb2014-12-101-1/+8
| | | | ok deraadt, tests on glxpcib and ok mpi
* #ifdef SMALL_KERNEL some sensor blocks; ok miodderaadt2014-10-081-2/+2
|
* remove uneeded proc.h includesjsg2014-09-141-2/+1
| | | | ok mpi@ kspillner@
* Add a DVACT_WAKEUP op to the *_activate() API. This is called after thederaadt2013-12-061-7/+4
| | | | | | | | kernel resumes normal (non-cold, able to run processes, etc) operation. Previously we were relying on specific DVACT_RESUME op's in drivers creating callback/threads themselves, but that has become too common, indicating the need for a built-in mechanism. ok dlg kettenis, tested by a sufficient amount of people
* Set the `Power Immediate' bit upon attaching, to enable automatic restartmiod2013-03-171-1/+23
| | | | | | | | | | upon power failures. While most, if not all, x86-based Geode designs force this bit to be set, loongson designs don't. This makes Fuloong restart automatically upon power failure (they used to require manual intervention before). misfeature (and hints where to search for a fix) reported by Joel K. Bertrand; ok pirofti@ deraadt@ mpi@
* Loongson: add throttling support.pirofti2013-01-161-5/+1
| | | | | | | | This commit allows CPU throttling on the 2F systems. Inspired by an old diff from otto@. Help from and okay miod@.
* Loongson: Replace the system clock provided by the CPU with a GLX MFGPT.pirofti2013-01-141-2/+47
| | | | | | | | | | | | | | | CPU throttling was not possible due to the fact that the system clock was the CPU clock. So slowing down the CPU would also slow down the passing of time. This commit adds a driver for the MFGPT1 clock from the AMD companion chip found on lemote and hooks it up as the system clock. It also changes the frequency value of hz from the default, which was 100, to 128. That's because the scaling on MFGPT clocks is represented by powers of two. Okay miod@.
* Swap arguments to wdog_register() since it is nicer, and preparederaadt2012-10-171-2/+2
| | | | wdog_shutdown() for external usage.
* Revamp the sequences for suspend/hibernate -> resume so that the codederaadt2012-10-081-1/+4
| | | | | | | | | | paths are reflexive. It is now possible to fail part-way through a suspend sequence, and recover along the resume code path. Split DVACT_SUSPEND by adding a new DVACT_POWERDOWN method is used after hibernate (and suspend too) to finish the job. Some drivers must be converted at the same time to use this instead of shutdown hooks (the others will follow at a later time) ok kettenis mlarkin
* oops. correct diff this timemikeb2012-03-061-47/+30
|
* Add support for an SMB controller found on AMD CS5536 companion device.mikeb2012-03-061-13/+320
| | | | | Tested on alix and soekris by benno, mpf, shadchin and myself. Loongson tests by miod. OK mpf, shadchin, kettenis
* Missed this in the last commit. No cookie for me.pirofti2010-10-231-2/+2
|
* Unbreak SMALL_KERNEL. Reported by Mikolaj Kucharski, thanks!pirofti2010-10-231-2/+4
|
* Move glxpcib(4) to MI land unifying the two MD drivers.pirofti2010-10-141-0/+465
Specific features of the companion chip will be handled in MD land. Okay deraadt@.