Alternatively mention use of pciconf -vl instead of pnpinfo.

PR:		docs/33345
Submitted by: 	sheldonh
This commit is contained in:
Chern Lee 2002-07-29 10:10:43 +00:00
parent 34750f4c67
commit 5acef29e67
Notes: svn2git 2020-12-08 03:00:23 +00:00
svn path=/head/; revision=13728

View file

@ -3983,6 +3983,11 @@ quit</programlisting>
in <literal>[]</literal> have been added to clarify the
context.</para>
<note>
<para>The contents of this quotation has been updated from
its original text.</para>
</note>
<blockquote>
<para>The PNP bios preconfigured it [the modem] and left it
laying around in port space, so [in 3.X] the old-style ISA
@ -4039,7 +4044,25 @@ IO range check 0x00 activate 0x01</screen>
<quote>Vendor ID</quote> line at the start of the output. The
hexadecimal number in parentheses (0x3024a341 in this example)
is the PnP id and the string immediately before this (PMC2430)
is a unique ASCII id. This information needs adding to the file
is a unique ASCII id.</para>
<para>Alternatively, if &man.pnpinfo.8; does not list the card in
question, &man.pciconf.8; can be used instead. This is part of
the output from <command>pciconf -vl</command> for an onboard
sound chip:</para>
<screen>&prompt.root; pciconf -vl
chip1@pci0:31:5: class=0x040100 card=0x00931028 chip=0x24158086 rev=0x02 hdr=0x00
vendor = 'Intel Corporation'
device = '82801AA 8xx Chipset AC'97 Audio Controller'
class = multimedia
subclass = audio</screen>
<para>Here, you would use the <varname>chip</varname> value,
<quote>0x24158086</quote>.</para>
<para>This information (Vendor ID or chip value) needs adding
to the file
<filename>/usr/src/sys/isa/sio.c</filename>.</para>
<para>You should first make a backup of <filename>sio.c</filename>