summaryrefslogtreecommitdiff
path: root/drivers/ide/pdcraid.c
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@athlon.transmeta.com>2002-02-04 20:33:15 -0800
committerLinus Torvalds <torvalds@athlon.transmeta.com>2002-02-04 20:33:15 -0800
commitd40d1af9f0aebf7e108f1dfb66ac5af671bc9719 (patch)
tree7a2518e82986a8eb5b4eb76553df04d8ba6e4642 /drivers/ide/pdcraid.c
parenta8a2069f432c5597bdf9c83ab3045b9ef32ab5e3 (diff)
v2.4.14.2 -> v2.4.14.3
- Alan Cox: more driver merging - Al Viro: make ext2 group allocation more readable
Diffstat (limited to 'drivers/ide/pdcraid.c')
-rw-r--r--drivers/ide/pdcraid.c20
1 files changed, 9 insertions, 11 deletions
diff --git a/drivers/ide/pdcraid.c b/drivers/ide/pdcraid.c
index f0b784128e3b..0c98b7b1d27b 100644
--- a/drivers/ide/pdcraid.c
+++ b/drivers/ide/pdcraid.c
@@ -12,9 +12,7 @@
Authors: Arjan van de Ven <arjanv@redhat.com>
-
-
-
+ Based on work done by Søren Schmidt for FreeBSD
*/
@@ -54,6 +52,12 @@ static struct disk_dev devlist[]= {
{IDE2_MAJOR, 64, -1 },
{IDE3_MAJOR, 0, -1 },
{IDE3_MAJOR, 64, -1 },
+ {IDE4_MAJOR, 0, -1 },
+ {IDE4_MAJOR, 64, -1 },
+ {IDE5_MAJOR, 0, -1 },
+ {IDE5_MAJOR, 64, -1 },
+ {IDE6_MAJOR, 0, -1 },
+ {IDE6_MAJOR, 64, -1 },
};
@@ -550,14 +554,8 @@ static __init int pdcraid_init_one(int device,int raidlevel)
request_queue_t *q;
int i,count;
- probedisk(0, device, raidlevel);
- probedisk(1, device, raidlevel);
- probedisk(2, device, raidlevel);
- probedisk(3, device, raidlevel);
- probedisk(4, device, raidlevel);
- probedisk(5, device, raidlevel);
- probedisk(6, device, raidlevel);
- probedisk(7, device, raidlevel);
+ for (i=0; i<14; i++)
+ probedisk(i, device, raidlevel);
if (raidlevel==0)
fill_cutoff(device);