pci_mux_connect(), pci_mux_direct_connect()

QNX SDP8.0PCI Server User's GuideAPIConfiguration

Open a connection and send a connection message

Synopsis:

#include <pci/pci_mux.h>

int pci_mux_connect( pci_mux_connection_t *hdl );

int pci_mux_direct_connect( pci_mux_connection_t *hdl );

Arguments:

hdl
The connection handle from pci_mux_init().

Library:

libpci

Use the -l pci option to qcc to link against this library.

Description:

The pci_mux_connect() function initializes direct connection to a PCI multiplexer instance.

The pci_mux_direct_connect() function initializes direct connection to a PCI connector instance.

Returns:

EOK on success. If the underlying call to open() fails, both pci_mux_connect() and pci_mux_direct_connect return an error from the open() errors section.

Errors:

EALREADY
A connection is already open.
EINVAL
You specified an invalid argument.
ENOENT
The connection handle doesn't exist.

Classification:

QNX OS

Safety:
Cancellation point No
Signal handler No
Thread Yes
Page updated: