- 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 Stage 3 boot loader</link> prompt. Variables can be added using
<command>set</command>, removed with <command>unset</command>, and viewed <command>set</command>, removed with <command>unset</command>, and viewed
with the <command>show</command> commands. Variables set in the 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 the boot loader are not permanent and will be forgotten on the next
reboot.</para> reboot.</para>
<para>Once the system is booted, the &man.kenv.1; command can be used to <para>Once the system is booted, the &man.kenv.1; command can be used to
dump all of the variables.</para> 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 the standard hash <quote>#</quote> as comment markers. Lines are
constructed as follows:</para> 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> <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> <para><literal>driver</literal> is the device driver name, <literal>unit</literal>
is the device driver unit number, and <quote>keyword</quote> is the hint is the device driver unit number, and <literal>keyword</literal> is the hint
keyword. The keyword may consist of the following options:</para> keyword. The keyword may consist of the following options:</para>
<itemizedlist> <itemizedlist>
<listitem> <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>
<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> to be used.</para>
</listitem> </listitem>
<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>
<listitem> <listitem>
<para>drq: specifies the DMA channel number.</para> <para><literal>drq</literal>: specifies the DMA channel number.</para>
</listitem> </listitem>
<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> device.</para>
</listitem> </listitem>
<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>
<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> </listitem>
</itemizedlist> </itemizedlist>