diff options
author | Sylvestre Gallon <syl@cvs.openbsd.org> | 2013-10-10 19:40:04 +0000 |
---|---|---|
committer | Sylvestre Gallon <syl@cvs.openbsd.org> | 2013-10-10 19:40:04 +0000 |
commit | b3417be03bff3f3943d8bbb9f2927e7adae21514 (patch) | |
tree | 4065eb3fa0f9d1dbed6bfadcc1a8fbf96b30a2e1 /sys/arch/armv7/omap/omapvar.h | |
parent | cd55e906a019edcf75e2baca6567e56f1038a5a4 (diff) |
Add edma driver. This driver add support for am335x edma3 controller.
With some more work, it will allow us to speed-up ommmc driver.
ok patrick@.
Diffstat (limited to 'sys/arch/armv7/omap/omapvar.h')
-rw-r--r-- | sys/arch/armv7/omap/omapvar.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/arch/armv7/omap/omapvar.h b/sys/arch/armv7/omap/omapvar.h index b2a2e565f5e..5c891ac23a7 100644 --- a/sys/arch/armv7/omap/omapvar.h +++ b/sys/arch/armv7/omap/omapvar.h @@ -1,4 +1,4 @@ -/* $OpenBSD: omapvar.h,v 1.1 2013/09/04 14:38:31 patrick Exp $ */ +/* $OpenBSD: omapvar.h,v 1.2 2013/10/10 19:40:02 syl Exp $ */ /* * Copyright (c) 2005,2008 Dale Rahn <drahn@drahn.com> * @@ -23,6 +23,7 @@ struct omap_mem { #define OMAP_DEV_NMEM 4 /* number of memory ranges */ #define OMAP_DEV_NIRQ 4 /* number of IRQs per device */ +#define OMAP_DEV_NDMA 4 /* number of DMA channels per device */ /* Descriptor for all on-chip devices. */ struct omap_dev { @@ -30,6 +31,7 @@ struct omap_dev { int unit; /* driver instance number or -1 */ struct omap_mem mem[OMAP_DEV_NMEM]; /* memory ranges */ int irq[OMAP_DEV_NIRQ]; /* IRQ number(s) */ + int dma[OMAP_DEV_NDMA]; /* DMA chan number(s) */ }; /* Passed as third arg to attach functions. */ |