summaryrefslogtreecommitdiffstats
path: root/sys/dev/pci/alipm.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Avoid uninitiliazed use of ctl and corresponding warnings.haesbaert2012-10-051-1/+3
| | | | | | Part of the work to remove -Wno-uninitialized. ok kettenis@
* these files don't need to include proc.h anymore. ok oga for agptedu2010-04-081-2/+1
|
* make various strings ("can't map mem space" and similar) more consistentsthen2009-03-291-3/+3
| | | | | | | between instances, saving space in the kernel. feedback from many (some incorporated, some left for future work). ok deraadt, kettenis, "why not" miod.
* missed an struct lock to struct rwlock in the softc.dlg2007-05-031-2/+2
| | | | found by and ok claudio@
* convert lockmgr style locks to rwlocks.dlg2007-05-031-5/+5
| | | | input from art@
* do not bus_space_map devices which are at address 0; ok kettenisderaadt2006-12-111-2/+3
|
* Sprinkle a few bus_space_barrier() calls. Some of these may not be strictlykettenis2006-05-091-16/+27
| | | | | | necessary, but they will help debugging of alipm(4) still messes up the bus on sparc64. Always enable on sparc64 again. ok deraadt@
* Typos grab bag of the month, eyeballed by jmc@miod2006-03-041-2/+2
|
* Disable alipm(4) on sparc64 if not running at the recommended 74KHz clock, tokettenis2006-02-261-1/+14
| | | | | avoid data_access_error exceptions. ok deraadt@
* split the ofw scan up into two parts: one to find the i2c bus on a pcidlg2006-02-091-2/+2
| | | | | | device, and one to find i2c devices on the i2c bus. tweaks and ok kettenis@ ok djm@
* Make sure we unmap io space if we fail to attach.kettenis2006-01-041-8/+13
| | | | "makes sense" deraadt@
* do i2c initialization using ofw data instead of scanning; ok kettenisderaadt2006-01-021-1/+9
| | | | | this may require some changes for non-pmu controllers later, which may do the ofw tables slightly differently
* switch from macppc-specific maciic(4) driver to the generic iic(4),deraadt2006-01-011-2/+3
| | | | | after teaching it to use a function pointer to get back to the OFW scan.. this will also help the sparc64 later; ok kettenis
* Add support for newer M7101 chips with different PCI config registers layout.kettenis2005-12-271-20/+48
| | | | tested by deraadt@
* Reset i2c bus if operation times out.kettenis2005-12-261-5/+9
|
* Driver for Acer Labs M7101 power management controllerkettenis2005-12-241-0/+336