1102447Sjhb/*-
2102447Sjhb * Copyright (c) 2000 Michael Smith
3102447Sjhb * Copyright (c) 2000 BSDi
4102447Sjhb * All rights reserved.
5102447Sjhb *
6102447Sjhb * Redistribution and use in source and binary forms, with or without
7102447Sjhb * modification, are permitted provided that the following conditions
8102447Sjhb * are met:
9102447Sjhb * 1. Redistributions of source code must retain the above copyright
10102447Sjhb *    notice, this list of conditions and the following disclaimer.
11102447Sjhb * 2. Redistributions in binary form must reproduce the above copyright
12102447Sjhb *    notice, this list of conditions and the following disclaimer in the
13102447Sjhb *    documentation and/or other materials provided with the distribution.
14102447Sjhb *
15102447Sjhb * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
16102447Sjhb * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
17102447Sjhb * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
18102447Sjhb * ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
19102447Sjhb * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
20102447Sjhb * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
21102447Sjhb * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
22102447Sjhb * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
23102447Sjhb * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
24102447Sjhb * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
25102447Sjhb * SUCH DAMAGE.
26102447Sjhb *
27102447Sjhb * $FreeBSD$
28102447Sjhb */
29102447Sjhb
30102447Sjhb#ifndef	_ACPI_PCIBVAR_H_
31102447Sjhb#define	_ACPI_PCIBVAR_H_
32102447Sjhb
33142753Snjl#ifdef _KERNEL
34210864Sjhb
35138035Sjhbvoid	acpi_pci_link_add_reference(device_t dev, int index, device_t pcib,
36138035Sjhb    int slot, int pin);
37138035Sjhbint	acpi_pci_link_route_interrupt(device_t dev, int index);
38298711Sjhbvoid	acpi_pcib_fetch_prt(device_t bus, ACPI_BUFFER *prt);
39299286Sjhbint	acpi_pcib_get_cpus(device_t pcib, device_t dev, enum cpu_sets op,
40299286Sjhb    size_t setsize, cpuset_t *cpuset);
41138033Sjhbint	acpi_pcib_route_interrupt(device_t pcib, device_t dev, int pin,
42138033Sjhb    ACPI_BUFFER *prtbuf);
43211430Sjhbint	acpi_pcib_power_for_sleep(device_t pcib, device_t dev,
44211430Sjhb    int *pstate);
45210864Sjhb
46142753Snjl#endif /* _KERNEL */
47102447Sjhb
48142753Snjl#endif /* !_ACPI_PCIBVAR_H_ */
49