Invoke the prtconf -v command and pipe the output to the more command ( prtconf -v | more ) or redirect the output of the command to a file name ( prtconf -v > filename) and print the redirected file.
Find the section in the prtconf -v output for SUNW,qfe,instance #0, or SUNW,qfe,instance #1, and so on.
The output for SUNW,qfe,instance #0 for a Sun Ultra 1 Creator Series system follows:
SUNW,qfe, instance #0 Driver software properties: name <pm_norm_pwr> length <4> value <0x00000001>. name <pm_timestamp> length <4> value <0x30743b26>. Register Specifications: Bus Type=0xe, Address=0x8c00000, Size=108 Bus Type=0xe, Address=0x8c02000, Size=2000 Bus Type=0xe, Address=0x8c04000, Size=2000 Bus Type=0xe, Address=0x8c06000, Size=2000 Bus Type=0xe, Address=0x8c07000, Size=20
Become superuser.
Create the qfe.conf file in the /kernel/drv directory using a text editor and add lines similar to the following to the file:
Specify name="qfe" and class="sbus".
Use the reg property to specify the device, 0xe in this case. Use the value following Bus Type in the prtconf -v output.
Type the addresses followed by the specified sizes. Precede each size with 0x and leading zeros, as indicated in the following screen.
Set ipg1 and ipg2. Type a semicolon ( ; ) after the last value.
These parameters are set to 20 and 10, respectively, in this example. The ipg parameters are defined in Chapter 3.
name="qfe" class="sbus" reg=0xe,0x8c00000,0x00000108,0xe,0x8c02000,0x00002000,0xe, 0x8c04000,0x00002000,0xe,0x8c06000,0x00002000,0xe,0x8c07000, 0x00000020 ipg1=20 ipg2=10;
Save the qfe.conf file.
Save and close all files and exit all programs; exit the windowing system.
Halt and reboot the system by typing the init 6 command at the # prompt.