pciconfig_read(2) System Calls Manual pciconfig_read(2) pciconfig_read, pciconfig_write, pciconfig_iobase - PCI C (libc, -lc) #include int pciconfig_read(unsigned long bus, unsigned long dfn, unsigned long off, unsigned long size, unsigned char *buf); int pciconfig_write(unsigned long bus, unsigned long dfn, unsigned long off, unsigned long size, unsigned char *buf); int pciconfig_iobase(int which, unsigned long bus, unsigned long devfn); PCI, , PCI, , , . pciconfig_read() buf dev off. pciconfig_write() buf dev off. pciconfig_iobase() /_ ( prep, 0xc0000000), - PIO, (holes) ISA, . pciconfig_read() . -1, errno . pciconfig_write() . -1, errno . pciconfig_iobase() - which. which : IOBASE_BRIDGE_NUMBER, IOBASE_MEMORY, IOBASE_IO, IOBASE_ISA_IO, IOBASE_ISA_MEM. EINVAL size value is invalid. This does not apply to pciconfig_iobase(). EIO -. ENODEV pciconfig_iobase() << (hose)>> NULL. . ENOSYS ( CONFIG_PCI). EOPNOTSUPP pciconfig_iobase(). , which. EPERM CAP_SYS_ADMIN. pciconfig_iobase(). Linux. Linux 2.0.26/2.1.11. capabilities(7) () Alexey, Azamat Hackimov , kogamatranslator49 , Darima Kogan , Max Is , Yuri Kozlov , Kirill Rekhov ; GNU (GNU General Public License - GPL, 3 ) , - . - , , () () () <>. Linux 6.15 17 2025 . pciconfig_read(2)