lkml.org 
[lkml]   [2008]   [Oct]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: how to limit number of sectors each time

>> I'm using IDE driver instead of HD driver.
>>
I dumped out IO registers and PRD table. Note that
maxinum allowed sector number has been decreased
from 256 to 32.

hdc: dma_timer_expiry: dma status == 0x21
========IDE Register DUmp========
DMA start sector: 0x007d5fb5
DMA sectors : 0x0020
Data Reg : 0x00
Error Reg : 0x00
Nsector Reg : 0x19
Sector Reg : 0xbc
LCYL Reg : 0x5f
HCYL Reg : 0x7d
Select Reg : 0xe0
Status Reg : 0x58
Control Reg : 0x58
IRQ Reg : 0x58
======Physical Region Descriptor=======
Base_PRD: 0x0189f000 Current_PRD: 0x0189f008 Entries:3
index=0 base=0x00204d1c lengh=0x00100000
index=1 base=0x00604c1c lengh=0x00200000
index=2 base=0x00304d1c lengh=0x00100080



\
 
 \ /
  Last update: 2008-10-16 08:31    [W:0.038 / U:0.252 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site