summaryrefslogtreecommitdiff
path: root/sys/dev/pci/alipm.c
AgeCommit message (Collapse)Author
2007-05-03missed an struct lock to struct rwlock in the softc.David Gwynne
found by and ok claudio@
2007-05-03convert lockmgr style locks to rwlocks.David Gwynne
input from art@
2006-12-11do not bus_space_map devices which are at address 0; ok kettenisTheo de Raadt
2006-05-09Sprinkle a few bus_space_barrier() calls. Some of these may not be strictlyMark Kettenis
necessary, but they will help debugging of alipm(4) still messes up the bus on sparc64. Always enable on sparc64 again. ok deraadt@
2006-03-04Typos grab bag of the month, eyeballed by jmc@Miod Vallat
2006-02-26Disable alipm(4) on sparc64 if not running at the recommended 74KHz clock, toMark Kettenis
avoid data_access_error exceptions. ok deraadt@
2006-02-09split the ofw scan up into two parts: one to find the i2c bus on a pciDavid Gwynne
device, and one to find i2c devices on the i2c bus. tweaks and ok kettenis@ ok djm@
2006-01-04Make sure we unmap io space if we fail to attach.Mark Kettenis
"makes sense" deraadt@
2006-01-02do i2c initialization using ofw data instead of scanning; ok kettenisTheo de Raadt
this may require some changes for non-pmu controllers later, which may do the ofw tables slightly differently
2006-01-01switch from macppc-specific maciic(4) driver to the generic iic(4),Theo de Raadt
after teaching it to use a function pointer to get back to the OFW scan.. this will also help the sparc64 later; ok kettenis
2005-12-27Add support for newer M7101 chips with different PCI config registers layout.Mark Kettenis
tested by deraadt@
2005-12-26Reset i2c bus if operation times out.Mark Kettenis
2005-12-24Driver for Acer Labs M7101 power management controllerMark Kettenis