1*ce099b40Smartin /* $NetBSD: cpc700var.h,v 1.2 2008/04/28 20:23:49 martin Exp $ */ 254bb400aSaugustss 354bb400aSaugustss /* 454bb400aSaugustss * Copyright (c) 2002 The NetBSD Foundation, Inc. 554bb400aSaugustss * All rights reserved. 654bb400aSaugustss * 754bb400aSaugustss * This code is derived from software contributed to The NetBSD Foundation 854bb400aSaugustss * by Lennart Augustsson (lennart@augustsson.net) at Sandburst Corp. 954bb400aSaugustss * 1054bb400aSaugustss * Redistribution and use in source and binary forms, with or without 1154bb400aSaugustss * modification, are permitted provided that the following conditions 1254bb400aSaugustss * are met: 1354bb400aSaugustss * 1. Redistributions of source code must retain the above copyright 1454bb400aSaugustss * notice, this list of conditions and the following disclaimer. 1554bb400aSaugustss * 2. Redistributions in binary form must reproduce the above copyright 1654bb400aSaugustss * notice, this list of conditions and the following disclaimer in the 1754bb400aSaugustss * documentation and/or other materials provided with the distribution. 1854bb400aSaugustss * 1954bb400aSaugustss * THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS 2054bb400aSaugustss * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED 2154bb400aSaugustss * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR 2254bb400aSaugustss * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS 2354bb400aSaugustss * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 2454bb400aSaugustss * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 2554bb400aSaugustss * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 2654bb400aSaugustss * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 2754bb400aSaugustss * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 2854bb400aSaugustss * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 2954bb400aSaugustss * POSSIBILITY OF SUCH DAMAGE. 3054bb400aSaugustss */ 3154bb400aSaugustss 3254bb400aSaugustss struct cpcbus_attach_args { 3354bb400aSaugustss const char *cpca_name; 3454bb400aSaugustss bus_addr_t cpca_addr; 3554bb400aSaugustss int cpca_irq; 3654bb400aSaugustss uint cpca_freq; 3754bb400aSaugustss bus_space_tag_t cpca_tag; 3854bb400aSaugustss bus_dma_tag_t cpca_dmatag; 3954bb400aSaugustss }; 40