linux-mips
[Top] [All Lists]

Programmed ide transfer size

To: linux-mips@linux-mips.org
Subject: Programmed ide transfer size
From: "kernel coder" <lhrkernelcoder@gmail.com>
Date: Thu, 23 Feb 2006 05:32:08 -0800
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=HPnhcVdavEeTt2Qs5yS3e03HSbpk0tR/DxY4WVjHGHxb4wyo9t6iVj81/jLnItJbLWoNcB2jvDYPwKGv3xHvT6x24IlUGnP6PSlQezG9Ucd2gU74Afo3LRN36HXo7GUb+0zV/eOZBcq5EG5dg2xoqQSsJI9t8FQo9bkblvtiiew=
Original-recipient: rfc822;linux-mips@linux-mips.org
Sender: linux-mips-bounce@linux-mips.org
hi,

I'm working on an ide driver.Whenever a DMA read operation is
started,i never recieve the DMA interrupt.The staus register at offset
00h shows value ' 0 ',which means that the descriptor table specified
a smaller buffer size than the programmed IDE transfer size.
But occassionaly i recieved the DMA interrupt.

Actually this driver works well on another board.On that board
whenever i reduced the buffer size in physical region descriptor table
to less than the current size in the PRDT table,i again got the same
error.

I think this confirms that whenever we give smaller size in PRDT than
the programmed IDE transfer size,status register shows ' 0 ' value.

Please tell me where in kernel that programmed IDE transfer size is
being set.The transfer size in PRDT on the other board(on which driver
shows no problem) varied from 4k to 1k ,which means it is changed
frequently.

shahzad

<Prev in Thread] Current Thread [Next in Thread>
  • Programmed ide transfer size, kernel coder <=