From 2163898eebb0311c35a2a6a727354b4d9e02d6b5 Mon Sep 17 00:00:00 2001 From: briggs Date: Thu, 27 Feb 1997 13:59:32 +0000 Subject: [PATCH] Add the 53c96 variant. --- sys/dev/ic/ncr53c9x.c | 4 +++- sys/dev/ic/ncr53c9xvar.h | 5 +++-- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/sys/dev/ic/ncr53c9x.c b/sys/dev/ic/ncr53c9x.c index 07d8988c6564..e9012ce73a12 100644 --- a/sys/dev/ic/ncr53c9x.c +++ b/sys/dev/ic/ncr53c9x.c @@ -1,4 +1,4 @@ -/* $NetBSD: ncr53c9x.c,v 1.1 1997/02/27 01:12:07 thorpej Exp $ */ +/* $NetBSD: ncr53c9x.c,v 1.2 1997/02/27 13:59:32 briggs Exp $ */ /* * Copyright (c) 1996 Charles M. Hannum. All rights reserved. @@ -130,6 +130,7 @@ const char *ncr53c9x_variant_names[] = { "ESP100A", "ESP200", "NCR53C94", + "NCR53C96", }; /* @@ -222,6 +223,7 @@ ncr53c9x_reset(sc) /* do these backwards, and fall through */ switch (sc->sc_rev) { case NCR_VARIANT_NCR53C94: + case NCR_VARIANT_NCR53C96: case NCR_VARIANT_ESP200: NCR_WRITE_REG(sc, NCR_CFG3, sc->sc_cfg3); case NCR_VARIANT_ESP100A: diff --git a/sys/dev/ic/ncr53c9xvar.h b/sys/dev/ic/ncr53c9xvar.h index e5660501b49f..fc909387fa53 100644 --- a/sys/dev/ic/ncr53c9xvar.h +++ b/sys/dev/ic/ncr53c9xvar.h @@ -1,4 +1,4 @@ -/* $NetBSD: ncr53c9xvar.h,v 1.1 1997/02/27 01:12:09 thorpej Exp $ */ +/* $NetBSD: ncr53c9xvar.h,v 1.2 1997/02/27 13:59:34 briggs Exp $ */ /* * Copyright (c) 1997 Jason R. Thorpe. @@ -74,7 +74,8 @@ #define NCR_VARIANT_ESP100A 1 #define NCR_VARIANT_ESP200 2 #define NCR_VARIANT_NCR53C94 3 -#define NCR_VARIANT_MAX 4 +#define NCR_VARIANT_NCR53C96 4 +#define NCR_VARIANT_MAX 5 /* * ECB. Holds additional information for each SCSI command Comments: We