diff options
author | Damien Bergamini <damien@cvs.openbsd.org> | 2006-02-25 12:56:48 +0000 |
---|---|---|
committer | Damien Bergamini <damien@cvs.openbsd.org> | 2006-02-25 12:56:48 +0000 |
commit | 43b0628d6f729fd5b051e187f66bed4f81c07e5f (patch) | |
tree | 7ff8638c412aef96c8e1bcd473bcb17f5cc70986 /sys/dev/ic/rt2661var.h | |
parent | e974547218ce56dc68df161543697e398d97c51f (diff) |
load the firmware only when necessary (first call to rt2661_init or if the
cardbus socket has been powered off). restore the call to rt2661_init() in
the watchdog since the firmware is not reloaded in this case.
fixes "timeout waiting for BBP" errors seen on some PCI adapters.
Diffstat (limited to 'sys/dev/ic/rt2661var.h')
-rw-r--r-- | sys/dev/ic/rt2661var.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/ic/rt2661var.h b/sys/dev/ic/rt2661var.h index e7bae7400de..a41bb2d082f 100644 --- a/sys/dev/ic/rt2661var.h +++ b/sys/dev/ic/rt2661var.h @@ -1,4 +1,4 @@ -/* $OpenBSD: rt2661var.h,v 1.3 2006/01/14 12:43:27 damien Exp $ */ +/* $OpenBSD: rt2661var.h,v 1.4 2006/02/25 12:56:47 damien Exp $ */ /*- * Copyright (c) 2006 @@ -109,6 +109,7 @@ struct rt2661_softc { int sc_id; int sc_flags; #define RT2661_ENABLED (1 << 0) +#define RT2661_FWLOADED (1 << 1) int sc_tx_timer; |