Source-Changes archive

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

CVS commit: [netbsd-7] src



Module Name:    src
Committed By:   snj
Date:           Mon Jan 12 21:15:12 UTC 2015

Modified Files:
        src/share/man/man9 [netbsd-7]: sysmon_pswitch.9
        src/sys/dev/pci [netbsd-7]: if_wpi.c if_wpivar.h
        src/sys/dev/sysmon [netbsd-7]: sysmon_power.c
        src/sys/sys [netbsd-7]: power.h

Log Message:
Pull up following revision(s) (requested by bouyer in ticket #415):
        share/man/man9/sysmon_pswitch.9: revision 1.6
        sys/dev/pci/if_wpi.c: revision 1.70, 1.71
        sys/dev/pci/if_wpivar.h: revision 1.19
        sys/dev/sysmon/sysmon_power.c: revision 1.49
        sys/sys/power.h: revision 1.20
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.
--
Take sc_rsw_mtx before calling wpi_getrfkill() from wpi_init(),
Problem reported and patch tested by chris at chriswareham.net


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.5.4.1 src/share/man/man9/sysmon_pswitch.9
cvs rdiff -u -r1.68.2.1 -r1.68.2.2 src/sys/dev/pci/if_wpi.c
cvs rdiff -u -r1.18 -r1.18.2.1 src/sys/dev/pci/if_wpivar.h
cvs rdiff -u -r1.47 -r1.47.2.1 src/sys/dev/sysmon/sysmon_power.c
cvs rdiff -u -r1.19 -r1.19.10.1 src/sys/sys/power.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