Messages in this thread Patch in this message | | | From | Mariusz Kozlowski <> | Subject | [2.4 PATCH] ide serverworks parenthesis fix | Date | Fri, 1 Dec 2006 15:33:04 +0100 |
| |
Hello,
This code is '#if 0'ed but hell ... while I'm at it I can fix it :-]
Signed-off-by: Mariusz Kozlowski <m.kozlowski@tuxland.pl>
drivers/ide/pci/serverworks.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
--- linux-2.4.34-pre6-a/drivers/ide/pci/serverworks.c 2004-08-08 01:26:04.000000000 +0200 +++ linux-2.4.34-pre6-b/drivers/ide/pci/serverworks.c 2006-12-01 12:26:09.000000000 +0100 @@ -775,7 +775,7 @@ static void __init init_setup_csb6 (stru return; } #if 0 - if ((IDE_PCI_DEVID_EQ(d->devid, DEVID_CSB6) && + if (IDE_PCI_DEVID_EQ(d->devid, DEVID_CSB6) && (!(PCI_FUNC(dev->devfn) & 1))) d->autodma = AUTODMA; #endif
-- Regards,
Mariusz Kozlowski - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |