|
@@ -1527,7 +1527,7 @@ static int __devinit reset_card(struct pci_dev *pdev,
|
|
msleep(10);
|
|
msleep(10);
|
|
|
|
|
|
portcount = inw(base + 0x2);
|
|
portcount = inw(base + 0x2);
|
|
- if (!inw(base + 0xe) & 0x1 || (portcount != 0 && portcount != 4 &&
|
|
|
|
|
|
+ if (!(inw(base + 0xe) & 0x1) || (portcount != 0 && portcount != 4 &&
|
|
portcount != 8 && portcount != 16)) {
|
|
portcount != 8 && portcount != 16)) {
|
|
dev_err(&pdev->dev, "ISILoad:PCI Card%d reset failure.\n",
|
|
dev_err(&pdev->dev, "ISILoad:PCI Card%d reset failure.\n",
|
|
card + 1);
|
|
card + 1);
|