]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - drivers/scsi/isci/host.h
[SCSI] isci: update afe (analog-front-end) recipe for C1
[karo-tx-linux.git] / drivers / scsi / isci / host.h
index 646051afd3cbd07e2ab6761a18edef7355cf39f6..4573075a6b97b50c428ecb0d0ea09c6543f9bdaa 100644 (file)
@@ -435,7 +435,14 @@ static inline bool is_b0(struct pci_dev *pdev)
 
 static inline bool is_c0(struct pci_dev *pdev)
 {
-       if (pdev->revision >= 5)
+       if (pdev->revision == 5)
+               return true;
+       return false;
+}
+
+static inline bool is_c1(struct pci_dev *pdev)
+{
+       if (pdev->revision >= 6)
                return true;
        return false;
 }