This is the mail archive of the ecos-patches@sources.redhat.com 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: An IDE disk driver


On Sun, 2004-10-17 at 20:10 +0200, Andrew Lunn wrote:
> Hi Iztok
> 
> I think ide_disk.h probably should be a private header file.  I don't
> think you actually export anything for other packages to use.
> 

I'll make it so.

> Making it private will help you with name space polution. You have a
> lot of things without cyg_ or CYG_ prefixes.
> 
> Is SECTOR_SIZE fixed at 512 bytes by the IDE standard or could it be
> other values? Should this be controlled by CDL?

Up to now, I haven't seen anything else except CDROM with 2048 byte
sector. RedBoot has sector size defined in the header file, don't know
for Linux...

I think, the best way to do it is to control it by CDL.

Iztok


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