Sun Microsystems GigaSwift Ethernet Adapter Network Card User Manual


 
52 Sun GigaSwift Ethernet Adapter Installation and Users Guide August 2004
The path name before the last component is the parent name.
The number after the final @ character within quotes is the unit-address.
To identify a PCI device unambiguously in the ce.conf file, use the name, parent
name, and the unit-address for the device. Refer to the pci(4) man page for more
information about the PCI device specification.
In this example:
parent = "/pci@8,600000"
unit-address = "1"
2. Set the parameters for the above devices in the
/platform/sun4u/kernel/drv/ce.conf file.
In the following example, the adv_autoneg_cap and adv_1000fdx_cap
parameters are set for all Sun GigaSwift Ethernet devices. See the driver.conf(4)
man page for more information.
In the following example, the adv-autoneg-cap and adv-1000fdx-cap
parameters are set for a single instance of the Sun GigaSwift Ethernet device.
Note If you omit the name=, parent=, and unit-address= definitions, the
settings become global to all Sun GigaSwift Ethernet instances.
3. Save the ce.conf file.
Usability Enhancements to the Driver
In older Ethernet device drivers, determining the link status for a driver required a
two-step process:
First, you had to set the instance:
adv-autoneg-cap=0 adv-1000fdx-cap=0;
name="pci100b,35" parent="/pci@8,600000" unit-address="1"
adv-autoneg-cap=0 adv-100hdx-cap=0 adv-100fdx-cap=1 adv-1000fdx-cap=0 adv-
10hdx-cap=0 adv-10fdx-cap=0 adv-1000hdx-cap=0 adv-100T4-cap=0;
# ndd -set /dev/ce instance 2