small changes like connecting open gates of the '04 and '03
change hdd-spinup timer from 200ms to 400ms as this feels more stable remove nop() comments
This commit is contained in:
parent
23cbdeea4d
commit
207bbafdea
Binary file not shown.
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
|
|
@ -26,7 +26,7 @@
|
|||
*/
|
||||
|
||||
/*
|
||||
* $Id: wdc_drv_pata.c,v 1.11 2013/04/20 23:22:47 olivleh1 Exp $
|
||||
* $Id: wdc_drv_pata.c,v 1.12 2013/04/23 20:08:41 olivleh1 Exp $
|
||||
*/
|
||||
|
||||
#include "wdc_config.h"
|
||||
|
|
@ -327,7 +327,7 @@ uint8_t pata_init ()
|
|||
{
|
||||
|
||||
/* is needed for some disks (for example Maxtor 6L080J4) */
|
||||
_delay_ms ( 200 );
|
||||
_delay_ms ( 400 );
|
||||
|
||||
uart_puts_p ( PSTR ( "Init start\n" ) );
|
||||
while ( ( !pata_rdy() ) & pata_bsy() );
|
||||
|
|
|
|||
|
|
@ -26,7 +26,7 @@
|
|||
*/
|
||||
|
||||
/*
|
||||
* $Id: wdc_if_p8000.c,v 1.14 2013/04/22 20:03:42 olivleh1 Exp $
|
||||
* $Id: wdc_if_p8000.c,v 1.15 2013/04/23 20:08:41 olivleh1 Exp $
|
||||
*/
|
||||
|
||||
#include "wdc_config.h"
|
||||
|
|
@ -56,7 +56,6 @@ uint8_t wdc_read_data_from_p8k ( uint8_t *buffer, uint16_t count, uint8_t wdc_st
|
|||
datacnt = 0;
|
||||
port_info_set ( wdc_status );
|
||||
while ( !isset_info_te() )
|
||||
/*nop();nop();*/
|
||||
if ( isset_info_reset() )
|
||||
return 0;
|
||||
while ( !isset_info_wdardy() );
|
||||
|
|
|
|||
Loading…
Reference in New Issue