One control block per target is insufficient if you have a full complement

of targets attached and access those simultaneously (like in a ccd(4) array).
We (now) allocate (somewhat arbitrarily) three per target.
Noticed by Marshall Midden.
This commit is contained in:
pk 1996-11-22 22:36:57 +00:00
parent d8201fb9f6
commit 3cb63476b7
1 changed files with 2 additions and 2 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: espvar.h,v 1.17 1996/11/12 21:06:23 cgd Exp $ */
/* $NetBSD: espvar.h,v 1.18 1996/11/22 22:36:57 pk Exp $ */
#if defined(__sparc__) && !defined(SPARC_DRIVER)
#define SPARC_DRIVER
@ -183,7 +183,7 @@ struct esp_softc {
nexus_list;
struct esp_ecb *sc_nexus; /* current command */
struct esp_ecb sc_ecb[8]; /* one per target */
struct esp_ecb sc_ecb[3*8]; /* three per target */
struct esp_tinfo sc_tinfo[8];
/* Data about the current nexus (updated for every cmd switch) */