sync up with pk's commit to the sparc port:
>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:
parent
3340f02c2b
commit
e29fc4fb1d
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: espvar.h,v 1.11 1996/11/12 21:00:35 cgd Exp $ */
|
||||
/* $NetBSD: espvar.h,v 1.12 1996/11/24 04:21:30 cgd 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) */
|
||||
|
|
Loading…
Reference in New Issue