From: Markus Lidel Date: Fri, 24 Jun 2005 05:02:24 +0000 (-0700) Subject: [PATCH] I2O: Limit max sector workaround for Promise controllers X-Git-Tag: v2.6.13-rc1~68^2~332 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=718c31831aa134a97f6fef215c208cea80a8b480;p=linux-2.6 [PATCH] I2O: Limit max sector workaround for Promise controllers Set max sectors to 256 for Promise controllers. Signed-off-by: Markus Lidel Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/drivers/message/i2o/pci.c b/drivers/message/i2o/pci.c index 9971430e51..7a60fd7be8 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, pci_write_config_word(i960, 0x42, 0); c->promise = 1; + c->limit_sectors = 1; } if (pdev->subsystem_vendor == PCI_VENDOR_ID_DPT)