forked from torvalds/linux
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This moves sysfs ABI info from Documentation/rfkill.txt to the ABI subfolder and reformats it. This also schedules the deprecated sysfs parts to be removed in 2012 (claim file) and 2014 (state file). Signed-off-by: Florian Mickler <[email protected]> Signed-off-by: John W. Linville <[email protected]>
- Loading branch information
1 parent
75a9a92
commit 69c8637
Showing
4 changed files
with
102 additions
and
31 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
rfkill - radio frequency (RF) connector kill switch support | ||
|
||
For details to this subsystem look at Documentation/rfkill.txt. | ||
|
||
What: /sys/class/rfkill/rfkill[0-9]+/state | ||
Date: 09-Jul-2007 | ||
KernelVersion v2.6.22 | ||
Contact: [email protected] | ||
Description: Current state of the transmitter. | ||
This file is deprecated and sheduled to be removed in 2014, | ||
because its not possible to express the 'soft and hard block' | ||
state of the rfkill driver. | ||
Values: A numeric value. | ||
0: RFKILL_STATE_SOFT_BLOCKED | ||
transmitter is turned off by software | ||
1: RFKILL_STATE_UNBLOCKED | ||
transmitter is (potentially) active | ||
2: RFKILL_STATE_HARD_BLOCKED | ||
transmitter is forced off by something outside of | ||
the driver's control. | ||
|
||
What: /sys/class/rfkill/rfkill[0-9]+/claim | ||
Date: 09-Jul-2007 | ||
KernelVersion v2.6.22 | ||
Contact: [email protected] | ||
Description: This file is deprecated because there no longer is a way to | ||
claim just control over a single rfkill instance. | ||
This file is scheduled to be removed in 2012. | ||
Values: 0: Kernel handles events |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
rfkill - radio frequency (RF) connector kill switch support | ||
|
||
For details to this subsystem look at Documentation/rfkill.txt. | ||
|
||
For the deprecated /sys/class/rfkill/*/state and | ||
/sys/class/rfkill/*/claim knobs of this interface look in | ||
Documentation/ABI/obsolte/sysfs-class-rfkill. | ||
|
||
What: /sys/class/rfkill | ||
Date: 09-Jul-2007 | ||
KernelVersion: v2.6.22 | ||
Contact: [email protected], | ||
Description: The rfkill class subsystem folder. | ||
Each registered rfkill driver is represented by an rfkillX | ||
subfolder (X being an integer > 0). | ||
|
||
|
||
What: /sys/class/rfkill/rfkill[0-9]+/name | ||
Date: 09-Jul-2007 | ||
KernelVersion v2.6.22 | ||
Contact: [email protected] | ||
Description: Name assigned by driver to this key (interface or driver name). | ||
Values: arbitrary string. | ||
|
||
|
||
What: /sys/class/rfkill/rfkill[0-9]+/type | ||
Date: 09-Jul-2007 | ||
KernelVersion v2.6.22 | ||
Contact: [email protected] | ||
Description: Driver type string ("wlan", "bluetooth", etc). | ||
Values: See include/linux/rfkill.h. | ||
|
||
|
||
What: /sys/class/rfkill/rfkill[0-9]+/persistent | ||
Date: 09-Jul-2007 | ||
KernelVersion v2.6.22 | ||
Contact: [email protected] | ||
Description: Whether the soft blocked state is initialised from non-volatile | ||
storage at startup. | ||
Values: A numeric value. | ||
0: false | ||
1: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -520,6 +520,24 @@ Who: Hans de Goede <[email protected]> | |
|
||
---------------------------- | ||
|
||
What: sysfs-class-rfkill state file | ||
When: Feb 2014 | ||
Files: net/rfkill/core.c | ||
Why: Documented as obsolete since Feb 2010. This file is limited to 3 | ||
states while the rfkill drivers can have 4 states. | ||
Who: anybody or Florian Mickler <[email protected]> | ||
|
||
---------------------------- | ||
|
||
What: sysfs-class-rfkill claim file | ||
When: Feb 2012 | ||
Files: net/rfkill/core.c | ||
Why: It is not possible to claim an rfkill driver since 2007. This is | ||
Documented as obsolete since Feb 2010. | ||
Who: anybody or Florian Mickler <[email protected]> | ||
|
||
---------------------------- | ||
|
||
What: capifs | ||
When: February 2011 | ||
Files: drivers/isdn/capi/capifs.* | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters