diff options
author | vkashyap <vkashyap@FreeBSD.org> | 2004-06-11 18:42:44 +0000 |
---|---|---|
committer | vkashyap <vkashyap@FreeBSD.org> | 2004-06-11 18:42:44 +0000 |
commit | 570fb9bce13426eefd5a31a086ee8b65f9bc2ebe (patch) | |
tree | 1b98d6ea829a05a880753c0117a1573bd8a06846 /sys/dev/twe/twevar.h | |
parent | b75fa8ff5c6ffd5f71c21a674749e607ea6c7f8e (diff) | |
download | FreeBSD-src-570fb9bce13426eefd5a31a086ee8b65f9bc2ebe.zip FreeBSD-src-570fb9bce13426eefd5a31a086ee8b65f9bc2ebe.tar.gz |
Fix for a problem seen only on 6xxx series controllers, where-in the
driver tries to submit the same request repeatedly, on finding the
controller cmd queue to be full.
Submitted by:ps, vkashyap
Reviewed by:re
Approved by:re
Diffstat (limited to 'sys/dev/twe/twevar.h')
-rw-r--r-- | sys/dev/twe/twevar.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/dev/twe/twevar.h b/sys/dev/twe/twevar.h index 393846b..90391ad 100644 --- a/sys/dev/twe/twevar.h +++ b/sys/dev/twe/twevar.h @@ -27,7 +27,7 @@ * $FreeBSD$ */ -#define TWE_DRIVER_VERSION_STRING "1.50.01.001" +#define TWE_DRIVER_VERSION_STRING "1.50.01.002" #ifdef TWE_DEBUG #define debug(level, fmt, args...) \ @@ -131,7 +131,8 @@ struct twe_softc #define TWE_STATE_SHUTDOWN (1<<1) /* controller is shut down */ #define TWE_STATE_OPEN (1<<2) /* control device is open */ #define TWE_STATE_SUSPEND (1<<3) /* controller is suspended */ -#define TWE_STATE_FRZN (1<<4) +#define TWE_STATE_FRZN (1<<4) /* got EINPROGRESS */ +#define TWE_STATE_CTLR_BUSY (1<<5) /* controller cmd queue full */ int twe_host_id; struct twe_qstat twe_qstat[TWEQ_COUNT]; /* queue statistics */ |