summaryrefslogtreecommitdiff
path: root/sys/dev/pci/pciide.c
diff options
context:
space:
mode:
authorMartin Pieuchot <mpi@cvs.openbsd.org>2015-11-24 11:24:22 +0000
committerMartin Pieuchot <mpi@cvs.openbsd.org>2015-11-24 11:24:22 +0000
commit9a5da4cac853f050828e4f4a018251226ec13013 (patch)
treee918f7011c6e5e87b94e87dc32a9a8461c8d891b /sys/dev/pci/pciide.c
parent71652a6df6a620c8c3cb36e47e57b3acd4396e5f (diff)
Double the delay between the PHY reset and the status check for
ServerWorks SATA. Allow to reliably found disks on xserve G5. from miod@
Diffstat (limited to 'sys/dev/pci/pciide.c')
-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);