Module Name: src Committed By: macallan Date: Wed Sep 5 21:23:31 UTC 2012
Modified Files: src/sys/arch/macppc/dev: smartbat.c Log Message: split the envsys sensors into two devices - one SME_CLASS_ACADAPTER and one SME_CLASS_BATTERY, register the former only on unit 0 so we don't end up with two of them on powerbooks that have two battery slots. Now userland has a fighting chance to find the AC status. TODO: make the battery sensors look more like acpibat's To generate a diff of this commit: cvs rdiff -u -r1.8 -r1.9 src/sys/arch/macppc/dev/smartbat.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.