10 #include <linux/errno.h>
11 #include <linux/pci.h>
13 #include <asm/uaccess.h>
17 unsigned long, off,
unsigned long, len,
void __user *,
buf)
36 cfg_ret = pci_user_read_config_byte(dev, off, &byte);
39 cfg_ret = pci_user_read_config_word(dev, off, &word);
42 cfg_ret = pci_user_read_config_dword(dev, off, &dword);
87 unsigned long, off,
unsigned long, len,
void __user *,
buf)
107 err = pci_user_write_config_byte(dev, off, byte);
116 err = pci_user_write_config_word(dev, off, word);
125 err = pci_user_write_config_dword(dev, off, dword);