public inbox for ecos-maintainers@sourceware.org
 help / color / mirror / Atom feed
* Possible error in IDE code.....
@ 2006-11-17 17:39 Donald Walton
  2006-11-17 18:07 ` Jonathan Larmour
  0 siblings, 1 reply; 2+ messages in thread
From: Donald Walton @ 2006-11-17 17:39 UTC (permalink / raw)
  To: ecos-maintainers

In adding IDE support to my application, the software was not able to 
read the MBR properly.  It would read one byte and the rest of the 
buffer would be zeroes.

I tracked the problem to file - ide_disk.c, version 1.3, function - 
ide_read_sector.  One of the parameters passed in is len.  It unclear 
whether this is the buffer length or number of sectors to be read.  
However, a value of 1 is passed in for the length and only one byte is read.

Correcting the problem is not a big deal but I would like to know 
whether you meant for the length to be sector count or byte count.

Thanks for the great work you have done.

Sincerely,
Don Walton

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2006-11-17 18:07 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-11-17 17:39 Possible error in IDE code Donald Walton
2006-11-17 18:07 ` Jonathan Larmour

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).