On Jan 25, 2010, at 1:33 PM, Jukka Ruohonen wrote: > The other places where it is currently used: > > * sys/arch/arm/xscale/becc_button.c > * sys/arch/evbarm/hdl_g/btn_obio.c > * sys/arch/evbarm/nslu2/nslu2_buttons.c > * sys/arch/hp700/dev/power.c > * sys/arch/landisk/dev/btn_obio.c > * sys/arch/landisk/dev/pwrsw_obio.c > * sys/arch/mips/atheros/dev/argpio.c > * sys/arch/sgimips/hpc/panel.c > * sys/arch/sparc/dev/tctrl.c > * sys/arch/sparc64/dev/psycho.c > * sys/arch/x68k/dev/pow.c > * sys/dev/adb/adb_kbd.c > * sys/arch/arm/xscale/becc_button.c > > ... and probably others. > > This makes it pretty "general" to me.
At least for the "button" drivers above, it is used to interface with the sysmon_power framework (power button events, etc.) -- thorpej