summaryrefslogtreecommitdiffstats
path: root/isys
diff options
context:
space:
mode:
authorbrosenkr <brosenkr>2000-05-09 10:58:24 +0000
committerbrosenkr <brosenkr>2000-05-09 10:58:24 +0000
commit411ecdc3cc519b861d6219292a25dbca245342ae (patch)
tree08b60df67336b17c2edc6509837822d67df0aef0 /isys
parentf480bcf589daa60c511d85788dced1c401403911 (diff)
downloadanaconda-411ecdc3cc519b861d6219292a25dbca245342ae.tar.gz
anaconda-411ecdc3cc519b861d6219292a25dbca245342ae.tar.xz
anaconda-411ecdc3cc519b861d6219292a25dbca245342ae.zip
Fix for multiple cpqarray controllers (UNTESTED!)
Diffstat (limited to 'isys')
-rw-r--r--isys/devnodes.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/isys/devnodes.c b/isys/devnodes.c
index f86fd1d45..bb8e40ab0 100644
--- a/isys/devnodes.c
+++ b/isys/devnodes.c
@@ -103,7 +103,7 @@ int devMakeInode(char * devName, char * path) {
} else if (!strncmp(devName, "ida/", 4)) {
/* Compaq Smart Array "ida/c0d0{p1} */
type = S_IFBLK;
- major = 72; /* controller */
+ major = 72 + devName[5] - '0'; /* controller */
minor = (devName[7] - '0') * 16; /* disk */
if (strlen(devName) > 8) /* partition */
minor += atoi(devName + 9);