blob: a789b23cd8709fc9809900ee4421a214e24a9e03 [file] [log] [blame]
Eric Biederman5899fd82003-04-24 06:25:08 +00001#ifndef PCI_OPS_H
2#define PCI_OPS_H
3
4#include <stdint.h>
5struct device;
6
7int pci_read_config_byte(struct device *dev, uint8_t where, uint8_t *val);
8int pci_read_config_word(struct device *dev, uint8_t where, uint16_t *val);
9int pci_read_config_dword(struct device *dev, uint8_t where, uint32_t *val);
10int pci_write_config_byte(struct device *dev, uint8_t where, uint8_t val);
11int pci_write_config_word(struct device *dev, uint8_t where, uint16_t val);
12int pci_write_config_dword(struct device *dev, uint8_t where, uint32_t val);
13void pci_set_method(void);
14
15#endif /* PCI_OPS_H */