Managing Devices in Oracle® Solaris 11.2

Exit Print View

Updated: July 2014
 
 

How to Add a PCI Adapter Card

The following procedure applies to both PCI or PCIe cards when you add them to the system.

  1. Identify the hot-pluggable slot and open latches.
    # cfgadm pci
  2. Follow the appropriate instructions in your platform guide to insert a PCI adapter card into the slot.
  3. Determine which slot the PCI adapter card occupies after it is inserted.
    # cfgadm pci
  4. Connect the power to the slot by choosing one of the following methods:
    • Issue the cfgadm command.

      # cfgadm -c connect pci-device
    • If working on a PCIe adapter card, use the auto-configuration method, such as by pressing the slot's Attention Button as defined by your platform guide.

  5. Confirm that the attachment point is connected.
    # cfgadm pci
  6. Configure the PCI adapter card manually by using the cfgadm command.

    If you are using the auto-configuration method, this step might not be necessary. Refer to your platform guide for more information.

    # cfgadm -c configure pci-device
  7. Verify the configuration of the PCI adapter card in the slot.
  8. Configure any supporting software if this device is a new device.

    For example, if this device is an Ethernet card, use the ipadm command to set up the interface, as follows:

    # ipadm create-addr ip-interface

    Note -  The auto-configuration method can be enabled or disabled at boot, depending on the platform implementation. Set the auto-configuration method as appropriate for your environment.
Example 2-5  Adding a PCI Adapter Card

In this example, the pcie3 card is added to the system.

# cfgadm pci
Ap_Id   Type         Receptacle   Occupant     Condition
pcie1   unknown      empty        unconfigured unknown
pcie2   unknown      empty        unconfigured unknown
pcie3   unknown      disconnected unconfigured unknown
pcie4   unknown      empty        unconfigured unknown
pcie5   pci-pci/hp   connected    configured   ok
pcie6   unknown      disconnected unconfigured unknown

# cfgadm -c connect pcie3

# cfgadm pci
Ap_Id   Type         Receptacle   Occupant     Condition
pcie1   unknown      empty        unconfigured unknown
pcie2   unknown      empty        unconfigured unknown
pcie3   unknown      connected    unconfigured unknownDevice is added.
pcie4   unknown      empty        unconfigured unknown
pcie5   pci-pci/hp   connected    configured   ok
pcie6   unknown      disconnected unconfigured unknown

# cfgadm -c configure pcie3

# cfgadm pci
Ap_Id   Type         Receptacle   Occupant     Condition
pcie1   unknown      empty        unconfigured unknown
pcie2   unknown      empty        unconfigured unknown
pcie3   ethernet/hp  connected    configured   unknownDevice is configured.
pcie5   pci-pci/hp   connected    configured   ok
pcie6   unknown      disconnected unconfigured unknown

# ipadm create-addr -a 192.168.1.10 net1