From: David van Moolenbroek Date: Sun, 10 May 2009 16:58:23 +0000 (+0000) Subject: wrong field index in at_wini env_parse call X-Git-Tag: v3.1.4~48 X-Git-Url: http://zhaoyanbai.com/repos/%22http:/www.isc.org/icons/zlib_tech.html?a=commitdiff_plain;h=dcfaf50f79af63c9fa2b7a33af30cf61b3ee3852;p=minix.git wrong field index in at_wini env_parse call --- diff --git a/drivers/at_wini/at_wini.c b/drivers/at_wini/at_wini.c index 401ce12a3..5da1095b6 100644 --- a/drivers/at_wini/at_wini.c +++ b/drivers/at_wini/at_wini.c @@ -472,7 +472,7 @@ PRIVATE void init_params() env_parse("ata_pci_debug", "d", 0, &w_pci_debug, 0, 1); env_parse("ata_instance", "d", 0, &w_instance, 0, 8); env_parse(NO_DMA_VAR, "d", 0, &disable_dma, 0, 1); - env_parse("ata_id_timeout", "d", WAKEUP_SECS, &wakeup_secs, 1, 60); + env_parse("ata_id_timeout", "d", 0, &wakeup_secs, 1, 60); env_parse("atapi_debug", "d", 0, &atapi_debug, 0, 1); w_identify_wakeup_ticks = wakeup_secs * system_hz;