Setting Parameters
27
4
Setting Parameters Using the
hme.conf
File
You can also specify the properties described in the section “Setting Parameters
in the /etc/system File” on page 25 on a per device basis by creating the
hme.conf
file in the
/kernel/drv
directory. The properties set in the
hme.conf
file will override the parameters set in the
/etc/system
file. Use
hme.conf
when you need to set a particular parameter for a device in the
system. The parameters you set are read and write parameters that are listed
in Chapter 3.
The man pages for
prtconf
(1M),
system
(4) and
driver.conf
(4) include
additional details. For example:
▼
To set
ipg1
to 20 and
ipg2
to 10 for the
SUNW,hme
device in
SBus slot 0xe
1. 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.
2. Find the section in the
prtconf -v
output for
SUNW,hme,instance #0
,
or
SUNW,hme,instance #1
, and so on.
The output for
SUNW,hme,instance #0
for a Sun Ultra 1 Creator Series
system follows:
3. Become superuser.
SUNW,hme, 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