Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: syssrc/sys/arch/i386



Module Name:    syssrc
Committed By:   perry
Date:           Mon Sep 10 05:23:32 UTC 2001

Modified Files:
        syssrc/sys/arch/i386/i386: apm.c
        syssrc/sys/arch/i386/include: apmvar.h

Log Message:
Make it possible to query each battery individually by making the
APM_IOC_GETPOWER ioctl read/write. Setting the batteryid in the passed
structure returns the data for just that battery. The old ioctl
remains for binary compatibility but has been renamed.

Itojun already did the hard work -- I just added a couple of lines.

reviewed by: thorpej


To generate a diff of this commit:
cvs rdiff -r1.63 -r1.64 syssrc/sys/arch/i386/i386/apm.c
cvs rdiff -r1.13 -r1.14 syssrc/sys/arch/i386/include/apmvar.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index