summaryrefslogtreecommitdiffstats
path: root/default.h
blob: 6345ae8c9ea6584fd58feafb7068e5a02ba2e879 (plain)
1
2
3
4
5
6
7
8
9
#ifndef _PCILIB_DEFAULT_H
#define _PCILIB_DEFAULT_H

#include "pci.h"

int pcilib_default_read(pcilib_t *ctx, pcilib_register_bank_description_t *bank, pcilib_register_addr_t addr, uint8_t bits, pcilib_register_value_t *value);
int pcilib_default_write(pcilib_t *ctx, pcilib_register_bank_description_t *bank, pcilib_register_addr_t addr, uint8_t bits, pcilib_register_value_t value);

#endif /* _PCILIB_DEFAULT_H */