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: Problem with IDE disk


On Wed, Feb 02, 2005 at 01:35:40PM +0100, knud.woehler@microplex.de wrote:
> Hello
> the attached patch corrects two problems with the ide_disk driver.
> 
> 1. The check for hard disks does not work. The line
> "if (((ide_idData->general_conf>>8)&0x1f)!=2) " returns true with my 
> hard disk. (ide_idData->general_conf = 0x0040)

I've not commited this part. I would like to understand this
better. Maybe somebody can spend some time looking at the standard and
work out what is correct.
 
> 2. I have to wait for "not busy" before sending a command to the device.

This i have committed.

   Thanks
        Andrew

Attachment: ide_disk.patch
Description: Text document


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