Remove second pciToDma translation on current PRD address pointer b/c
second translation (which is superfluous) doesn't work properly when system memory is higher than 128MB --HG-- extra : convert_revision : 9cdf6925689d376953b1aa071bcd1e2f06419202
This commit is contained in:
parent
539da68156
commit
4f4252fa89
1 changed files with 2 additions and 2 deletions
|
@ -341,8 +341,8 @@ IdeDisk::dmaPrdReadDone()
|
|||
curPrd.getByteCount(), (cmdBytesLeft/SectorSize),
|
||||
curPrd.getEOT(), curSector);
|
||||
|
||||
// make sure the new curPrdAddr is properly translated from PCI to system
|
||||
curPrdAddr = pciToDma(curPrdAddr + sizeof(PrdEntry_t));
|
||||
// the prd pointer has already been translated, so just do an increment
|
||||
curPrdAddr = curPrdAddr + sizeof(PrdEntry_t);
|
||||
|
||||
if (dmaRead)
|
||||
doDmaRead();
|
||||
|
|
Loading…
Reference in a new issue