+ ide-disable-dma-for-transcend-cf.patch added to -mm tree

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

 



The patch titled

     ide: disable dma for transcend CF

has been added to the -mm tree.  Its filename is

     ide-disable-dma-for-transcend-cf.patch

See http://www.zip.com.au/~akpm/linux/patches/stuff/added-to-mm.txt to find
out what to do about this

------------------------------------------------------
Subject: ide: disable dma for transcend CF
From: Kirill Smelkov <kirr@xxxxxxxxxx>


I have a CF card which identifies itself as model=TRANSCEND rev=200508011
The card id labeled as TS512MCF80

hdparm -i /dev/hdci  reports:
...
DMA modes:  mdma0 mdma1 *mdma2

IDE controller:
IDE interface: VIA Technologies, Inc. VT82C586A/B/VT82C686/A/B/VT823x/A/C PIPC Bus Master IDE (rev 06)

but if dma is turned on i get a lot of errors::

    hdc: dma_timer_epiry: dma_status == 0x21
    hdc: DMA timeout error
    hdc: dma timeout error: status=0x58 { DriveReady SeekComplete DataRequest }
    ide: failed opcode was: unknown
    ...

So blacklist this CF model.

Signed-off-by: Kirill Smelkov <kirr@xxxxxxxxxx>
Cc: Bartlomiej Zolnierkiewicz <B.Zolnierkiewicz@xxxxxxxxxxxxxx>
Cc: Alan Cox <alan@xxxxxxxxxxxxxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxx>
---

 drivers/ide/ide-dma.c |    1 +
 1 files changed, 1 insertion(+)

diff -puN drivers/ide/ide-dma.c~ide-disable-dma-for-transcend-cf drivers/ide/ide-dma.c
--- 25/drivers/ide/ide-dma.c~ide-disable-dma-for-transcend-cf	Tue Jun 20 15:20:49 2006
+++ 25-akpm/drivers/ide/ide-dma.c	Tue Jun 20 15:20:49 2006
@@ -129,6 +129,7 @@ static const struct drive_list_entry dri
 	{ "SanDisk SDP3B-64"	,	"ALL"		},
 	{ "ATAPI CD-ROM DRIVE 40X MAXIMUM",	"ALL"		},
 	{ "_NEC DV5800A",               "ALL"           },  
+	{ "TRANSCEND"		,	"20050811"	},
 	{ NULL			,	NULL		}
 
 };
_

Patches currently in -mm which might be from kirr@xxxxxxxxxx are

x86-compile-fix-for-asm-i386-alternativesh.patch
ide-fix-revision-comparison-in-ide_in_drive_list.patch
ide-disable-dma-for-transcend-cf.patch

-
To unsubscribe from this list: send the line "unsubscribe mm-commits" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Kernel Newbies FAQ]     [Kernel Archive]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Photo]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]

  Powered by Linux