12ccfc932SJohn Baldwin /*- 22ccfc932SJohn Baldwin * Copyright (c) 2000 Michael Smith 32ccfc932SJohn Baldwin * Copyright (c) 2000 BSDi 42ccfc932SJohn Baldwin * All rights reserved. 52ccfc932SJohn Baldwin * 62ccfc932SJohn Baldwin * Redistribution and use in source and binary forms, with or without 72ccfc932SJohn Baldwin * modification, are permitted provided that the following conditions 82ccfc932SJohn Baldwin * are met: 92ccfc932SJohn Baldwin * 1. Redistributions of source code must retain the above copyright 102ccfc932SJohn Baldwin * notice, this list of conditions and the following disclaimer. 112ccfc932SJohn Baldwin * 2. Redistributions in binary form must reproduce the above copyright 122ccfc932SJohn Baldwin * notice, this list of conditions and the following disclaimer in the 132ccfc932SJohn Baldwin * documentation and/or other materials provided with the distribution. 142ccfc932SJohn Baldwin * 152ccfc932SJohn Baldwin * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND 162ccfc932SJohn Baldwin * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 172ccfc932SJohn Baldwin * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 182ccfc932SJohn Baldwin * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE 192ccfc932SJohn Baldwin * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 202ccfc932SJohn Baldwin * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 212ccfc932SJohn Baldwin * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 222ccfc932SJohn Baldwin * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 232ccfc932SJohn Baldwin * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 242ccfc932SJohn Baldwin * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 252ccfc932SJohn Baldwin * SUCH DAMAGE. 262ccfc932SJohn Baldwin * 272ccfc932SJohn Baldwin * $FreeBSD$ 282ccfc932SJohn Baldwin */ 292ccfc932SJohn Baldwin 302ccfc932SJohn Baldwin #ifndef _ACPI_PCIBVAR_H_ 312ccfc932SJohn Baldwin #define _ACPI_PCIBVAR_H_ 322ccfc932SJohn Baldwin 33a885159fSNate Lawson #ifdef _KERNEL 34*7d23a9b3SJohn Baldwin 352dacd5d4SJohn Baldwin void acpi_pci_link_add_reference(device_t dev, int index, device_t pcib, 362dacd5d4SJohn Baldwin int slot, int pin); 372dacd5d4SJohn Baldwin int acpi_pci_link_route_interrupt(device_t dev, int index); 382ccfc932SJohn Baldwin int acpi_pcib_attach(device_t bus, ACPI_BUFFER *prt, int busno); 395e1ba6d4SJohn Baldwin int acpi_pcib_route_interrupt(device_t pcib, device_t dev, int pin, 405e1ba6d4SJohn Baldwin ACPI_BUFFER *prtbuf); 41*7d23a9b3SJohn Baldwin 42a885159fSNate Lawson #endif /* _KERNEL */ 43e4116e93SNate Lawson 44a885159fSNate Lawson #endif /* !_ACPI_PCIBVAR_H_ */ 45