From bd4fb874acf0a07991c6d59e513a249222414980 Mon Sep 17 00:00:00 2001 From: Maxim Konovalov Date: Thu, 5 Oct 2006 07:28:43 +0000 Subject: [PATCH] o Add Adaptec ServeRAID 7x IDs. IDs taken from Linux. PR: kern/90012 Submitted by: Andrey V. Elsukov MFC after: 1 month --- sys/dev/ips/ips.c | 5 ++++- sys/dev/ips/ipsreg.h | 5 ++++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/sys/dev/ips/ips.c b/sys/dev/ips/ips.c index fead0aebd027..1f150420936e 100644 --- a/sys/dev/ips/ips.c +++ b/sys/dev/ips/ips.c @@ -64,7 +64,10 @@ static const char* ips_adapter_name[] = { "ServeRAID 5i II (sarasota)", "ServeRAID 5i (sarasota)", "ServeRAID 6M (marco)", - "ServeRAID 6i (sebring)" + "ServeRAID 6i (sebring)", + "ServeRAID 7t", + "ServeRAID 7k", + "ServeRAID 7M" }; diff --git a/sys/dev/ips/ipsreg.h b/sys/dev/ips/ipsreg.h index 0d13d730958c..ed282574ab8f 100644 --- a/sys/dev/ips/ipsreg.h +++ b/sys/dev/ips/ipsreg.h @@ -177,7 +177,10 @@ #define IPS_ADAPTER_SARASOTA1 0x0D #define IPS_ADAPTER_MARCO 0x0E #define IPS_ADAPTER_SEBRING 0x0F -#define IPS_ADAPTER_MAX_T IPS_ADAPTER_SEBRING +#define IPS_ADAPTER_7T 0x10 +#define IPS_ADAPTER_7K 0x11 +#define IPS_ADAPTER_7M 0x12 +#define IPS_ADAPTER_MAX_T IPS_ADAPTER_7M /* values for ffdc_settime (from gmtime) */ #define IPS_SECSPERMIN 60