From c2b80acd8456bdafc6dda937e55da3c405a0b907 Mon Sep 17 00:00:00 2001 From: Aaron Campbell Date: Thu, 6 Jul 2000 21:17:45 +0000 Subject: Perform a much longer delay after resetting the card to give it a chance to get its brains in order. --- sys/dev/cardbus/if_xl_cardbus.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'sys') diff --git a/sys/dev/cardbus/if_xl_cardbus.c b/sys/dev/cardbus/if_xl_cardbus.c index 5d3d6391a5d..debb014b67d 100644 --- a/sys/dev/cardbus/if_xl_cardbus.c +++ b/sys/dev/cardbus/if_xl_cardbus.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_xl_cardbus.c,v 1.4 2000/07/01 03:19:14 aaron Exp $ */ +/* $OpenBSD: if_xl_cardbus.c,v 1.5 2000/07/06 21:17:44 aaron Exp $ */ /* $NetBSD: if_xl_cardbus.c,v 1.13 2000/03/07 00:32:52 mycroft Exp $ */ /* @@ -297,7 +297,8 @@ xl_cardbus_attach(parent, self, aux) bus_space_write_2(sc->xl_btag, sc->xl_bhandle, XL_COMMAND, XL_CMD_RESET); - delay(400); + delay(5000); + { int i = 0; while (bus_space_read_2(sc->xl_btag, sc->xl_bhandle, XL_STATUS) -- cgit v1.2.3