2 * PCIEHPRM NONACPI: PHP Resource Manager for Non-ACPI/Legacy platform
4 * Copyright (C) 1995,2001 Compaq Computer Corporation
5 * Copyright (C) 2001 Greg Kroah-Hartman (greg@kroah.com)
6 * Copyright (C) 2001 IBM Corp.
7 * Copyright (C) 2003-2004 Intel Corporation
11 * This program is free software; you can redistribute it and/or modify
12 * it under the terms of the GNU General Public License as published by
13 * the Free Software Foundation; either version 2 of the License, or (at
14 * your option) any later version.
16 * This program is distributed in the hope that it will be useful, but
17 * WITHOUT ANY WARRANTY; without even the implied warranty of
18 * MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE, GOOD TITLE or
19 * NON INFRINGEMENT. See the GNU General Public License for more
22 * You should have received a copy of the GNU General Public License
23 * along with this program; if not, write to the Free Software
24 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
26 * Send feedback to <greg@kroah.com>, <dely.l.sy@intel.com>
30 #ifndef _PCIEHPRM_NONACPI_H_
31 #define _PCIEHPRM_NONACPI_H_
34 u8 bus
, devfn
; /* bus, device and function */
36 u8 link
; /* IRQ line ID, chipset dependent, 0=not routed */
37 u16 bitmap
; /* Available IRQs */
38 } __attribute__ ((packed
)) irq
[4];
39 u8 slot
; /* slot number, 0=onboard */
41 } __attribute__ ((packed
));
43 struct irq_routing_table
{
44 u32 signature
; /* PIRQ_SIGNATURE should be here */
45 u16 version
; /* PIRQ_VERSION */
46 u16 size
; /* Table size in bytes */
47 u8 rtr_bus
, rtr_devfn
; /* Where the interrupt router lies */
48 u16 exclusive_irqs
; /* IRQs devoted exclusively to PCI usage */
49 u16 rtr_vendor
, rtr_device
; /* Vendor and device ID of interrupt router */
50 u32 miniport_data
; /* Crap */
52 u8 checksum
; /* Modulo 256 checksum must give zero */
53 struct irq_info slots
[0];
54 } __attribute__ ((packed
));
56 #endif /* _PCIEHPRM_NONACPI_H_ */