167754Smsmith/* $NetBSD: hollywood.h,v 1.2 2024/01/23 21:56:07 jmcneill Exp $ */ 267754Smsmith 377424Smsmith/*- 467754Smsmith * Copyright (c) 2024 Jared McNeill <jmcneill@invisible.ca> 567754Smsmith * All rights reserved. 667754Smsmith * 7217365Sjkim * Redistribution and use in source and binary forms, with or without 8281075Sdim * modification, are permitted provided that the following conditions 970243Smsmith * are met: 1067754Smsmith * 1. Redistributions of source code must retain the above copyright 11217365Sjkim * notice, this list of conditions and the following disclaimer. 12217365Sjkim * 2. Redistributions in binary form must reproduce the above copyright 13217365Sjkim * notice, this list of conditions and the following disclaimer in the 14217365Sjkim * documentation and/or other materials provided with the distribution. 15217365Sjkim * 16217365Sjkim * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR 17217365Sjkim * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES 18217365Sjkim * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. 19217365Sjkim * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, 20217365Sjkim * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, 21217365Sjkim * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 22217365Sjkim * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED 23217365Sjkim * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, 24217365Sjkim * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 2567754Smsmith * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 26217365Sjkim * SUCH DAMAGE. 27217365Sjkim */ 28217365Sjkim 2967754Smsmith#ifndef _WII_DEV_HOLLYWOOD_H_ 30217365Sjkim#define _WII_DEV_HOLLYWOOD_H_ 31217365Sjkim 32217365Sjkimstruct hollywood_attach_args { 33217365Sjkim u_long haa_addr; 34217365Sjkim int haa_irq; 35217365Sjkim bus_space_tag_t haa_bst; 36217365Sjkim bus_dma_tag_t haa_dmat; 37217365Sjkim}; 38217365Sjkim 39217365Sjkimvoid *hollywood_intr_establish(int, int, int (*)(void *), void *, const char *); 40217365Sjkim 41217365Sjkim#endif /* _WII_DEV_HOLLYWOOD_H_ */ 42217365Sjkim