summaryrefslogtreecommitdiffstats
path: root/isys
diff options
context:
space:
mode:
authorJeremy Katz <katzj@redhat.com>2001-10-05 20:09:22 +0000
committerJeremy Katz <katzj@redhat.com>2001-10-05 20:09:22 +0000
commite0f4370a36956055e96c396fdad2cb3dcfc79d23 (patch)
treef2cc2b8ae5cfc9ea7ab6e5019339cda42210341c /isys
parent24d2e28c6a59f1d543bc2806fdd86b0bd520b288 (diff)
downloadanaconda-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.c5
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;