-
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.
yaml --- r: 310962 b: refs/heads/master c: 873b779 h: refs/heads/master v: v3
- Loading branch information
Linus Torvalds
committed
Jun 16, 2012
1 parent
c014388
commit 2d0383c
Showing
1,209 changed files
with
49,970 additions
and
14,767 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 |
---|---|---|
@@ -1,2 +1,2 @@ | ||
--- | ||
refs/heads/master: e216c8c771c9a77f14d7e8b4131846b038f6c145 | ||
refs/heads/master: 873b779d998fd70e17a3f2bff6a35f0e0a3b0f11 |
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
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
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,77 @@ | ||
What: /sys/bus/fcoe/ctlr_X | ||
Date: March 2012 | ||
KernelVersion: TBD | ||
Contact: Robert Love <robert.w.love@intel.com>, devel@open-fcoe.org | ||
Description: 'FCoE Controller' instances on the fcoe bus | ||
Attributes: | ||
|
||
fcf_dev_loss_tmo: Device loss timeout peroid (see below). Changing | ||
this value will change the dev_loss_tmo for all | ||
FCFs discovered by this controller. | ||
|
||
lesb_link_fail: Link Error Status Block (LESB) link failure count. | ||
|
||
lesb_vlink_fail: Link Error Status Block (LESB) virtual link | ||
failure count. | ||
|
||
lesb_miss_fka: Link Error Status Block (LESB) missed FCoE | ||
Initialization Protocol (FIP) Keep-Alives (FKA). | ||
|
||
lesb_symb_err: Link Error Status Block (LESB) symbolic error count. | ||
|
||
lesb_err_block: Link Error Status Block (LESB) block error count. | ||
|
||
lesb_fcs_error: Link Error Status Block (LESB) Fibre Channel | ||
Serivces error count. | ||
|
||
Notes: ctlr_X (global increment starting at 0) | ||
|
||
What: /sys/bus/fcoe/fcf_X | ||
Date: March 2012 | ||
KernelVersion: TBD | ||
Contact: Robert Love <robert.w.love@intel.com>, devel@open-fcoe.org | ||
Description: 'FCoE FCF' instances on the fcoe bus. A FCF is a Fibre Channel | ||
Forwarder, which is a FCoE switch that can accept FCoE | ||
(Ethernet) packets, unpack them, and forward the embedded | ||
Fibre Channel frames into a FC fabric. It can also take | ||
outbound FC frames and pack them in Ethernet packets to | ||
be sent to their destination on the Ethernet segment. | ||
Attributes: | ||
|
||
fabric_name: Identifies the fabric that the FCF services. | ||
|
||
switch_name: Identifies the FCF. | ||
|
||
priority: The switch's priority amongst other FCFs on the same | ||
fabric. | ||
|
||
selected: 1 indicates that the switch has been selected for use; | ||
0 indicates that the swich will not be used. | ||
|
||
fc_map: The Fibre Channel MAP | ||
|
||
vfid: The Virtual Fabric ID | ||
|
||
mac: The FCF's MAC address | ||
|
||
fka_peroid: The FIP Keep-Alive peroid | ||
|
||
fabric_state: The internal kernel state | ||
"Unknown" - Initialization value | ||
"Disconnected" - No link to the FCF/fabric | ||
"Connected" - Host is connected to the FCF | ||
"Deleted" - FCF is being removed from the system | ||
|
||
dev_loss_tmo: The device loss timeout peroid for this FCF. | ||
|
||
Notes: A device loss infrastructre similar to the FC Transport's | ||
is present in fcoe_sysfs. It is nice to have so that a | ||
link flapping adapter doesn't continually advance the count | ||
used to identify the discovered FCF. FCFs will exist in a | ||
"Disconnected" state until either the timer expires and the | ||
FCF becomes "Deleted" or the FCF is rediscovered and becomes | ||
"Connected." | ||
|
||
|
||
Users: The first user of this interface will be the fcoeadm application, | ||
which is commonly packaged in the fcoe-utils package. |
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
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
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
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
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
93 changes: 93 additions & 0 deletions
93
trunk/Documentation/devicetree/bindings/i2c/i2c-mux-pinctrl.txt
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,93 @@ | ||
Pinctrl-based I2C Bus Mux | ||
|
||
This binding describes an I2C bus multiplexer that uses pin multiplexing to | ||
route the I2C signals, and represents the pin multiplexing configuration | ||
using the pinctrl device tree bindings. | ||
|
||
+-----+ +-----+ | ||
| dev | | dev | | ||
+------------------------+ +-----+ +-----+ | ||
| SoC | | | | ||
| /----|------+--------+ | ||
| +---+ +------+ | child bus A, on first set of pins | ||
| |I2C|---|Pinmux| | | ||
| +---+ +------+ | child bus B, on second set of pins | ||
| \----|------+--------+--------+ | ||
| | | | | | ||
+------------------------+ +-----+ +-----+ +-----+ | ||
| dev | | dev | | dev | | ||
+-----+ +-----+ +-----+ | ||
|
||
Required properties: | ||
- compatible: i2c-mux-pinctrl | ||
- i2c-parent: The phandle of the I2C bus that this multiplexer's master-side | ||
port is connected to. | ||
|
||
Also required are: | ||
|
||
* Standard pinctrl properties that specify the pin mux state for each child | ||
bus. See ../pinctrl/pinctrl-bindings.txt. | ||
|
||
* Standard I2C mux properties. See mux.txt in this directory. | ||
|
||
* I2C child bus nodes. See mux.txt in this directory. | ||
|
||
For each named state defined in the pinctrl-names property, an I2C child bus | ||
will be created. I2C child bus numbers are assigned based on the index into | ||
the pinctrl-names property. | ||
|
||
The only exception is that no bus will be created for a state named "idle". If | ||
such a state is defined, it must be the last entry in pinctrl-names. For | ||
example: | ||
|
||
pinctrl-names = "ddc", "pta", "idle" -> ddc = bus 0, pta = bus 1 | ||
pinctrl-names = "ddc", "idle", "pta" -> Invalid ("idle" not last) | ||
pinctrl-names = "idle", "ddc", "pta" -> Invalid ("idle" not last) | ||
|
||
Whenever an access is made to a device on a child bus, the relevant pinctrl | ||
state will be programmed into hardware. | ||
|
||
If an idle state is defined, whenever an access is not being made to a device | ||
on a child bus, the idle pinctrl state will be programmed into hardware. | ||
|
||
If an idle state is not defined, the most recently used pinctrl state will be | ||
left programmed into hardware whenever no access is being made of a device on | ||
a child bus. | ||
|
||
Example: | ||
|
||
i2cmux { | ||
compatible = "i2c-mux-pinctrl"; | ||
#address-cells = <1>; | ||
#size-cells = <0>; | ||
|
||
i2c-parent = <&i2c1>; | ||
|
||
pinctrl-names = "ddc", "pta", "idle"; | ||
pinctrl-0 = <&state_i2cmux_ddc>; | ||
pinctrl-1 = <&state_i2cmux_pta>; | ||
pinctrl-2 = <&state_i2cmux_idle>; | ||
|
||
i2c@0 { | ||
reg = <0>; | ||
#address-cells = <1>; | ||
#size-cells = <0>; | ||
|
||
eeprom { | ||
compatible = "eeprom"; | ||
reg = <0x50>; | ||
}; | ||
}; | ||
|
||
i2c@1 { | ||
reg = <1>; | ||
#address-cells = <1>; | ||
#size-cells = <0>; | ||
|
||
eeprom { | ||
compatible = "eeprom"; | ||
reg = <0x50>; | ||
}; | ||
}; | ||
}; | ||
|
Oops, something went wrong.