Module Name: src Committed By: bouyer Date: Tue Jan 6 15:39:54 UTC 2015
Modified Files: src/share/man/man9: sysmon_pswitch.9 src/sys/dev/pci: if_wpi.c if_wpivar.h src/sys/dev/sysmon: sysmon_power.c src/sys/sys: power.h Log Message: As proposed on tech-net@, introduce a new switch type, PSWITCH_TYPE_RADIO, to be used to report to userland hardware radio switch changes. powerd(8) will call a "radio_button" script to handle the event. This script can e.g. start or stop wpa_supplicant. Update wpi(4) to report PSWITCH_TYPE_RADIO events to sysmon. To generate a diff of this commit: cvs rdiff -u -r1.5 -r1.6 src/share/man/man9/sysmon_pswitch.9 cvs rdiff -u -r1.69 -r1.70 src/sys/dev/pci/if_wpi.c cvs rdiff -u -r1.18 -r1.19 src/sys/dev/pci/if_wpivar.h cvs rdiff -u -r1.48 -r1.49 src/sys/dev/sysmon/sysmon_power.c cvs rdiff -u -r1.19 -r1.20 src/sys/sys/power.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.