This is the mail archive of the
mailing list for the eCos project.
Re: redboot ide tweaks
- From: Andrew Dyer <AMDyer at gmail dot com>
- To: ecos-patches at ecos dot sourceware dot org
- Cc: msalter at redhat dot com
- Date: Mon, 18 Oct 2004 11:32:52 -0500
- Subject: Re: redboot ide tweaks
- Domainkey-signature: a=rsa-sha1; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:cc:mime-version:content-type:content-transfer-encoding; b=JpJdrDcUteGhiUsDWrmbEDfwvGvvQ9W6bPm+HSvRxNzwGWi6eToWliUrhKkjX3wxgoZLNbVeToBwmfoxrwS48PC/+kPhTJ23cd9AjABcAbRIOQ9TjvhlNNth2MmJUxP3vROljCS+GqOhqh8fvC8tu0sfs4eQINaIKaP1A4bN96I
- Reply-to: Andrew Dyer <AMDyer at gmail dot com>
A couple of notes about this patch:
1) adding it in causes the compact flash (running in IDE mode) on my
target to fail.
I haven't figured out exactly why yet. I do know that adding a read
of the alternate
status register before writing the device register seems to make it work for me.
I still need to look at the reset timings for the CF card vs. the
delays in the patch.
2) According to the ATA-6 docs, in regards to the device register:
7.7.3 Access restrictions
This register shall be written only when both BSY and DRQ are cleared
to zero and DMACK- is not asserted. The contents of this register are
valid only when BSY is cleared to zero.
If this register is written when BSY or DRQ is set to one, the result
The parts of a computer system that can be kicked.