# This is a BitKeeper generated patch for the following project: # Project Name: Linux kernel tree # This patch format is intended for GNU patch command version 2.5 or higher. # This patch includes the following deltas: # ChangeSet 1.603 -> 1.604 # drivers/ide/pci/trm290.c 1.5 -> 1.6 # # The following is the BitKeeper ChangeSet Log # -------------------------------------------- # 02/09/23 axboe@burns.home.kernel.dk 1.604 # Bad merge from 2.4.20-pre-ac, ide_build_dmatable() does not need data # direction argument in 2.5 (it's implicit in the request) # -------------------------------------------- # diff -Nru a/drivers/ide/pci/trm290.c b/drivers/ide/pci/trm290.c --- a/drivers/ide/pci/trm290.c Mon Sep 23 12:48:51 2002 +++ b/drivers/ide/pci/trm290.c Mon Sep 23 12:48:51 2002 @@ -192,7 +192,7 @@ trm290_prepare_drive(drive, 0); /* select PIO xfer */ return 1; #endif - if (!(count = ide_build_dmatable(drive, rq, PCI_DMA_TODEVICE))) { + if (!(count = ide_build_dmatable(drive, rq))) { /* try PIO instead of DMA */ trm290_prepare_drive(drive, 0); /* select PIO xfer */ return 1; @@ -236,7 +236,7 @@ task_ioreg_t command = WIN_NOP; unsigned int count, reading = 2, writing = 0; - if (!(count = ide_build_dmatable(drive, rq, PCI_DMA_FROMDEVICE))) { + if (!(count = ide_build_dmatable(drive, rq))) { /* try PIO instead of DMA */ trm290_prepare_drive(drive, 0); /* select PIO xfer */ return 1;