|
Rockbox mail archiveSubject: Re: Red Led Dead test IIRe: Red Led Dead test II
From: Björn Stenberg <bjorn_at_haxx.se>
Date: Mon, 15 Dec 2003 09:51:17 +0100 Mike Holden wrote: > Any chance of posting a diff patch as well, for the curious among us?! It's a timing change in perform_soft_reset(): Index: ata.c =================================================================== RCS file: /cvsroot/rockbox/firmware/drivers/ata.c,v retrieving revision 1.96 diff -u -r1.96 ata.c --- ata.c 3 Dec 2003 01:02:23 -0000 1.96 +++ ata.c 15 Dec 2003 08:38:02 -0000 _at__at_ -631,10 +631,10 _at__at_ ATA_SELECT = SELECT_LBA | ata_device; ATA_CONTROL = CONTROL_nIEN|CONTROL_SRST; - sleep(HZ/20000); /* >= 5us */ + sleep(1); /* >= 5us */ ATA_CONTROL = CONTROL_nIEN; - sleep(HZ/400); /* >2ms */ + sleep(1); /* >2ms */ /* This little sucker can take up to 30 seconds */ retry_count = 8; -- BjörnReceived on 2003-12-15 Page template was last modified "Tue Sep 7 00:00:02 2021" The Rockbox Crew -- Privacy Policy |