If you are adding adapter cards, make sure that slots are available.
If you are removing adapter cards, ensure the following:
The adapter card is hosting only nonvital system resources.
Critical resources are accessible through an alternate pathway.
For example, if a system has only one Ethernet card installed on it, you cannot remove the Ethernet card or the network connection will be lost. You would need additional layered software support to keep the network connection active.
# cfgadm pci
Follow the appropriate instructions in your platform guide.
# cfgadm
# cfgadm pci
# cfgadm -c connect PCI-device
# cfgadm
# cfgadm pci
For PCIe adapter cards, if you are using the autoconfiguration method, this step might not be necessary. Refer to your platform guide for more information.
# cfgadm -c configure pci-device
# cfgadm
# cfgadm pci
For example, if this device is an Ethernet card, use the ipadm command to set up the interface.
# ipadm create-addr IP-interface
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
# cfgadm
# cfgadm pci
For example, if the device is an Ethernet card with a configured IP interface, remove the IP interface.
# ipadm delete-ip IP-interface
# cfgadm -c unconfigure PCI-device
For example, for many platforms, you would press the slot's Attention button.
# cfgadm
# cfgadm pci
For PCIe adapter cards, if you are using the autoconfiguration method, this step might not be necessary. Refer to your platform guide for more information.
# cfgadm -c disconnect PCI-device
# cfgadm
# cfgadm pci
# cfgadm
# cfgadm pci
In this example, the pcie4 card is removed.
# cfgadm pci Ap_Id Type Receptacle Occupant Condition pcie1 unknown empty unconfigured unknown pcie2 unknown empty unconfigured unknown pcie3 unknown empty unconfigured unknown pcie4 etherne/hp connected configured ok pcie5 pci-pci/hp connected configured ok pcie6 unknown disconnected unconfigured unknown # ipadm delete-ip net1 # cfgadm -c unconfigure pcie4 # cfgadm pci Ap_Id Type Receptacle Occupant Condition pcie1 unknown empty unconfigured unknown pcie2 unknown empty unconfigured unknown pcie3 unknown empty unconfigured unknown pcie4 unknown connected unconfigured unknown The device is unconfigured. pcie5 pci-pci/hp connected configured ok pcie6 unknown disconnected unconfigured unknown # cfgadm -c disconnect pcie4 # cfgadm pci Ap_Id Type Receptacle Occupant Condition pcie1 unknown empty unconfigured unknown pcie2 unknown empty unconfigured unknown pcie3 unknown empty unconfigured unknown pcie4 unknown disconnected unconfigured unknown Power is disconnected. pcie5 pci-pci/hp connected configured ok pcie6 unknown disconnected unconfigured unknown
After the device is removed, verify that the receptacle is empty.
# cfgadm pci
Ap_Id Type Receptacle Occupant Condition
pcie1 unknown empty unconfigured unknown
pcie2 unknown empty unconfigured unknown
pcie3 unknown empty unconfigured unknown
pcie4 unknown empty unconfigured unknown The receptacle is empty.
pcie5 pci-pci/hp connected configured ok
pcie6 unknown disconnected unconfigured unknown