Add function to add spare disk to raid.

This commit is contained in:
Søren Schmidt 2003-05-02 12:39:34 +00:00
parent 5909dab38c
commit bdf54b2fc4
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=114528

View File

@ -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;