niXforums Forum Index
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   PreferencesPreferences   Log in to check your private messagesLog in to check your private messages   Log inLog in 
·  nixdoc.net ·  man pages ·  Linux HOWTOs ·  FreeBSD Tips ·  Forums
navigation Forum index » *nix » Linux » hardware
pci bus enumeration
Post new topic   Reply to topic Page 1 of 1 [3 Posts] View previous topic :: View next topic
Author Message
linux_boy
*nix forums beginner


Joined: 08 Sep 2005
Posts: 8

PostPosted: Mon Jul 17, 2006 6:07 am    Post subject: pci bus enumeration Reply with quote

Hi all,

I want to know the PCI fundas
1. How the PCI Buses are enumerated while booting linux?
2. How it detects the Vendor ID,Device ID,etc., and make the device
structure for various cards?
3. What Happens if two or more same cards which are having same DEVICE
ID,VENDOR ID,and
SUB-SYSTEM ID connected to the slots.I mean to say,
Are they having same IRQs,same IRQ_FLAGS(SA_INTERRUPT/SA_SHIRQ)?
4.In the prev case, Is kernel allocate any different adderss space for
each (same kind of) cards ?
Please reply me ASAP
Thanks
Rafi.
Back to top
Peter D.
*nix forums Guru Wannabe


Joined: 01 Mar 2005
Posts: 256

PostPosted: Mon Jul 17, 2006 8:15 am    Post subject: Re: pci bus enumeration Reply with quote

rafi wrote in comp.os.linux.hardware:

Quote:
Hi all,

I want to know the PCI fundas
1. How the PCI Buses are enumerated while booting linux?
2. How it detects the Vendor ID,Device ID,etc., and make the device
structure for various cards?
3. What Happens if two or more same cards which are having same DEVICE
ID,VENDOR ID,and
SUB-SYSTEM ID connected to the slots.I mean to say,
Are they having same IRQs,same IRQ_FLAGS(SA_INTERRUPT/SA_SHIRQ)?
4.In the prev case, Is kernel allocate any different adderss space
for each (same kind of) cards ?
Please reply me ASAP
Thanks
Rafi.

[c17] /home/psd->lspci
00:00.0 Host bridge: Silicon Integrated Systems [SiS] 651 Host (rev 01)
00:01.0 PCI bridge: Silicon Integrated Systems [SiS] Virtual PCI-to-PCI bridge (AGP)
00:02.0 ISA bridge: Silicon Integrated Systems [SiS] SiS962 [MuTIOL Media IO] (rev 04)
00:02.1 SMBus: Silicon Integrated Systems [SiS] SiS961/2 SMBus Controller
00:02.5 IDE interface: Silicon Integrated Systems [SiS] 5513 [IDE]
00:02.7 Multimedia audio controller: Silicon Integrated Systems [SiS] Sound Controller (rev a0)
00:03.0 USB Controller: Silicon Integrated Systems [SiS] USB 1.0 Controller (rev 0f)
00:03.1 USB Controller: Silicon Integrated Systems [SiS] USB 1.0 Controller (rev 0f)
00:03.2 USB Controller: Silicon Integrated Systems [SiS] USB 1.0 Controller (rev 0f)
00:03.3 USB Controller: Silicon Integrated Systems [SiS] USB 2.0 Controller
00:0a.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10)
00:0b.0 Multimedia video controller: Conexant CX23880/1/2/3 PCI Video and Audio Decoder (rev 05)
00:0b.2 Multimedia controller: Conexant CX23880/1/2/3 PCI Video and Audio Decoder [MPEG Port] (rev 05)
00:0d.0 VGA compatible controller: S3 Inc. ViRGE/DX or /GX (rev 01)
01:00.0 VGA compatible controller: Silicon Integrated Systems [SiS] 65x/M650/740 PCI/AGP VGA Display Adapter

00: means standard PCI, 01: means AGP. Don't know about the rest.


--
Peter D.
Sig goes here...
Back to top
chuck@nil.car
*nix forums Guru Wannabe


Joined: 23 Aug 2005
Posts: 100

PostPosted: Mon Jul 17, 2006 11:43 pm    Post subject: Re: pci bus enumeration Reply with quote

"rafi" <katherrafi.i@gmail.com> wrote in
news:1153116460.192861.149280@m79g2000cwm.googlegroups.com:

Quote:
Hi all,

I want to know the PCI fundas
1. How the PCI Buses are enumerated while booting linux?
2. How it detects the Vendor ID,Device ID,etc., and make the device
structure for various cards?
3. What Happens if two or more same cards which are having same DEVICE
ID,VENDOR ID,and
SUB-SYSTEM ID connected to the slots.I mean to say,
Are they having same IRQs,same IRQ_FLAGS(SA_INTERRUPT/SA_SHIRQ)?
4.In the prev case, Is kernel allocate any different adderss space
for each (same kind of) cards ?
Please reply me ASAP
Thanks
Rafi.



You can't have two devices with the same PCI ID and device ID simply
because you can't plug two cards in the same PCI slot. The numbering
isn't done by linux, it's done by the bios and the pci controller.

--
(setq (chuck nil) car(chuck) )
Back to top
Google

Back to top
Display posts from previous:   
Post new topic   Reply to topic Page 1 of 1 [3 Posts] View previous topic :: View next topic
The time now is Mon Dec 01, 2008 10:38 pm | All times are GMT
navigation Forum index » *nix » Linux » hardware
Jump to:  

Similar Topics
Topic Author Forum Replies Last Post
No new posts enumeration variables aarklon@gmail.com C 3 Sat Apr 29, 2006 5:31 pm
No new posts Enumeration idioms: Values from different enumerations Ben Finney python 27 Fri Dec 16, 2005 4:16 am
No new posts Searching trough an enumeration Antoine Junod C 3 Sun Nov 13, 2005 2:04 pm
No new posts Enumeration of Array Indicies? IWP506@gmail.com C++ 10 Wed Sep 07, 2005 5:22 pm
No new posts Howto access a enumeration in a COM TypeLib Alexander Eisenhuth python 2 Tue Jun 21, 2005 8:27 am

Facebook Proxy | Mortgage Calculator | Php Scripts | Buy Anything On eBay | Loans
Copyright © 2004-2005 DeniX Solutions SRL
 
Other DeniX Solutions sites: Unix/Linux blog |  electronics forum |  medicine forum |  science forum | 
Privacy Policy


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.1735s ][ Queries: 16 (0.0933s) ][ GZIP on - Debug on ]