[ECOS] PC DISK PCI Info

Andrew Lunn andrew@lunn.ch
Fri Jun 29 15:28:00 GMT 2007


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



More information about the Ecos-discuss mailing list