Rev 2 |
Blame |
Compare with Previous |
Last modification |
View Log
| RSS feed
#include <ll/i386/hw-data.h>
#include <drivers/llpci.h>
#include <drivers/linuxpci.h>
int pci_read_config_byte(struct pci_dev *dev, BYTE where, BYTE *val)
{
return pcibios_read_config_byte(dev->bus->number, dev->devfn, where, val);
}
int pci_read_config_word(struct pci_dev *dev, BYTE where, WORD *val)
{
return pcibios_read_config_word(dev->bus->number, dev->devfn, where, val);
}
int pci_read_config_dword(struct pci_dev *dev, BYTE where, DWORD *val)
{
return pcibios_read_config_dword(dev->bus->number, dev->devfn, where, val);
}
int pci_write_config_byte(struct pci_dev *dev, BYTE where, BYTE val)
{
return pcibios_write_config_byte(dev->bus->number, dev->devfn, where, val);
}
int pci_write_config_word(struct pci_dev *dev, BYTE where, WORD val)
{
return pcibios_write_config_word(dev->bus->number, dev->devfn, where, val);
}
int pci_write_config_dword(struct pci_dev *dev, BYTE where, DWORD val)
{
return pcibios_write_config_dword(dev->bus->number, dev->devfn, where, val);
}