diff options
author | Marcus Glocker <mglocker@cvs.openbsd.org> | 2006-08-07 21:17:40 +0000 |
---|---|---|
committer | Marcus Glocker <mglocker@cvs.openbsd.org> | 2006-08-07 21:17:40 +0000 |
commit | 69a8caeb33969b885f7bbd77d0310237936ac2ac (patch) | |
tree | 7bc02b95b79cf96cadc4681cad37effc031f73fb /sys/dev/ic | |
parent | 830d15121e46e520e2902cc89a177b681ba56c86 (diff) |
Make radio type 0x11 work. Radio firmware needs longer to initialize
for those types. Increase tsleep() from 150ms to 300ms.
Tested by Marc Winiger <mw@msys.ch> with 0x11 ACX100 CardBus & ACX100 PCI.
ok claudio@
Diffstat (limited to 'sys/dev/ic')
-rw-r--r-- | sys/dev/ic/acx.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/ic/acx.c b/sys/dev/ic/acx.c index 4a839d9c597..5920abed289 100644 --- a/sys/dev/ic/acx.c +++ b/sys/dev/ic/acx.c @@ -1,4 +1,4 @@ -/* $OpenBSD: acx.c,v 1.31 2006/08/07 11:06:50 jsg Exp $ */ +/* $OpenBSD: acx.c,v 1.32 2006/08/07 21:17:39 mglocker Exp $ */ /* * Copyright (c) 2006 Jonathan Gray <jsg@openbsd.org> @@ -2665,7 +2665,7 @@ acx_exec_command(struct acx_softc *sc, uint16_t cmd, void *param, /* Wait for command to complete */ if (cmd == ACXCMD_INIT_RADIO) { /* XXX radio initialization is extremely long */ - tsleep(&cmd, 0, "rdinit", (150 * hz) / 1000); /* 150ms */ + tsleep(&cmd, 0, "rdinit", (300 * hz) / 1000); /* 300ms */ } #define CMDWAIT_RETRY_MAX 1000 |