summaryrefslogtreecommitdiffstats
path: root/sys/dev/proto/proto.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/proto/proto.h')
-rw-r--r--sys/dev/proto/proto.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/sys/dev/proto/proto.h b/sys/dev/proto/proto.h
index db61da5..690d71f 100644
--- a/sys/dev/proto/proto.h
+++ b/sys/dev/proto/proto.h
@@ -33,11 +33,15 @@
#define PROTO_RES_UNUSED 0
#define PROTO_RES_PCICFG 10
+#define PROTO_RES_BUSDMA 11
struct proto_res {
int r_type;
int r_rid;
- struct resource *r_res;
+ union {
+ struct resource *res;
+ void *busdma;
+ } r_d;
u_long r_size;
union {
void *cookie;
OpenPOWER on IntegriCloud