linux下rapidio枚举 环境变量设置

简介: linux下rapidio枚举 环境变量设置

kernel-source\Documentation\rapidio\rapidio.txt


Enumeration is performed by a master port if it is configured as a host port by

assigning a host destination ID greater than or equal to zero. The host

destination ID can be assigned to a master port using various methods depending

on RapidIO subsystem build configuration:


 (a) For a statically linked RapidIO subsystem core use command line parameter

 "rapidio.hdid=" with a list of destination ID assignments in order of mport

 device registration. For example, in a system with two RapidIO controllers

 the command line parameter "rapidio.hdid=-1,7" will result in assignment of

 the host destination ID=7 to the second RapidIO controller, while the first

 one will be assigned destination ID=-1.


 (b) If the RapidIO subsystem core is built as a loadable module, in addition

 to the method shown above, the host destination ID(s) can be specified using

 traditional methods of passing module parameter "hdid=" during its loading:

 - from command line: "modprobe rapidio hdid=-1,7", or

 - from modprobe configuration file using configuration command "options",

   like in this example: "options rapidio hdid=-1,7". An example of modprobe

   configuration file is provided in the section below.


 NOTES:

 (i)

if "hdid=" parameter is omitted all available mport will be assigned
  destination ID = -1;

 (ii)

the "hdid=" parameter in systems with multiple mports can have
  destination ID assignments omitted from the end of list (default = -1).


If the host device ID for a specific master port is set to -1, the discovery

process will be performed for it.


The enumeration and discovery routines use RapidIO maintenance transactions

to access the configuration space of devices.



目录
相关文章
|
18小时前
|
Linux
Linux设置系统时间(上海时区、硬件时间、重启有效)
Linux设置系统时间(上海时区、硬件时间、重启有效)
2 0
|
4天前
|
Linux C语言 Windows
Linux技术分享:Linux设置软链接
Linux技术分享:Linux设置软链接
15 2
|
5天前
|
存储 NoSQL Linux
Linux下Redis简介、安装、设置、启动
Linux下Redis简介、安装、设置、启动
12 0
|
6天前
|
存储 搜索推荐 Linux
linux设置环境变量
linux设置环境变量
|
7天前
|
关系型数据库 MySQL Shell
【权限提升】Linux系统&环境变量&定时任务&权限配置不当&MDUT自动化
【权限提升】Linux系统&环境变量&定时任务&权限配置不当&MDUT自动化
|
9天前
|
Linux
【Linux驱动学习(1)】USB与input子系统,linux统一设备模型,枚举,USB描述符深入剖析
【Linux驱动学习(1)】USB与input子系统,linux统一设备模型,枚举,USB描述符深入剖析
|
12天前
|
Linux Shell 编译器
Linux进程——Linux环境变量
Linux进程——Linux环境变量
11 3
|
23天前
|
Linux Shell
28. 【Linux教程】删除环境变量
28. 【Linux教程】删除环境变量
20 0
|
23天前
|
Shell Linux 网络安全
27. 【Linux教程】配置环境变量
27. 【Linux教程】配置环境变量
18 0
|
23天前
|
Linux Shell
26. 【Linux教程】Linux 查看环境变量
26. 【Linux教程】Linux 查看环境变量
29 1