redboot ide.c patch
Andy Dyer
adyer@righthandtech.com
Sun May 16 23:36:00 GMT 2004
The attached patch changes redboot's fs/ide.c so that
it first checks the status of the BSY bit to be 0 before
looking at any of the other bits. Per the ATA rev. 6
spec i have:
7.3.3 & 7.15.3 Access restrictions (Alternate status register and
status register)
When the BSY bit is set to one, the other bits in this register
shall not be used. The contents of this register are not valid
while the device is in Sleep mode.
This was causing a detection failure on a Compact Flash card in
"True ATA" mode on one of our targets.
--
Andrew Dyer | adyer@righthandtech.com
Sr. Engineer | (630) 238-0789
RightHand Technologies | (630) 238-0469 (fax)
735 N. Edgewood Ave. |
Suite D |
Wood Dale, IL 60191-1261 |
USA |
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: ecos-ide-patch.txt
URL: <http://sourceware.org/pipermail/ecos-patches/attachments/20040516/c20c516f/attachment.txt>
More information about the Ecos-patches
mailing list