diff options
| author | dillo <dillo@NetBSD.org> | 2008-08-01 17:41:54 +0000 |
|---|---|---|
| committer | dillo <dillo@NetBSD.org> | 2008-08-01 17:41:54 +0000 |
| commit | 7767511f21f8a7e89dd047fd56ca79734b892dfe (patch) | |
| tree | 944a14b4d168500a13d4d69e75546c099a910dc1 /sys/dev | |
| parent | f6bd05d87be082af3ac3a577a88423a7e2993534 (diff) | |
Increase delay after channel reset from 100ms to 500ms, suggested by bouyer.
Fixes unreliable drive detection on NVIDIA MCP67.
Diffstat (limited to 'sys/dev')
| -rw-r--r-- | sys/dev/ic/ahcisata_core.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/dev/ic/ahcisata_core.c b/sys/dev/ic/ahcisata_core.c index 589ccd1bf61..689ff05524d 100644 --- a/sys/dev/ic/ahcisata_core.c +++ b/sys/dev/ic/ahcisata_core.c @@ -1,4 +1,4 @@ -/* $NetBSD: ahcisata_core.c,v 1.16 2008/06/07 12:56:57 bouyer Exp $ */ +/* $NetBSD: ahcisata_core.c,v 1.17 2008/08/01 17:41:54 dillo Exp $ */ /* * Copyright (c) 2006 Manuel Bouyer. @@ -31,7 +31,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: ahcisata_core.c,v 1.16 2008/06/07 12:56:57 bouyer Exp $"); +__KERNEL_RCSID(0, "$NetBSD: ahcisata_core.c,v 1.17 2008/08/01 17:41:54 dillo Exp $"); #include <sys/types.h> #include <sys/malloc.h> @@ -606,8 +606,8 @@ ahci_probe_drive(struct ata_channel *chp) AHCI_P_IX_DHRS); /* and start operations */ ahci_channel_start(sc, chp); - /* wait 100ms before actually starting operations */ - tsleep(&sc, PRIBIO, "ahciprb", mstohz(100)); + /* wait 500ms before actually starting operations */ + tsleep(&sc, PRIBIO, "ahciprb", mstohz(500)); break; default: |
