add NCR_VARIANT_NCR53C90_86C01 "NCR53C90 (86C01)"

treat exactly like NCR_VARIANT_ESP100
This commit is contained in:
jdolecek 2001-12-03 23:27:31 +00:00
parent 467db01652
commit 08733c9d51
2 changed files with 7 additions and 4 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: ncr53c9x.c,v 1.87 2001/11/15 09:48:07 lukem Exp $ */
/* $NetBSD: ncr53c9x.c,v 1.88 2001/12/03 23:27:31 jdolecek Exp $ */
/*-
* Copyright (c) 1998 The NetBSD Foundation, Inc.
@ -77,7 +77,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: ncr53c9x.c,v 1.87 2001/11/15 09:48:07 lukem Exp $");
__KERNEL_RCSID(0, "$NetBSD: ncr53c9x.c,v 1.88 2001/12/03 23:27:31 jdolecek Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@ -172,6 +172,7 @@ static const char *ncr53c9x_variant_names[] = {
"FAS216",
"AM53C974",
"FAS366/HME",
"NCR53C90 (86C01)",
};
/*
@ -353,6 +354,7 @@ ncr53c9x_reset(sc)
case NCR_VARIANT_ESP100A:
sc->sc_features |= NCR_F_SELATN3;
NCR_WRITE_REG(sc, NCR_CFG2, sc->sc_cfg2);
case NCR_VARIANT_NCR53C90_86C01:
case NCR_VARIANT_ESP100:
NCR_WRITE_REG(sc, NCR_CFG1, sc->sc_cfg1);
NCR_WRITE_REG(sc, NCR_CCF, sc->sc_ccf);

View File

@ -1,4 +1,4 @@
/* $NetBSD: ncr53c9xvar.h,v 1.34 2001/11/10 22:48:09 perry Exp $ */
/* $NetBSD: ncr53c9xvar.h,v 1.35 2001/12/03 23:27:32 jdolecek Exp $ */
/*-
* Copyright (c) 1997 The NetBSD Foundation, Inc.
@ -92,7 +92,8 @@
#define NCR_VARIANT_FAS216 7
#define NCR_VARIANT_AM53C974 8
#define NCR_VARIANT_FAS366 9
#define NCR_VARIANT_MAX 10
#define NCR_VARIANT_NCR53C90_86C01 10
#define NCR_VARIANT_MAX 11
/*
* ECB. Holds additional information for each SCSI command Comments: We