acpi_pci.h revision 1.3
11.3Sjruoho/* $NetBSD: acpi_pci.h,v 1.3 2010/03/05 08:30:48 jruoho Exp $ */ 21.1Scegger 31.1Scegger/* 41.1Scegger * Copyright (c) 2009 The NetBSD Foundation, Inc. 51.1Scegger * All rights reserved. 61.1Scegger * 71.1Scegger * This code is derived from software contributed to The NetBSD Foundation 81.1Scegger * by Christoph Egger. 91.1Scegger * 101.1Scegger * Redistribution and use in source and binary forms, with or without 111.1Scegger * modification, are permitted provided that the following conditions 121.1Scegger * are met: 131.1Scegger * 1. Redistributions of source code must retain the above copyright 141.1Scegger * notice, this list of conditions and the following disclaimer. 151.1Scegger * 2. The name of the author may not be used to endorse or promote products 161.1Scegger * derived from this software without specific prior written permission. 171.1Scegger * 181.1Scegger * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR 191.1Scegger * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES 201.1Scegger * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. 211.1Scegger * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, 221.1Scegger * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, 231.1Scegger * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 241.1Scegger * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED 251.1Scegger * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, 261.1Scegger * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 271.1Scegger * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 281.1Scegger * SUCH DAMAGE. 291.1Scegger */ 301.1Scegger 311.1Scegger#ifndef _SYS_DEV_ACPI_ACPI_PCI_H 321.1Scegger#define _SYS_DEV_ACPI_ACPI_PCI_H 331.1Scegger 341.3Sjruohoint acpi_pcidev_scan(struct acpi_softc *); 351.3SjruohoACPI_STATUS acpi_pcidev_find(u_int, u_int, u_int, u_int, ACPI_HANDLE *); 361.1Scegger 371.3Sjruoho#endif /* !_SYS_DEV_ACPI_ACPI_PCI_H */ 38