diff options
author | Aaron Campbell <aaron@cvs.openbsd.org> | 2000-07-06 21:17:45 +0000 |
---|---|---|
committer | Aaron Campbell <aaron@cvs.openbsd.org> | 2000-07-06 21:17:45 +0000 |
commit | c2b80acd8456bdafc6dda937e55da3c405a0b907 (patch) | |
tree | 03a77c5b98d1beb6b147d85f1a08230886e0123a /sys/dev/cardbus | |
parent | 48ff5f8496b10c4b381c293a2d03a4018b1feda8 (diff) |
Perform a much longer delay after resetting the card to give it a chance to get
its brains in order.
Diffstat (limited to 'sys/dev/cardbus')
-rw-r--r-- | sys/dev/cardbus/if_xl_cardbus.c | 5 |
1 files changed, 3 insertions, 2 deletions
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) |