Platform Notes: The Sun Quad FastEthernet Device Driver

Identifying Device Instances

Before you use the ndd utility to get or set a parameter for a qfe device, you must specify the device instance for the utility since there will be at least four SUNW,qfe devices.

To Specify the Device Instance for the ndd Utility
  1. Check the /etc/path_to_inst file to identify the instance associated with a particular device.

    For Sun Quad FastEthernet PCI adapter:


    # grep qfe /etc/path_to_inst
    "/pci@1f,2000/pci@2/SUNW,qfe@0,1" 0 "qfe"
    "/pci@1f,2000/pci@2/SUNW,qfe@1,1" 1 "qfe"
    "/pci@1f,2000/pci@2/SUNW,qfe@2,1" 2 "qfe"
    "/pci@1f,2000/pci@2/SUNW,qfe@3,1" 3 "qfe"

    In the preceding example, the four SUNW,qfe@x,1 instances are from a Sun Quad FastEthernet PCI adapter installed in slot 2. For clarity, the instance numbers are bold.

    For Sun Quad FastEthernet SBus adapter:


    # grep qfe /etc/path_to_inst
    "/sbus@1f,0/SUNW,qfe@1,8c10000" 1 "qfe"
    "/sbus@1f,0/SUNW,qfe@1,8c00000" 0 "qfe"
    "/sbus@1f,0/SUNW,qfe@1,8c30000" 3 "qfe"
    "/sbus@1f,0/SUNW,qfe@1,8c20000" 2 "qfe"

    In the preceding example, the four SUNW,qfe@1 instances are from a Sun Quad FastEthernet SBus adapter installed in slot 1. For clarity, the instance numbers are bold.

  2. Use the instance number to select the device.


    # ndd -set /dev/qfe instance instance#
    

    The device remains selected until you change the selection.