acpi_pci.h revision 1.6
11.6Sjruoho/* $NetBSD: acpi_pci.h,v 1.6 2010/04/23 15:46:59 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.6SjruohoACPI_STATUS acpi_pcidev_scan(struct acpi_devnode *); 351.6Sjruohostruct acpi_devnode *acpi_pcidev_find(uint16_t, uint16_t, 361.6Sjruoho uint16_t, uint16_t); 371.6SjruohoACPI_STATUS acpi_pcidev_ppb_downbus(uint16_t, uint16_t, uint16_t, 381.6Sjruoho uint16_t, uint16_t *); 391.1Scegger 401.3Sjruoho#endif /* !_SYS_DEV_ACPI_ACPI_PCI_H */ 41