diff options
| author | tron <tron@NetBSD.org> | 2008-09-11 11:08:50 +0000 |
|---|---|---|
| committer | tron <tron@NetBSD.org> | 2008-09-11 11:08:50 +0000 |
| commit | 2b3ca19215621da75a014f8dcaafba2ce195e9bb (patch) | |
| tree | 5fd19cd81983148db5fa8afab5fe0e9d89ced5ab /sys/dev/ata/ata_raid.c | |
| parent | 31cd18f961f163732167d5e3c9fa3153e3064fe7 (diff) | |
Add support for Intel MatrixRAID to ataraid(4). It is currently limited
to one volume.
The driver was provided by Juan RP in PR kern/39511.
Diffstat (limited to 'sys/dev/ata/ata_raid.c')
| -rw-r--r-- | sys/dev/ata/ata_raid.c | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/sys/dev/ata/ata_raid.c b/sys/dev/ata/ata_raid.c index dddb002ff2a..ced54a2ceb5 100644 --- a/sys/dev/ata/ata_raid.c +++ b/sys/dev/ata/ata_raid.c @@ -1,4 +1,4 @@ -/* $NetBSD: ata_raid.c,v 1.31 2008/09/05 12:37:13 tron Exp $ */ +/* $NetBSD: ata_raid.c,v 1.32 2008/09/11 11:08:50 tron Exp $ */ /* * Copyright (c) 2003 Wasabi Systems, Inc. @@ -40,7 +40,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: ata_raid.c,v 1.31 2008/09/05 12:37:13 tron Exp $"); +__KERNEL_RCSID(0, "$NetBSD: ata_raid.c,v 1.32 2008/09/11 11:08:50 tron Exp $"); #include <sys/param.h> #include <sys/buf.h> @@ -116,7 +116,8 @@ ata_raid_type_name(u_int type) "Adaptec", "VIA V-RAID", "nVidia", - "JMicron" + "JMicron", + "Intel MatrixRAID" }; if (type < __arraycount(ata_raid_type_names)) @@ -250,6 +251,8 @@ ata_raid_check_component(device_t self) return; if (ata_raid_read_config_jmicron(sc) == 0) return; + if (ata_raid_read_config_intel(sc) == 0) + return; } struct ataraid_array_info * |
