pc/dma, pc/sdide: use uintptr for physical address instead of ulong
This commit is contained in:
parent
178a9d12c6
commit
abcc56afef
2 changed files with 3 additions and 3 deletions
|
@ -183,7 +183,7 @@ long
|
|||
dmasetup(int chan, void *va, long len, int flags)
|
||||
{
|
||||
DMA *dp;
|
||||
ulong pa;
|
||||
uintptr pa;
|
||||
uchar mode;
|
||||
DMAxfer *xp;
|
||||
|
||||
|
|
|
@ -909,9 +909,9 @@ static int
|
|||
atadmasetup(Drive* drive, int len)
|
||||
{
|
||||
Prd *prd;
|
||||
ulong pa;
|
||||
Ctlr *ctlr;
|
||||
int bmiba, bmisx, count, i, span;
|
||||
uintptr pa, span;
|
||||
int bmiba, bmisx, count, i;
|
||||
|
||||
ctlr = drive->ctlr;
|
||||
pa = PCIWADDR(drive->data);
|
||||
|
|
Loading…
Reference in a new issue