GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing docs.kernel.org — Linux Switchtec Support — The Linux Kernel documentation Linux Switchtec Support¶Microsemi’s “Switchtec” line of PCI switch devices is already supported by the kernel with standard PCI switch drivers. However, the Switchtec device advertises a special management endpoint which enables some additional functionality. This includes:
The switchtec kernel module implements this functionality. Interface¶The primary means of communicating with the Switchtec management firmware is through the Memory-mapped Remote Procedure Call (MRPC) interface. Commands are submitted to the interface with a 4-byte command identifier and up to 1KB of command specific data. The firmware will respond with a 4-byte return code and up to 1KB of command-specific data. The interface only processes a single command at a time. Userspace Interface¶The MRPC interface will be exposed to userspace through a simple char device: /dev/switchtec#, one for each management endpoint in the system. The char device has the following semantics:
The following IOCTLs are also supported by the device:
Non-Transparent Bridge (NTB) Driver¶An NTB hardware driver is provided for the Switchtec hardware in ntb_hw_switchtec. Currently, it only supports switches configured with exactly 2 NT partitions and zero or more non-NT partitions. It also requires the following configuration settings:
NT EP BAR 2 will be dynamically configured as a Direct Window, and the configuration file does not need to configure it explicitly. Please refer to NTB Drivers in Linux source tree for an overall understanding of the Linux NTB stack. ntb_hw_switchtec works as an NTB Hardware Driver in this stack. |
| You are visitor 01402503 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |