This is the mail archive of the ecos-discuss@sourceware.org mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: accessing PCI device


On Tue, 2006-08-29 at 17:31 +0200, Jacek Poplawski wrote:
> I am trying to access 82545 ethernet controller in ecos, it doesn't 
> respond to my commands, I guess the memory address I am using is incorrect.
> 
> What exactly means HAL_PCI_PHYSICAL_IO_BASE?

This is the base address of the CPU's window into PCI IO space. So if a
PCI device BAR is set to X in IO space, the CPU accesses it with BASE+X.

This is described in the reference manual:

 http://ecos.sourceware.org/docs-latest/ref/pci-library-reference.html

--Mark



-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]