diff options
Diffstat (limited to 'src/include')
-rw-r--r-- | src/include/device/device.h | 1 | ||||
-rw-r--r-- | src/include/device/pci_type.h | 22 |
2 files changed, 23 insertions, 0 deletions
diff --git a/src/include/device/device.h b/src/include/device/device.h index c2f8ecefd7..5e539ea339 100644 --- a/src/include/device/device.h +++ b/src/include/device/device.h @@ -14,6 +14,7 @@ #include <rules.h> #include <device/resource.h> #include <device/path.h> +#include <device/pci_type.h> #include <arch/io.h> struct device; diff --git a/src/include/device/pci_type.h b/src/include/device/pci_type.h new file mode 100644 index 0000000000..2849ececa7 --- /dev/null +++ b/src/include/device/pci_type.h @@ -0,0 +1,22 @@ +/* + * This file is part of the coreboot project. + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; version 2 of the License. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + */ + +#ifndef DEVICE_PCI_TYPE_H +#define DEVICE_PCI_TYPE_H + +#include <stdint.h> + +typedef u32 pci_devfn_t; +typedef u32 pnp_devfn_t; + +#endif /* DEVICE_PCI_TYPE_H */ |