summaryrefslogtreecommitdiffstats
path: root/sys/isa/isavar.h
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2000-03-13 10:19:32 +0000
committerphk <phk@FreeBSD.org>2000-03-13 10:19:32 +0000
commit8e89e2d03f02f781ce162589fb0704e91d884725 (patch)
treeeb66f0ed21705383ed2e06c5af45fa2f4b853b07 /sys/isa/isavar.h
parente435347f0c0b53e0efe099a854735af2a18d31cf (diff)
downloadFreeBSD-src-8e89e2d03f02f781ce162589fb0704e91d884725.zip
FreeBSD-src-8e89e2d03f02f781ce162589fb0704e91d884725.tar.gz
Stop isadma from abusing the B_READ, B_RAW and B_WRITE flags.
Define ISADMA_{READ,WRITE,RAW} macros with the same numeric values as the B_{READ,WRITE,RAW} and use them instead throughout.
Diffstat (limited to 'sys/isa/isavar.h')
-rw-r--r--sys/isa/isavar.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/isa/isavar.h b/sys/isa/isavar.h
index 34c81b4..d8d6f1d 100644
--- a/sys/isa/isavar.h
+++ b/sys/isa/isavar.h
@@ -54,6 +54,9 @@ typedef void isa_config_cb(void *arg, struct isa_config *config, int enable);
#define ISA_NIRQ 2
#define ISA_NDRQ 2
+#define ISADMA_READ 0x00100000
+#define ISADMA_WRITE 0
+#define ISADMA_RAW 0x00080000
/*
* Plug and play cards can support a range of resource
* configurations. This structure is used by the isapnp parser to
OpenPOWER on IntegriCloud