Solaris 7 System Administration Supplement

x86: How to Remove a PCI Adapter Card

  1. Become superuser.

  2. 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      	
  3. 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.

  4. Unconfigure the device.


    # cfgadm -c unconfigure pci1:hpc0_slot3   
    
  5. 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      	
  6. Disconnect the power to the slot.


    # cfgadm -c disconnect pci1:hpc0_slot3
    
  7. 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 
  8. Open the slot latches and remove the board.