summaryrefslogtreecommitdiff
path: root/sys/dev/pci/ncr.c
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>2000-10-08 19:36:10 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>2000-10-08 19:36:10 +0000
commit78100372298b4ded0b93dff1f3e009795d093391 (patch)
tree66bbc6fb190bf846b88c369bf1012aaaa2297be8 /sys/dev/pci/ncr.c
parent471f68adc3a2ad63292a91358d5a250934a9f371 (diff)
Add support for Symbios (NCR) 1510 and 1510D. Based on a patch from
redjade@ada.snu.ac.kr.
Diffstat (limited to 'sys/dev/pci/ncr.c')
-rw-r--r--sys/dev/pci/ncr.c12
1 files changed, 10 insertions, 2 deletions
diff --git a/sys/dev/pci/ncr.c b/sys/dev/pci/ncr.c
index 3f0a8e132e0..052e0225c33 100644
--- a/sys/dev/pci/ncr.c
+++ b/sys/dev/pci/ncr.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ncr.c,v 1.51 2000/08/01 13:45:26 millert Exp $ */
+/* $OpenBSD: ncr.c,v 1.52 2000/10/08 19:36:09 millert Exp $ */
/* $NetBSD: ncr.c,v 1.63 1997/09/23 02:39:15 perry Exp $ */
/**************************************************************************
@@ -1466,7 +1466,7 @@ static void ncr_attach (pcici_t tag, int unit);
#if 0
static char ident[] =
- "\n$OpenBSD: ncr.c,v 1.51 2000/08/01 13:45:26 millert Exp $\n";
+ "\n$OpenBSD: ncr.c,v 1.52 2000/10/08 19:36:09 millert Exp $\n";
#endif
static const u_long ncr_version = NCR_VERSION * 11
@@ -1509,6 +1509,8 @@ static int ncr_cache; /* to be aligned _NOT_ static */
#define NCR_895_ID (0x000c1000ul)
#define NCR_895A_ID (0x00121000ul)
#define NCR_896_ID (0x000b1000ul)
+#define NCR_1510_ID (0x00101000ul)
+#define NCR_1510D_ID (0x000a1000ul)
#ifdef __OpenBSD__
@@ -3495,6 +3497,12 @@ static ncr_chip ncr_chip_table[] = {
,
{NCR_896_ID, 0x00, 7, 31, 7,
FE_WIDE|FE_ULTRA2|FE_QUAD|FE_CACHE_SET|FE_DFS|FE_LDSTR|FE_PFEN|FE_RAM}
+ ,
+ {NCR_1510_ID, 0x00, 7, 31, 7,
+ FE_WIDE|FE_ULTRA2|FE_QUAD|FE_CACHE_SET|FE_DFS|FE_LDSTR|FE_PFEN|FE_RAM}
+ ,
+ {NCR_1510D_ID, 0x00, 7, 31, 7,
+ FE_WIDE|FE_ULTRA2|FE_QUAD|FE_CACHE_SET|FE_DFS|FE_LDSTR|FE_PFEN|FE_RAM}
};
static int ncr_chip_lookup(u_long device_id, u_char revision_id)