xref: /aosp_15_r20/external/flashrom/include/platform/pci.h (revision 0d6140be3aa665ecc836e8907834fcd3e3b018fc)
1*0d6140beSAndroid Build Coastguard Worker /*
2*0d6140beSAndroid Build Coastguard Worker  * This file is part of the flashrom project.
3*0d6140beSAndroid Build Coastguard Worker  *
4*0d6140beSAndroid Build Coastguard Worker  * Copyright (C) 2022 secunet Security Networks AG
5*0d6140beSAndroid Build Coastguard Worker  * (written by Thomas Heijligen <[email protected])
6*0d6140beSAndroid Build Coastguard Worker  *
7*0d6140beSAndroid Build Coastguard Worker  * This program is free software; you can redistribute it and/or modify
8*0d6140beSAndroid Build Coastguard Worker  * it under the terms of the GNU General Public License as published by
9*0d6140beSAndroid Build Coastguard Worker  * the Free Software Foundation; either version 2 of the License, or
10*0d6140beSAndroid Build Coastguard Worker  * (at your option) any later version.
11*0d6140beSAndroid Build Coastguard Worker  *
12*0d6140beSAndroid Build Coastguard Worker  * This program is distributed in the hope that it will be useful,
13*0d6140beSAndroid Build Coastguard Worker  * but WITHOUT ANY WARRANTY; without even the implied warranty of
14*0d6140beSAndroid Build Coastguard Worker  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15*0d6140beSAndroid Build Coastguard Worker  * GNU General Public License for more details.
16*0d6140beSAndroid Build Coastguard Worker  */
17*0d6140beSAndroid Build Coastguard Worker 
18*0d6140beSAndroid Build Coastguard Worker #ifndef __PLATFORM_PCI_H__
19*0d6140beSAndroid Build Coastguard Worker #define __PLATFORM_PCI_H__
20*0d6140beSAndroid Build Coastguard Worker 
21*0d6140beSAndroid Build Coastguard Worker /* Some NetBSDs are using an other include path for pci.h
22*0d6140beSAndroid Build Coastguard Worker  * e.g. NetBSD 9.0 on sparc64 pciutils-3.7.0nb2.
23*0d6140beSAndroid Build Coastguard Worker  * Other NetBSD platforms and versions uses the default path under pci/pci.h
24*0d6140beSAndroid Build Coastguard Worker  */
25*0d6140beSAndroid Build Coastguard Worker #ifdef HAVE_PCIUTILS_PCI_H
26*0d6140beSAndroid Build Coastguard Worker #include <pciutils/pci.h>
27*0d6140beSAndroid Build Coastguard Worker #else
28*0d6140beSAndroid Build Coastguard Worker #include <pci/pci.h>
29*0d6140beSAndroid Build Coastguard Worker #endif /* HAVE_PCIUTILS_PCI_H */
30*0d6140beSAndroid Build Coastguard Worker 
31*0d6140beSAndroid Build Coastguard Worker #endif /* __PLATFORM_PCI_H__ */
32