"struct pci_bus" related query

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi All,
There are certain fields in "struct pci_bus" in linux 2.6.14 which i am not able to understand. I have listed only the relavant fields.
struct pci_bus {
       ..............
       ..............
       struct pci_dev  *self;          /* bridge device as seen by parent */
       ..............
        unsigned char   primary;        /* number of primary bridge */
        unsigned char   secondary;      /* number of secondary bridge */
        unsigned char   subordinate;    /* max number of subordinate buses */
        ...............
};
there are refernce to "bridges" in comments. Which bus does this "struct pci_bus" describe, the primary bus of a bridge or the secondary bus?
Also as commented "primary" is the number of primary bridge. Please explain what  is meant by "primary bridge" with respect to a bus. Similarly for "secondary" field.
 
Regards
Karan V
 


Enjoy this Diwali with Y! India Click here

[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux