diff options
author | Eric Biederman <ebiederm@xmission.com> | 2003-04-24 06:25:08 +0000 |
---|---|---|
committer | Eric Biederman <ebiederm@xmission.com> | 2003-04-24 06:25:08 +0000 |
commit | 5899fd82aa2f5c3855eb6630f702f3239b6b7015 (patch) | |
tree | e699faf63cd467933b0134f591291e702cf55c3b /src/include/device/pci_ops.h | |
parent | 8ca8d7665d671e10d72b8fcb4d69121d75f7906e (diff) | |
download | coreboot-5899fd82aa2f5c3855eb6630f702f3239b6b7015.tar.xz |
- Small step forward Linux boots and almost works...
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@795 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/include/device/pci_ops.h')
-rw-r--r-- | src/include/device/pci_ops.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/src/include/device/pci_ops.h b/src/include/device/pci_ops.h new file mode 100644 index 0000000000..a789b23cd8 --- /dev/null +++ b/src/include/device/pci_ops.h @@ -0,0 +1,15 @@ +#ifndef PCI_OPS_H +#define PCI_OPS_H + +#include <stdint.h> +struct device; + +int pci_read_config_byte(struct device *dev, uint8_t where, uint8_t *val); +int pci_read_config_word(struct device *dev, uint8_t where, uint16_t *val); +int pci_read_config_dword(struct device *dev, uint8_t where, uint32_t *val); +int pci_write_config_byte(struct device *dev, uint8_t where, uint8_t val); +int pci_write_config_word(struct device *dev, uint8_t where, uint16_t val); +int pci_write_config_dword(struct device *dev, uint8_t where, uint32_t val); +void pci_set_method(void); + +#endif /* PCI_OPS_H */ |