diff options
author | Jeremy Katz <katzj@redhat.com> | 2001-10-05 20:09:22 +0000 |
---|---|---|
committer | Jeremy Katz <katzj@redhat.com> | 2001-10-05 20:09:22 +0000 |
commit | e0f4370a36956055e96c396fdad2cb3dcfc79d23 (patch) | |
tree | f2cc2b8ae5cfc9ea7ab6e5019339cda42210341c /isys | |
parent | 24d2e28c6a59f1d543bc2806fdd86b0bd520b288 (diff) | |
download | anaconda-e0f4370a36956055e96c396fdad2cb3dcfc79d23.tar.gz anaconda-e0f4370a36956055e96c396fdad2cb3dcfc79d23.tar.xz anaconda-e0f4370a36956055e96c396fdad2cb3dcfc79d23.zip |
merge fix for #54274 from 7-2-branch
Diffstat (limited to 'isys')
-rw-r--r-- | isys/isys.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/isys/isys.c b/isys/isys.c index f51f0f324..36c6f67e3 100644 --- a/isys/isys.c +++ b/isys/isys.c @@ -1372,10 +1372,11 @@ static PyObject * doIsScsiRemovable(PyObject * s, PyObject * args) { /* look at byte 1, bit 7 for removable flag */ if (!(rc = ioctl(fd, SCSI_IOCTL_SEND_COMMAND, &inq))) { if (inq.cmd[1] & (1 << 7)) { - /* XXX check the vendor, if it's DELL or HP it could be + /* XXX check the vendor, if it's DELL, HP, or ADAPTEC it could be an adaptec perc RAID (aacraid) device */ if ((!strncmp (inq.cmd + 8, "DELL", 4)) - || (!strncmp (inq.cmd + 8, "HP", 2))) { + || (!strncmp (inq.cmd + 8, "HP", 2)) + || (!strncmp (inq.cmd + 8, "ADAPTEC", 7))) { rc = 0; } else rc = 1; |