summaryrefslogtreecommitdiff
path: root/sys/src/9/pc/sdide.c
diff options
context:
space:
mode:
authorcinap_lenrek <cinap_lenrek@felloff.net>2020-12-05 17:01:24 +0100
committercinap_lenrek <cinap_lenrek@felloff.net>2020-12-05 17:01:24 +0100
commitabcc56afef59bfc98cff48c800735746ff04e486 (patch)
treef402a415f667f77d30039ad80d39602295e03cbf /sys/src/9/pc/sdide.c
parent178a9d12c6ead437a85490764e9a5d92e1016d5d (diff)
pc/dma, pc/sdide: use uintptr for physical address instead of ulong
Diffstat (limited to 'sys/src/9/pc/sdide.c')
-rw-r--r--sys/src/9/pc/sdide.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/src/9/pc/sdide.c b/sys/src/9/pc/sdide.c
index a7626726a..d13f47521 100644
--- a/sys/src/9/pc/sdide.c
+++ b/sys/src/9/pc/sdide.c
@@ -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);