summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormpi <mpi@openbsd.org>2015-11-24 11:24:21 +0000
committermpi <mpi@openbsd.org>2015-11-24 11:24:21 +0000
commitef6ed3f706ce4f97b484cee97998e1541269c934 (patch)
tree671130480027f0be56f562d8109d74a19bbafa2a
parentFix confusion between SIO_xxx and MIO_xxx options (copy & paste error). (diff)
downloadwireguard-openbsd-ef6ed3f706ce4f97b484cee97998e1541269c934.tar.xz
wireguard-openbsd-ef6ed3f706ce4f97b484cee97998e1541269c934.zip
Double the delay between the PHY reset and the status check for
ServerWorks SATA. Allow to reliably found disks on xserve G5. from miod@
-rw-r--r--sys/dev/pci/pciide.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/pci/pciide.c b/sys/dev/pci/pciide.c
index 59e24784965..e9fc9b01fd0 100644
--- a/sys/dev/pci/pciide.c
+++ b/sys/dev/pci/pciide.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pciide.c,v 1.355 2015/10/18 20:24:10 uaa Exp $ */
+/* $OpenBSD: pciide.c,v 1.356 2015/11/24 11:24:21 mpi Exp $ */
/* $NetBSD: pciide.c,v 1.127 2001/08/03 01:31:08 tsutsui Exp $ */
/*
@@ -7928,7 +7928,7 @@ svwsata_drv_probe(struct channel_softc *chp)
scontrol &= ~SControl_DET_INIT;
bus_space_write_4(ss->ba5_st, ss->ba5_sh,
(channel << 8) + SVWSATA_SCONTROL, scontrol);
- delay(50 * 1000);
+ delay(100 * 1000);
sstatus = bus_space_read_4(ss->ba5_st, ss->ba5_sh,
(channel << 8) + SVWSATA_SSTATUS);