1*fe5dbe47Sjmatthew /* $OpenBSD: octuctlvar.h,v 1.2 2017/07/25 11:01:28 jmatthew Exp $ */ 2494889e9Sjmatthew 3494889e9Sjmatthew /* 4494889e9Sjmatthew * Copyright (c) 2015 Jonathan Matthew <jmatthew@openbsd.org> 5494889e9Sjmatthew * 6494889e9Sjmatthew * Permission to use, copy, modify, and/or distribute this software for any 7494889e9Sjmatthew * purpose with or without fee is hereby granted, provided that the above 8494889e9Sjmatthew * copyright notice and this permission notice appear in all copies. 9494889e9Sjmatthew * 10494889e9Sjmatthew * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES 11494889e9Sjmatthew * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF 12494889e9Sjmatthew * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR 13494889e9Sjmatthew * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES 14494889e9Sjmatthew * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN 15494889e9Sjmatthew * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF 16494889e9Sjmatthew * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. 17494889e9Sjmatthew */ 18494889e9Sjmatthew 19494889e9Sjmatthew #ifndef _OCTUCTLVAR_H_ 20494889e9Sjmatthew #define _OCTUCTLVAR_H_ 21494889e9Sjmatthew 22494889e9Sjmatthew #include <machine/bus.h> 23*fe5dbe47Sjmatthew #include <dev/ofw/openfirm.h> 24*fe5dbe47Sjmatthew #include <dev/ofw/fdt.h> 25494889e9Sjmatthew 26494889e9Sjmatthew struct octuctl_attach_args { 27494889e9Sjmatthew bus_space_tag_t aa_octuctl_bust; 28494889e9Sjmatthew bus_space_tag_t aa_bust; 29494889e9Sjmatthew bus_dma_tag_t aa_dmat; 30494889e9Sjmatthew bus_space_handle_t aa_ioh; 31*fe5dbe47Sjmatthew int aa_node; 32*fe5dbe47Sjmatthew struct fdt_reg aa_reg; 33494889e9Sjmatthew }; 34494889e9Sjmatthew 35494889e9Sjmatthew #endif /* _OCTUCTLVAR_H_ */ 36