Commit 718c3183 authored by Markus Lidel's avatar Markus Lidel Committed by Linus Torvalds

[PATCH] I2O: Limit max sector workaround for Promise controllers

Set max sectors to 256 for Promise controllers.
Signed-off-by: default avatarMarkus Lidel <Markus.Lidel@shadowconnect.com>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent f33213ec
...@@ -350,6 +350,7 @@ static int __devinit i2o_pci_probe(struct pci_dev *pdev, ...@@ -350,6 +350,7 @@ static int __devinit i2o_pci_probe(struct pci_dev *pdev,
pci_write_config_word(i960, 0x42, 0); pci_write_config_word(i960, 0x42, 0);
c->promise = 1; c->promise = 1;
c->limit_sectors = 1;
} }
if (pdev->subsystem_vendor == PCI_VENDOR_ID_DPT) if (pdev->subsystem_vendor == PCI_VENDOR_ID_DPT)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment