Re: BAR0/1 & enumeration

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

 



On Fri, Aug 31, 2012 at 07:29:50PM +0000, Paolo wrote:
> As newbie to the pcie world, I'm seeking help for understanding this:
> 
> How does the bios during enumeration finds whether BAR0/1 is set for pointing to
> the config-space of its function or to memory space for memory transactions?

BARs point to either memory or I/O space (discriminated by the bottom
bit of the register).  They never point to config space (indeed, since
they are found in config space, that wouldn't make sense).

-- 
Matthew Wilcox				Intel Open Source Technology Centre
"Bill, look, we understand that you're interested in selling us this
operating system, but compare it to ours.  We can't possibly take such
a retrograde step."
--
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