Improve a bit the description of when and how a NIC driver has to be

added to the kernel configuration.  Also note that some drivers cannot
be used as modules (i.e. those for some ISA devices).

Useful comments by:	blackend, den
This commit is contained in:
Giorgos Keramidas 2005-01-14 12:51:52 +00:00
parent aecb3f50a6
commit 60d6273bb9
Notes: svn2git 2020-12-08 03:00:23 +00:00
svn path=/head/; revision=23551

View file

@ -907,20 +907,32 @@ ukphy1: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto</screen>
<para>In this example, we see that two cards using the &man.dc.4;
driver are present on the system.</para>
<para>To use your network card, you will need to load the proper
driver. This may be accomplished in one of two ways. The
easiest way is to simply load a kernel module for your network
card with &man.kldload.8;. A module is not available for all
network card drivers (ISA cards, for example).
Alternatively, you may statically compile
the support for your card into your kernel. Check
<filename>/usr/src/sys/conf/NOTES</filename>,
<filename>/usr/src/sys/<replaceable>arch</replaceable>/conf/NOTES</filename> and the
manual page of the driver to know what to add in your kernel
configuration file. For more information about recompiling your
kernel, please see <xref linkend="kernelconfig">. If your card
was detected at boot by your kernel (<filename>GENERIC</filename>)
you do not have to build a new kernel.</para>
<para>If the driver for your NIC is not present in
<filename>GENERIC</filename>, you will need to load the proper
driver to use your NIC. This may be accomplished in one of
two ways:</para>
<itemizedlist>
<listitem>
<para>The easiest way is to simply load a kernel module for
your network card with &man.kldload.8;. Not all NIC
drivers are available as modules; notable examples of
devices for which modules do not exist are ISA cards.</para>
</listitem>
<listitem>
<para>Alternatively, you may statically compile the support
for your card into your kernel. Check
<filename>/usr/src/sys/conf/NOTES</filename>,
<filename>/usr/src/sys/<replaceable>arch</replaceable>/conf/NOTES</filename>
and the manual page of the driver to know what to add in
your kernel configuration file. For more information
about recompiling your kernel, please see <xref
linkend="kernelconfig">. If your card was detected at
boot by your kernel (<filename>GENERIC</filename>) you do
not have to build a new kernel.</para>
</listitem>
</itemizedlist>
</sect2>
<sect2>