diff options
author | Markus Lidel <Markus.Lidel@shadowconnect.com> | 2005-06-24 01:02:24 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-06-24 03:05:29 -0400 |
commit | 718c31831aa134a97f6fef215c208cea80a8b480 (patch) | |
tree | 9c1716af1b8156d7debb9e3766683cb51ffb4720 /drivers/message/i2o/pci.c | |
parent | f33213ecf49c98da4e85121b592c3bea8057c2e6 (diff) |
[PATCH] I2O: Limit max sector workaround for Promise controllers
Set max sectors to 256 for Promise controllers.
Signed-off-by: Markus Lidel <Markus.Lidel@shadowconnect.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/message/i2o/pci.c')
-rw-r--r-- | drivers/message/i2o/pci.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/message/i2o/pci.c b/drivers/message/i2o/pci.c index 9971430e5184..7a60fd7be8ad 100644 --- a/drivers/message/i2o/pci.c +++ b/drivers/message/i2o/pci.c | |||
@@ -350,6 +350,7 @@ static int __devinit i2o_pci_probe(struct pci_dev *pdev, | |||
350 | pci_write_config_word(i960, 0x42, 0); | 350 | pci_write_config_word(i960, 0x42, 0); |
351 | 351 | ||
352 | c->promise = 1; | 352 | c->promise = 1; |
353 | c->limit_sectors = 1; | ||
353 | } | 354 | } |
354 | 355 | ||
355 | if (pdev->subsystem_vendor == PCI_VENDOR_ID_DPT) | 356 | if (pdev->subsystem_vendor == PCI_VENDOR_ID_DPT) |