Device numbering in PCIE (pci express)

I have question on device numbering in PCI Express.
How does the device numbers are assigned during bus enumeration.
In PCI IDSEL pins are used as device enablers to select a particular device on the pci bus.

Since pci express is point to point link does device number will always be 0, so addressing comes down to just bus number and function number?.
In case of the lane splitting from same root port how the device are numbered...example 2 lane root port 1 lane goes to device B and another lane goes to device B.
Is it the job of root port to assign the device numbers and devices should capture this use it later for all transactions.

I was not very clear from the specifications.

Thanks in advance.
Reply to toms1983
No answers Last reply
More about device numbering pcie pci express
Ask a new question Answer

Read More

Bus Root Port Devices PCI Express