summaryrefslogtreecommitdiff
path: root/sys/dev/pci/amdpm.c
AgeCommit message (Collapse)Author
2006-12-11do not bus_space_map devices which are at address 0; ok kettenisTheo de Raadt
2006-11-28acpi may steal power management functionality, in which case weMark Kettenis
cannot io map the device. Bail out without warning. If we want to retain the rgn we could re-enable io and be very very careful. ok deraadt@
2006-09-28Provide more info in error messages so we can see what's goingAlexander Yurchenko
on. And some cosmetics in debug messages while here.
2006-03-09unbreak the tree. i dunno how this compiled on my box at home.David Gwynne
found by marco@
2006-03-08amdpmreg.h is only used by amdpm.c, so merge the header into the c file.David Gwynne
this unclutters the tree a bit. ok deraadt@
2006-03-08tweak the debug macros a bitDavid Gwynne
2006-03-08fix support for the smbus controller on nforce 1 chipsets. only try toDavid Gwynne
use the timer and rng on amd chips. diff, testing, and patience from gwk
2006-03-07whitespace fixesDavid Gwynne
2006-01-15In iic_exec don't fail immediately if bus is already busy. It might beAlexander Yurchenko
running a BIOS' transfer so wait a bit and try again.
2006-01-09with an offset tweak, this can also support the nvidia nforce smbusTheo de Raadt
same unit is found on amd756 and amd8111. try to support the RNG as well. from gklok@cogeco.ca
2006-01-06remove NetBSD's event counter code.Brad Smith
ok grange@
2006-01-05knfAlexander Yurchenko
2006-01-05Add my copyright.Alexander Yurchenko
2006-01-05Add SMBus host interface support for amdpm(4).Alexander Yurchenko
ok deraadt@
2006-01-02use pci_matchbyid.Brad Smith
2004-09-17Some cleanup:Alexander Yurchenko
- don't mix unsigned and u_int across the code - un'static some funcs ok art@
2004-07-28This touches only MI code, and adds new time keeping code. TheThorsten Lockert
code is all conditionalized on __HAVE_TIMECOUNTER, and not enabled on any platforms. adjtime(2) support exists, courtesy of nordin@, sysctl(2) support and a concept of quality for each time source attached exists. High quality time sources exists for PIIX4 ACPI timer as well as some AMD power management chips. This will have to be redone once we actually add ACPI support (at that time we need to use the ACPI interfaces to get at these clocks). ok art@ ken@ miod@ jmc@ and many more
2002-11-04make this compile; reported by pluf, mickey ok.Federico G. Schwindt
2002-06-05steal'' performance calculating loop from pchb.c and have a uniform outputMichael Shalayeff
2002-06-05a driver for the rng on the amd768 power management device (no actual power ↵Michael Shalayeff
management capabilities are supported yet; from netbsd