public inbox for ecos-maintainers@sourceware.org
 help / color / mirror / Atom feed
From: Donald Walton <dwalton@dramail.com>
To: ecos-maintainers@ecos.sourceware.org
Subject: Possible error in IDE code.....
Date: Fri, 17 Nov 2006 17:39:00 -0000	[thread overview]
Message-ID: <455DF3B0.9070102@dramail.com> (raw)

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

             reply	other threads:[~2006-11-17 17:39 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-11-17 17:39 Donald Walton [this message]
2006-11-17 18:07 ` Jonathan Larmour

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=455DF3B0.9070102@dramail.com \
    --to=dwalton@dramail.com \
    --cc=ecos-maintainers@ecos.sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).