|
|
|
|
|
|
| Author |
Message |
linux_boy *nix forums beginner
Joined: 08 Sep 2005
Posts: 8
|
Posted: Mon Jul 17, 2006 6:07 am Post subject:
pci bus enumeration
|
|
|
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
|
Posted: Mon Jul 17, 2006 8:15 am Post subject:
Re: pci bus enumeration
|
|
|
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
|
Posted: Mon Jul 17, 2006 11:43 pm Post subject:
Re: pci bus enumeration
|
|
|
"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 |
|
 |
|
|
The time now is Mon Dec 01, 2008 10:38 pm | All times are GMT
|
|
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
|
|