Become superuser.
Determine which slot the controller is in.
# cfgadm Ap_Id Receptacle Occupant Condition pci1:hpc0_slot0 empty unconfigured unknown pci1:hpc0_slot1 empty unconfigured unknown pci1:hpc0_slot2 empty unconfigured unknown pci1:hpc0_slot3 connected configured ok pci1:hpc0_slot4 empty unconfigured unknown |
Stop the application that has the device open.
For example, if this is an ethernet card, use ifconfig(1M) to bring down the interface and unplumb the interface.
Unconfigure the device.
# cfgadm -c unconfigure pci1:hpc0_slot3 |
Confirm the device has been unconfigured.
# cfgadm Ap_Id Receptacle Occupant Condition pci1:hpc0_slot0 empty unconfigured unknown pci1:hpc0_slot1 empty unconfigured unknown pci1:hpc0_slot2 empty unconfigured unknown pci1:hpc0_slot3 connected unconfigured unknown pci1:hpc0_slot4 empty unconfigured unknown |
Disconnect the power to the slot.
# cfgadm -c disconnect pci1:hpc0_slot3 |
Confirm the device has been disconnected.
# cfgadm Ap_Id Receptacle Occupant Condition pci1:hpc0_slot0 empty unconfigured unknown pci1:hpc0_slot1 empty unconfigured unknown pci1:hpc0_slot2 empty unconfigured unknown pci1:hpc0_slot3 disconnected unconfigured unknown pci1:hpc0_slot4 empty unconfigured unknown |
Open the slot latches and remove the board.