提交 e0a2f28b 编写于 作者: S Scott Wood 提交者: Paul Mackerras

[POWERPC] Document the linux,network-index property.

To allow more robust association of each network device node with an
index (such as is used by the firmware or an EEPROM to indicate MAC
addresses), a network device's node may specify the index explicitly.
Signed-off-by: NScott Wood <scottwood@freescale.com>
Acked-by: David Gibson david@gibson.dropbear.id.au>
Signed-off-by: NPaul Mackerras <paulus@samba.org>
上级 a9903811
...@@ -1182,6 +1182,13 @@ platforms are moved over to use the flattened-device-tree model. ...@@ -1182,6 +1182,13 @@ platforms are moved over to use the flattened-device-tree model.
- phy-handle : The phandle for the PHY connected to this ethernet - phy-handle : The phandle for the PHY connected to this ethernet
controller. controller.
Recommended properties:
- linux,network-index : This is the intended "index" of this
network device. This is used by the bootwrapper to interpret
MAC addresses passed by the firmware when no information other
than indices is available to associate an address with a device.
Example: Example:
ethernet@24000 { ethernet@24000 {
...@@ -1550,6 +1557,12 @@ platforms are moved over to use the flattened-device-tree model. ...@@ -1550,6 +1557,12 @@ platforms are moved over to use the flattened-device-tree model.
- mac-address : list of bytes representing the ethernet address. - mac-address : list of bytes representing the ethernet address.
- phy-handle : The phandle for the PHY connected to this controller. - phy-handle : The phandle for the PHY connected to this controller.
Recommended properties:
- linux,network-index : This is the intended "index" of this
network device. This is used by the bootwrapper to interpret
MAC addresses passed by the firmware when no information other
than indices is available to associate an address with a device.
Example: Example:
ucc@2000 { ucc@2000 {
device_type = "network"; device_type = "network";
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册