[3272] in SIPB_Linux_Development

home help back first fref pref prev next nref lref last post

Re: Netword card problems

daemon@ATHENA.MIT.EDU (Kev)
Sat Jan 6 10:53:44 2001

Message-Id: <200101061553.KAA16364@multics.mit.edu>
To: Derek Atkins <warlord@MIT.EDU>
Cc: Garry Zacheiss <zacheiss@MIT.EDU>, sly@MIT.EDU, linux-dev@MIT.EDU
In-Reply-To: Your message of "06 Jan 2001 10:46:57 EST."
             <sjmu27cptse.fsf@rcn.ihtfp.org> 
Date: Sat, 06 Jan 2001 10:53:39 -0500
From: Kev <klmitch@MIT.EDU>


> Is there any way we can determine the actual PCI ID of the cards on
> these machines?  We need that information in order to allow the
> "autodetection" to work properly (at least, I _think_ that's how kudzu
> works).

RedHat 6.2 has a command called lspci that can retrieve that information.
I've just played with it some, and here's what we can recommend:

lspci

Find your ethernet card and make note of the column of the output that looks
like "00:0b.0"

lspci -n -s <that number>

For instance, for the 3Com card on my machine:

[klmitch@kit tarballs]$ lspci   
00:00.0 Host bridge: Advanced Micro Devices [AMD] AMD-751 [Irongate] System Controller (rev 25)
00:01.0 PCI bridge: Advanced Micro Devices [AMD] AMD-751 [Irongate] AGP Bridge (rev 01)
00:07.0 ISA bridge: Advanced Micro Devices [AMD] AMD-756 [Viper] ISA (rev 01)
00:07.1 IDE interface: Advanced Micro Devices [AMD] AMD-756 [Viper] IDE (rev 07)
00:07.3 Bridge: Advanced Micro Devices [AMD] AMD-756 [Viper] ACPI (rev 03)
00:07.4 USB Controller: Advanced Micro Devices [AMD] AMD-756 [Viper] USB (rev 06)
00:09.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8029(AS)
00:0a.0 Multimedia audio controller: Ensoniq: Unknown device 5880 (rev 02)
00:0b.0 Ethernet controller: 3Com Corporation 3c905B 100BaseTX [Cyclone] (rev 30)
01:05.0 VGA compatible controller: 3Dfx Interactive, Inc. Voodoo 3 (rev 01)
[klmitch@kit tarballs]$ lspci -n -s 00:0b.0
00:0b.0 Class 0200: 10b7:9055 (rev 30)

I couldn't figure out how to get it to output both the PCI ID and the
string-based description, but it may be possible.
-- 
Kevin L. Mitchell <klmitch@mit.edu>


home help back first fref pref prev next nref lref last post