pciconfig_read(2) System Calls Manual pciconfig_read(2) pciconfig_read, pciconfig_write, pciconfig_iobase - PCI LIBRARY Standard C library (libc, -lc) #include int pciconfig_read(unsigned long bus, unsigned long dfn, unsigned long off, unsigned long len, unsigned char *buf); int pciconfig_write(unsigned long bus, unsigned long dfn, unsigned long off, unsigned long len, 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() On success, zero is returned. On error, -1 is returned and errno is set to indicate the error. pciconfig_write() On success, zero is returned. On error, -1 is returned and errno is set to indicate the error. pciconfig_iobase() - which. which : IOBASE_BRIDGE_NUMBER, IOBASE_MEMORY, IOBASE_IO, IOBASE_ISA_IO, IOBASE_ISA_MEM. EINVAL len. 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 , Kogan, Max Is , Yuri Kozlov ; GNU 3 , . . , , . Linux man-pages 6.06 31 2023 . pciconfig_read(2)