From bdf54b2fc4001ef121669c252baa92bfd536e79d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=B8ren=20Schmidt?= Date: Fri, 2 May 2003 12:39:34 +0000 Subject: [PATCH] Add function to add spare disk to raid. --- sys/sys/ata.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/sys/sys/ata.h b/sys/sys/ata.h index 7464d1576eb..123676fe184 100644 --- a/sys/sys/ata.h +++ b/sys/sys/ata.h @@ -370,6 +370,7 @@ struct ata_cmd { #define ATARAIDSTATUS 11 #define ATAENCSTAT 12 #define ATAGMAXCHANNEL 13 +#define ATARAIDADDSPARE 14 union { struct { @@ -391,6 +392,9 @@ struct ata_cmd { int interleave; int unit; } raid_setup; + struct { + int disk; + } raid_spare; struct raid_status { int type; int total_disks;