From f160a95aaecae52d01adf95c8c7ccfecc72d444e Mon Sep 17 00:00:00 2001 From: Tomas Smetana Date: May 05 2008 09:57:33 +0000 Subject: add PERC patch --- diff --git a/smartmontools-5.38-perc.patch b/smartmontools-5.38-perc.patch new file mode 100644 index 0000000..a63c890 --- /dev/null +++ b/smartmontools-5.38-perc.patch @@ -0,0 +1,13 @@ +diff -up smartmontools-5.38/scsiprint.cpp.perc smartmontools-5.38/scsiprint.cpp +--- smartmontools-5.38/scsiprint.cpp.perc 2008-03-04 23:09:47.000000000 +0100 ++++ smartmontools-5.38/scsiprint.cpp 2008-03-27 11:28:20.000000000 +0100 +@@ -1037,6 +1037,9 @@ static int scsiGetDriveInfo(int device, + (0 == strncmp((const char *)(gBuf + 36), "MVSATA", 6))) { + pout("please try '-d marvell'\n"); + return 2; ++ } else if (0 == strncmp(product, "PERC", 4)) { ++ pout("\nDELL PERC controllers are not supported.\n"); ++ return 2; + } else if ((0 == con->controller_explicit) && + (0 == strncmp(manufacturer, "ATA ", 8)) && + has_sat_pass_through(device, 0)) {