Re: Q: Relation between lanes to devices and to BARs

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

 



On Mon, Feb 1, 2016 at 6:14 AM, Alex Williamson
<alex.williamson@xxxxxxxxxx> wrote:
> On Sun, 2016-01-31 at 02:15 -0500, Ran Shalit wrote:
>> Hello,
>>
>> I am new to pci express drivers, and would please like to ask a question.
>> We develop a linux driver for a PCIe device board with 4 lanes.
>> 1. Is it expected that this will be recognized as a single device or
>> multiple device ?
>
> It depends whether your device is multifunction.
>

It is a video capture & output deivce, (video4linux), so I guess it
means it has single functionality (video).' and therefore will aprear
as a single device.


>> 2. Is it that each lane rales to a different BAR or there is no
>> connection between these two ?
>
> No relation, all PCI/e devices have the same set of standard BARs
> available to them.
>

Thanks,
So it probably means that there is no added complexity in terms of
device driver with multi lanes PCIe (compared to single lane).


Thank you,
Ran
--
To unsubscribe from this list: send the line "unsubscribe linux-pci" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [DMA Engine]     [Linux Coverity]     [Linux USB]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Greybus]

  Powered by Linux