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: PC DISK PCI Info


On Fri, Jun 29, 2007 at 06:33:08AM -0400, Steve West wrote:
> Hello,
> 
>    How does the eCos PC build get the PCI parameters for the IDE disk. Is 
> this passed through the BIOS? I could not find where the DISK driver gets 
> the PCI info.

I presume you are talking about IDE drives?

The HAL needs to export a few macros, HAL_IDE_READ_UINT8,
HAL_IDE_WRITE_UINT8, HAL_IDE_WRITE_CONTROL etc.

The pcmb IDE macros just look at the usual address for IDE
controllers.

The file packages/hal/arm/xscale/picasso/current/src/picasso_ide.c

might give you ideas for a PCI IDE controller.

      Andrew

-- 
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]