[PATCH: kernel 2.6.16-rc6] CMD643 does not support DMA

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

cmd64x.c :CMD643 does not support DMA.

Signed-off-by: komurojun-mbn@xxxxxxxxx

--- linux-2.6.16-rc6/drivers/ide/pci/cmd64x.c.orig	2006-03-18 20:24:04.000000000 +0900
+++ linux-2.6.16-rc6/drivers/ide/pci/cmd64x.c	2006-03-18 20:26:49.000000000 +0900
@@ -725,8 +725,11 @@
 	hwif->mwdma_mask = 0x07;
 	hwif->swdma_mask = 0x07;
 
-	if (dev->device == PCI_DEVICE_ID_CMD_643)
+	if (dev->device == PCI_DEVICE_ID_CMD_643) {
 		hwif->ultra_mask = 0x80;
+		hwif->mwdma_mask = 0x80;
+		hwif->swdma_mask = 0x80;
+	}
 	if (dev->device == PCI_DEVICE_ID_CMD_646)
 		hwif->ultra_mask = (class_rev > 0x04) ? 0x07 : 0x80;
 	if (dev->device == PCI_DEVICE_ID_CMD_648)


Best Regards
Komuro
-
: send the line "unsubscribe linux-ide" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Filesystems]     [Linux SCSI]     [Linux RAID]     [Git]     [Kernel Newbies]     [Linux Newbie]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Samba]     [Device Mapper]

  Powered by Linux