[PATCH] I2O: Limit max sector workaround for Promise controllers
authorMarkus Lidel <Markus.Lidel@shadowconnect.com>
Fri, 24 Jun 2005 05:02:24 +0000 (22:02 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Fri, 24 Jun 2005 07:05:29 +0000 (00:05 -0700)
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>
drivers/message/i2o/pci.c

index 9971430e5184f2cd74b0cb0222eeb04729ae0eab..7a60fd7be8ad4aa3f334a1885e3eaa439305b26a 100644 (file)
@@ -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)