From 433b5407122ff2007cfcda12ab364b0ec65cc2f2 Mon Sep 17 00:00:00 2001 From: marcel Date: Wed, 10 Jun 2015 22:33:56 +0000 Subject: Load the allocated memory and return both the physical address and the bus address to the application. --- sys/dev/proto/proto_dev.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'sys/dev/proto/proto_dev.h') diff --git a/sys/dev/proto/proto_dev.h b/sys/dev/proto/proto_dev.h index 0050f0b..88a61a7 100644 --- a/sys/dev/proto/proto_dev.h +++ b/sys/dev/proto/proto_dev.h @@ -62,8 +62,10 @@ struct proto_ioc_busdma { struct { unsigned long tag; unsigned int flags; - unsigned int nsegs; - unsigned long physaddr; + unsigned int phys_nsegs; + unsigned long phys_addr; + unsigned long bus_addr; + unsigned int bus_nsegs; } mem; } u; unsigned long result; -- cgit v1.1