- Use the full path for device.hints filename and add filename tags.

- Various tags use.
This commit is contained in:
Marc Fonvieille 2003-01-01 18:13:01 +00:00
parent a322a558f2
commit 421d9696f8
Notes: svn2git 2020-12-08 03:00:23 +00:00
svn path=/head/; revision=15501

View file

@ -595,55 +595,55 @@ boot:</screen>
Stage 3 boot loader</link> prompt. Variables can be added using
<command>set</command>, removed with <command>unset</command>, and viewed
with the <command>show</command> commands. Variables set in the
device.hints file can be overridden here also. Device hints entered at
<filename>/boot/device.hints</filename> file can be overridden here also. Device hints entered at
the boot loader are not permanent and will be forgotten on the next
reboot.</para>
<para>Once the system is booted, the &man.kenv.1; command can be used to
dump all of the variables.</para>
<para>The syntax for the device.hints file is one variable per line, using
<para>The syntax for the <filename>/boot/device.hints</filename> file is one variable per line, using
the standard hash <quote>#</quote> as comment markers. Lines are
constructed as follows:</para>
<screen><userinput>hint.driver.unit.keyword="value"</userinput></screen>
<screen><userinput>hint.driver.unit.keyword="<replaceable>value</replaceable>"</userinput></screen>
<para>The syntax for the Stage 3 boot loader is:</para>
<screen><userinput>set hint.driver.unit.keyword=value</userinput></screen>
<screen><userinput>set hint.driver.unit.keyword=<replaceable>value</replaceable></userinput></screen>
<para><quote>driver</quote> is the device driver name, <quote>unit</quote>
is the device driver unit number, and <quote>keyword</quote> is the hint
<para><literal>driver</literal> is the device driver name, <literal>unit</literal>
is the device driver unit number, and <literal>keyword</literal> is the hint
keyword. The keyword may consist of the following options:</para>
<itemizedlist>
<listitem>
<para>at: specifies the bus which the device is attached to.</para>
<para><literal>at</literal>: specifies the bus which the device is attached to.</para>
</listitem>
<listitem>
<para>port: specifies the start address of the <acronym>I/O</acronym>
<para><literal>port</literal>: specifies the start address of the <acronym>I/O</acronym>
to be used.</para>
</listitem>
<listitem>
<para>irq: specifies the interrupt request number to be used.</para>
<para><literal>irq</literal>: specifies the interrupt request number to be used.</para>
</listitem>
<listitem>
<para>drq: specifies the DMA channel number.</para>
<para><literal>drq</literal>: specifies the DMA channel number.</para>
</listitem>
<listitem>
<para>maddr: specifies the physical memory address occupied by the
<para><literal>maddr</literal>: specifies the physical memory address occupied by the
device.</para>
</listitem>
<listitem>
<para>flags: sets various flag bits for the device.</para>
<para><literal>flags</literal>: sets various flag bits for the device.</para>
</listitem>
<listitem>
<para>disabled: if set to <quote>1</quote> the device is disabled.</para>
<para><literal>disabled</literal>: if set to <literal>1</literal> the device is disabled.</para>
</listitem>
</itemizedlist>