---
name: "pci"
section: "4"
platform: "openbsd"
package: "man"
version: "8.0-current-20261101"
release: "OpenBSD 8.0-current (2026-11-01)"
platforms: ["linux", "freebsd", "openbsd"]
url: "https://carta.tech/man/pci"
---

# pci(4)

introduction to PCI bus support

## NAME

**pci** – introduction to PCI bus support

## SYNOPSIS

**# alpha** **pci\* at apecs?** **pci\* at cia?** **pci\* at irongate?** **pci\* at lca?** **pci\* at tsp?** **pci\* at mcpcia?**

**# amd64, i386** **pci\* at mainbus0**

**# arm64** **pci\* at acpipci?** **pci\* at bcmpcie?** **pci\* at dwpcie?** **pci\* at mvkpcie?** **pci\* at pciecam?** **pci\* at rkpcie?**

**# armv7** **pci\* at mvpcie?** **pci\* at pciecam?**

**# hppa** **pci\* at dino?** **pci\* at elroy?**

**# landisk** **pci\* at shpcic?**

**# loongson** **pci\* at bonito?** **pci\* at htb?**

**# macppc** **pci\* at mpcpcibr?** **pci\* at ht?** **pci\* at hpb?**

**# octeon** **pci\* at octpcie?**

**# riscv64** **pci\* at dwpcie?** **pci\* at pciecam?**

**# sparc64** **pci\* at psycho?** **pci\* at schizo?** **pci\* at pyro?** **pci\* at vpci?**

**# all architectures** **pci\* at pchb?** **pci\* at ppb?**

## DESCRIPTION

The system includes a machine-independent PCI bus subsystem and several machine-independent PCI device drivers.

Note that interrupt mappings on the i386 may require that you configure your BIOS to reserve sufficient interrupts as "PCI/ISAPnP" so that there are sufficient interrupts remaining to configure the discovered PCI devices. For more information, see [pcibios(4)](/man/pcibios/4.md).

OpenBSD provides support for the following devices. Note that not all architectures support all devices.

### SCSI host adapters

- [adv(4)](/man/adv/4.md), [adw(4)](/man/adw/4.md)

  AdvanSys PCI SCSI interface

- [ahc(4)](/man/ahc/4.md)

  Adaptec VL/EISA/PCI SCSI interface

- [ahd(4)](/man/ahd/4.md)

  Adaptec PCI/PCI-X AIC79xx-based Ultra320 SCSI interface

- [iha(4)](/man/iha/4.md)

  Initio INIC-940/950 based PCI SCSI interface

- [mpi(4)](/man/mpi/4.md)

  LSI Logic Fusion-MPT Message Passing Interface

- [mpii(4)](/man/mpii/4.md)

  LSI Logic Fusion-MPT Message Passing Interface II

- [nvme(4)](/man/nvme/4.md)

  Non-Volatile Memory Host Controller Interface

- [pcscp(4)](/man/pcscp/4.md)

  Advanced Micro Devices Am53c974 PCscsi-PCI SCSI interface

- [qla(4)](/man/qla/4.md)

  QLogic ISP2100/2200/2300 Fibre Channel controller

- [qle(4)](/man/qle/4.md)

  QLogic ISP2400/2500 Fibre Channel controller

- [qlw(4)](/man/qlw/4.md)

  QLogic ISP1000/1020/1x40/1x80/1x160 SCSI controller

- [siop(4)](/man/siop/4.md)

  LSI/Symbios Logic/NCR 53c8xx SCSI interface

- [trm(4)](/man/trm/4.md)

  TRM-S1040 based PCI SCSI interface

- [ufshci(4)](/man/ufshci/4.md)

  Universal Flash Storage Host Controller Interface

- [vmwpvs(4)](/man/vmwpvs/4.md)

  VMware Paravirtual SCSI

### IDE disk controllers

- [ahci(4)](/man/ahci/4.md)

  Advanced Host Controller Interface for Serial ATA

- [jmb(4)](/man/jmb/4.md)

  JMicron JMB36x SATA II and PATA Host Controller

- [kauaiata(4)](/man/kauaiata/4.md)

  ATA100 HD controller on PCI bus

- [pciide(4)](/man/pciide/4.md)

  PCI IDE controller driver

- [sili(4)](/man/sili/4.md)

  Silicon Image 3124/3132/3531 SATA controller

### RAID and cache controllers

- [aac(4)](/man/aac/4.md)

  Adaptec SAS/SATA/SCSI RAID controller

- [ami(4)](/man/ami/4.md)

  American Megatrends Inc. MegaRAID PATA/SATA/SCSI RAID controller

- [arc(4)](/man/arc/4.md)

  Areca Technology Corporation SAS/SATA RAID controller

- [cac(4)](/man/cac/4.md)

  Compaq Smart Array 2/3/4 SCSI RAID controller

- [ciss(4)](/man/ciss/4.md)

  Compaq Smart Array SAS/SATA/SCSI RAID controller

- [gdt(4)](/man/gdt/4.md)

  ICP-Vortex and Intel GDT SATA/SCSI RAID controller

- [ips(4)](/man/ips/4.md)

  IBM SATA/SCSI ServeRAID controller

- [mfi(4)](/man/mfi/4.md)

  LSI Logic & Dell MegaRAID SAS RAID controller

- [mfii(4)](/man/mfii/4.md)

  LSI Logic MegaRAID SAS Fusion RAID controller

- [twe(4)](/man/twe/4.md)

  3ware 5000/6000/7000/8000 series PATA/SATA RAID controller

### Wired network interfaces

- [age(4)](/man/age/4.md)

  Attansic L1 10/100/1Gb Ethernet device

- [alc(4)](/man/alc/4.md)

  Atheros AR813x/AR815x/AR816x/AR817x 10/100/1Gb Ethernet device

- [ale(4)](/man/ale/4.md)

  Atheros AR8121/AR8113/AR8114 10/100/1Gb Ethernet device

- [aq(4)](/man/aq/4.md)

  Aquantia AQC1xx 1Gb/2.5Gb/5Gb/10Gb PCIe Ethernet device

- [bce(4)](/man/bce/4.md)

  Broadcom BCM4401 10/100 Ethernet device

- [bge(4)](/man/bge/4.md)

  Broadcom BCM57xx/BCM590x 10/100/1Gb Ethernet device

- [bnx(4)](/man/bnx/4.md)

  Broadcom NetXtreme II 10/100/1Gb Ethernet device

- [bnxt(4)](/man/bnxt/4.md)

  Broadcom NetXtreme-C/E 10Gb/25Gb/40Gb/50Gb Ethernet device

- [cas(4)](/man/cas/4.md)

  Sun Cassini 10/100/1Gb Ethernet device

- [dc(4)](/man/dc/4.md)

  DEC/Intel 21140/21142/21143/21145 and clones 10/100 Ethernet device

- [de(4)](/man/de/4.md)

  DEC DC21x4x (Tulip) 10/100 Ethernet device

- [dwqe(4)](/man/dwqe/4.md)

  Synopsys DesignWare Ethernet Quality-of-Service Controller

- [em(4)](/man/em/4.md)

  Intel PRO/1000 10/100/1Gb Ethernet device

- [ep(4)](/man/ep/4.md)

  3Com EtherLink III and Fast EtherLink III 10/100 Ethernet device

- [epic(4)](/man/epic/4.md)

  SMC 83C170 (EPIC/100) 10/100 Ethernet device

- [et(4)](/man/et/4.md)

  Agere/LSI ET1310 10/100/1Gb Ethernet device

- [fxp(4)](/man/fxp/4.md)

  Intel EtherExpress PRO/100 10/100 Ethernet device

- [gem(4)](/man/gem/4.md)

  GEM 10/100/1Gb Ethernet device

- [hme(4)](/man/hme/4.md)

  Sun Happy Meal 10/100 Ethernet device

- [iavf(4)](/man/iavf/4.md)

  Intel Ethernet adaptive virtual function device

- [ice(4)](/man/ice/4.md)

  Intel Ethernet 800 series PCI Express 1Gb/10Gb/25Gb/50Gb/100Gb Ethernet device

- [igc(4)](/man/igc/4.md)

  Intel I225/I226 1Gb/2.5Gb Ethernet device

- [ix(4)](/man/ix/4.md)

  Intel 82598/82599/X540/X550 PCI Express 100/1Gb/10Gb Ethernet device

- [ixgb(4)](/man/ixgb/4.md)

  Intel PRO/10GbE 10Gb Ethernet device

- [ixl(4)](/man/ixl/4.md)

  Intel Ethernet 700 series Ethernet device

- [ixv(4)](/man/ixv/4.md)

  Intel 10Gb Ethernet virtual function device

- [jme(4)](/man/jme/4.md)

  JMicron JMC25x/JMC26x 10/100/1Gb Ethernet device

- [lge(4)](/man/lge/4.md)

  Level 1 LXT1001 NetCellerator PCI 1Gb Ethernet device

- [lii(4)](/man/lii/4.md)

  Attansic L2 10/100 Ethernet device

- [mcx(4)](/man/mcx/4.md)

  Mellanox 5th generation Ethernet device

- [msk(4)](/man/msk/4.md)

  Marvell Yukon-2 10/100/1Gb Ethernet device

- [mtd(4)](/man/mtd/4.md)

  Myson Technology MTD800/MTD803/MTD891 10/100/1Gb Ethernet device

- [myx(4)](/man/myx/4.md)

  Myricom Myri-10G PCI Express 10Gb Ethernet device

- [ne(4)](/man/ne/4.md)

  NE2000 and compatible 10/100 Ethernet device

- [nep(4)](/man/nep/4.md)

  Sun Neptune 10Gb Ethernet device

- [nfe(4)](/man/nfe/4.md)

  NVIDIA nForce MCP 10/100/1Gb Ethernet device

- [ngbe(4)](/man/ngbe/4.md)

  WangXun WX1860 PCI Express 10/100/1Gb Ethernet device

- [nge(4)](/man/nge/4.md)

  National Semiconductor PCI 10/100/1Gb Ethernet device

- [oce(4)](/man/oce/4.md)

  Emulex OneConnect 10Gb Ethernet device

- [pcn(4)](/man/pcn/4.md)

  AMD PCnet-PCI 10/100 Ethernet device

- [re(4)](/man/re/4.md)

  Realtek 8139C+/8169/816xS/811xS/8168/810xE 10/100/1Gb Ethernet device

- [rge(4)](/man/rge/4.md)

  Realtek 8125/8126/8127 PCI Express 10/100/1Gb/2.5Gb/5Gb/10Gb Ethernet device

- [rl(4)](/man/rl/4.md)

  Realtek 8129/8139 10/100 Ethernet device

- [se(4)](/man/se/4.md)

  SiS 190/191 10/100/1Gb Ethernet device

- [sf(4)](/man/sf/4.md)

  Adaptec AIC-6915 "Starfire" PCI 10/100 Ethernet device

- [sis(4)](/man/sis/4.md)

  SiS 900, SiS 7016, and NS DP83815/6 10/100 Ethernet device

- [sk(4)](/man/sk/4.md)

  SysKonnect XMAC II and Marvell Yukon 10/100/1Gb Ethernet device

- [ste(4)](/man/ste/4.md)

  Sundance Technologies ST201 10/100 Ethernet device

- [stge(4)](/man/stge/4.md)

  Sundance/Tamarack TC9021 1Gb Ethernet device

- [tht(4)](/man/tht/4.md)

  Tehuti Networks 10Gb Ethernet device

- [ti(4)](/man/ti/4.md)

  Alteon Networks Tigon I and II 1Gb Ethernet device

- [tl(4)](/man/tl/4.md)

  Texas Instruments ThunderLAN 10/100 Ethernet device

- [txp(4)](/man/txp/4.md)

  3Com 3XP Typhoon/Sidewinder (3CR990) 10/100 Ethernet device

- [vge(4)](/man/vge/4.md)

  VIA Velocity 10/100/1Gb Ethernet device

- [vic(4)](/man/vic/4.md)

  VMware VMXnet Virtual Interface Controller device

- [vmx(4)](/man/vmx/4.md)

  VMware VMXNET3 Virtual Interface Controller device

- [vr(4)](/man/vr/4.md)

  VIA Rhine I/II/III 10/100 Ethernet device

- [vte(4)](/man/vte/4.md)

  RDC R6040 10/100 Ethernet device

- [wb(4)](/man/wb/4.md)

  Winbond W89C840F 10/100 Ethernet device

- [xge(4)](/man/xge/4.md)

  Neterion Xframe/Xframe II 10Gb Ethernet device

- [xl(4)](/man/xl/4.md)

  3Com EtherLink XL and Fast EtherLink XL 10/100 Ethernet device

### Wireless network interfaces

- [acx(4)](/man/acx/4.md)

  TI ACX100/ACX111 IEEE 802.11a/b/g wireless network device

- [an(4)](/man/an/4.md)

  Aironet Communications 4500/4800 IEEE 802.11FH/b wireless network device

- [ath(4)](/man/ath/4.md)

  Atheros IEEE 802.11a/b/g wireless network device with GPIO

- [athn(4)](/man/athn/4.md)

  Atheros IEEE 802.11a/b/g/n wireless network device

- [atw(4)](/man/atw/4.md)

  ADMtek ADM8211 IEEE 802.11b wireless network device

- [bwfm(4)](/man/bwfm/4.md)

  Broadcom and Cypress IEEE 802.11a/ac/ax/b/g/n wireless network device

- [bwi(4)](/man/bwi/4.md)

  Broadcom AirForce IEEE 802.11b/g wireless network device

- [ipw(4)](/man/ipw/4.md)

  Intel PRO/Wireless 2100 IEEE 802.11b wireless network device

- [iwi(4)](/man/iwi/4.md)

  Intel PRO/Wireless 2200BG/2225BG/2915ABG IEEE 802.11a/b/g wireless network device

- [iwn(4)](/man/iwn/4.md)

  Intel WiFi Link and Centrino IEEE 802.11a/b/g/n wireless network device

- [iwm(4)](/man/iwm/4.md)

  Intel 7000/8000/9000 IEEE 802.11a/ac/b/g/n wireless network device

- [iwx(4)](/man/iwx/4.md)

  Intel AX200/AX201/AX210/AX211 IEEE 802.11a/ac/ax/b/g/n wireless network device

- [malo(4)](/man/malo/4.md)

  Marvell Libertas IEEE 802.11b/g wireless network device

- [mwx(4)](/man/mwx/4.md)

  MediaTek IEEE 802.11a/ac/ax/b/g/n wireless network device

- [pgt(4)](/man/pgt/4.md)

  Conexant/Intersil Prism GT Full-MAC IEEE 802.11a/b/g wireless network device

- [qwx(4)](/man/qwx/4.md)

  Qualcomm IEEE 802.11a/ac/ax/b/g/n wireless network device

- [qwz(4)](/man/qwz/4.md)

  Qualcomm IEEE 802.11a/ac/ax/b/g/n wireless network device

- [ral(4)](/man/ral/4.md)

  Ralink Technology/MediaTek IEEE 802.11a/b/g/n wireless network device

- [rtw(4)](/man/rtw/4.md)

  Realtek RTL8180L IEEE 802.11b wireless network device

- [rtwn(4)](/man/rtwn/4.md)

  Realtek RTL8188CE/RTL8188EE/RTL8192CE/RTL8723AE PCIe IEEE 802.11b/g/n wireless network device

- [wi(4)](/man/wi/4.md)

  WaveLAN/IEEE, PRISM 2-3, and Spectrum24 IEEE 802.11b wireless network device

- [wpi(4)](/man/wpi/4.md)

  Intel PRO/Wireless 3945ABG IEEE 802.11a/b/g wireless network device

### Cryptography accelerators

- [ccp(4)](/man/ccp/4.md)

  AMD cryptographic co-processor

- [glxsb(4)](/man/glxsb/4.md)

  Geode LX Security Block crypto accelerator

### Serial interfaces

- [cy(4)](/man/cy/4.md)

  Cyclades Cyclom-4Y, -8Y, and -16Y asynchronous serial communications devices

- [cz(4)](/man/cz/4.md)

  Cyclades-Z series multi-port serial adapter device

- [puc(4)](/man/puc/4.md)

  PCI “universal” communications card driver

### Display adapters

- [astfb(4)](/man/astfb/4.md)

  Aspeed BMC frame buffer

- [gfxp(4)](/man/gfxp/4.md)

  accelerated color frame buffer

- [ifb(4)](/man/ifb/4.md)

  inextricable frame buffer

- [machfb(4)](/man/machfb/4.md)

  accelerated color frame buffer

- [radeonfb(4)](/man/radeonfb/4.md)

  accelerated color frame buffer

- [raptor(4)](/man/raptor/4.md)

  accelerated color frame buffer

- [sti(4)](/man/sti/4.md)

  HP Standard Text Interface

- [tga(4)](/man/tga/4.md)

  DECchip 21030 (TGA) graphics driver

- [vga(4)](/man/vga/4.md)

  VGA graphics cards

- [vgafb(4)](/man/vgafb/4.md)

  VGA frame buffer

### Audio devices

- [auacer(4)](/man/auacer/4.md)

  Acer Labs I/O Controller Hub integrated AC'97 audio device

- [auglx(4)](/man/auglx/4.md)

  AMD Geode LX CS5536 integrated AC'97 audio device

- [auich(4)](/man/auich/4.md)

  Intel ICH integrated AC'97 audio device

- [auixp(4)](/man/auixp/4.md)

  ATI SB200/SB300/SB400/SB600 integrated AC'97 audio device

- [autri(4)](/man/autri/4.md)

  Trident 4DWAVE-DX/NX, SiS 7018, ALi M5451 audio device

- [auvia(4)](/man/auvia/4.md)

  VIA VT82C686A/VT8233/VT8235/VT8237 integrated AC'97 audio device

- [azalia(4)](/man/azalia/4.md)

  generic High Definition Audio device

- [clcs(4)](/man/clcs/4.md)

  Cirrus Logic CS4280/CS4610/CS4615 audio device

- [clct(4)](/man/clct/4.md)

  Cirrus Logic CS4281 audio device

- [cmpci(4)](/man/cmpci/4.md)

  C-Media CMI8338/CMI8738/CMI8768 PCI audio device

- [eap(4)](/man/eap/4.md)

  Ensoniq AudioPCI audio device

- [emu(4)](/man/emu/4.md)

  Creative Labs SBLive!, PCI 512, and Audigy audio device

- [envy(4)](/man/envy/4.md)

  VIA Envy24 audio device

- [esa(4)](/man/esa/4.md)

  ESS Technology Allegro-1/Maestro-3 family audio device

- [eso(4)](/man/eso/4.md)

  ESS Technology Solo-1 PCI AudioDrive audio device

- [fms(4)](/man/fms/4.md)

  Forte Media FM801 audio device

- [maestro(4)](/man/maestro/4.md)

  ESS Maestro 1 and 2 audio device

- [neo(4)](/man/neo/4.md)

  NeoMagic 256AV/ZX audio device

- [sv(4)](/man/sv/4.md)

  S3 SonicVibes audio device

- [yds(4)](/man/yds/4.md)

  Yamaha DS-XG audio device

### Time receiver devices

- [mbg(4)](/man/mbg/4.md)

  Meinberg Funkuhren timedelta sensor

### Radio receiver devices

- [fms(4)](/man/fms/4.md)

  Forte Media FM801 audio device

### Hardware Sensors

- [berkwdt(4)](/man/berkwdt/4.md)

  Berkshire Products watchdog timer device

- [geodesc(4)](/man/geodesc/4.md)

  Geode SC1100/SCx200 IAOC watchdog timer device

- [ichwdt(4)](/man/ichwdt/4.md)

  Intel 6300ESB ICH watchdog timer device

- [itherm(4)](/man/itherm/4.md)

  Intel 3400 temperature sensor

- [kate(4)](/man/kate/4.md)

  AMD K8 temperature sensor

- [km(4)](/man/km/4.md)

  AMD K10 temperature sensor

- [ksmn(4)](/man/ksmn/4.md)

  AMD K17 temperature sensor over SMN

- [pchtemp(4)](/man/pchtemp/4.md)

  Intel PCH temperature sensor

- [pwdog(4)](/man/pwdog/4.md)

  Quancom PWDOG1 watchdog timer device

- [viapm(4)](/man/viapm/4.md)

  VIA SMBus controller and VIA VT82C686A/VT8231 hardware monitor

- [wdt(4)](/man/wdt/4.md)

  ICS PCI-WDT500/501 watchdog timer device

### Miscellaneous devices

- [alipm(4)](/man/alipm/4.md)

  Acer Labs M7101 SMBus controller

- [amas(4)](/man/amas/4.md)

  AMD memory address map

- [amdiic(4)](/man/amdiic/4.md)

  AMD-8111 SMBus controller

- [amdpcib(4)](/man/amdpcib/4.md)

  AMD-8111 series LPC bridge and timecounter

- [amdpm(4)](/man/amdpm/4.md)

  AMD-756/766/768/8111 Power Management and SMBus controller

- [bktr(4)](/man/bktr/4.md)

  Brooktree Bt848/849/878/879 PCI TV tuners and video capture boards

- [cbb(4)](/man/cbb/4.md)

  PCI Yenta compatible CardBus bridges

- [drm(4)](/man/drm/4.md)

  Direct Rendering Manager device

- [dwiic(4)](/man/dwiic/4.md)

  Synopsys DesignWare I2C controller

- [ehci(4)](/man/ehci/4.md)

  USB Enhanced Host Controller Interface

- [gcu(4)](/man/gcu/4.md)

  Intel EP80579 Global Configuration Unit

- [glxpcib(4)](/man/glxpcib/4.md)

  CS5536 PCI-ISA Bridge with timecounter, watchdog timer, and GPIO

- [gscpcib(4)](/man/gscpcib/4.md)

  National Semiconductor Geode SC1100 PCI-ISA bridge with GPIO

- [gscpm(4)](/man/gscpm/4.md)

  National Semiconductor Geode SC1100 SMI/ACPI module

- [hpb(4)](/man/hpb/4.md)

  HyperTransport-PCI bridge

- [ichiic(4)](/man/ichiic/4.md)

  Intel ICH SMBus controller

- [ichpcib(4)](/man/ichpcib/4.md)

  Intel ICHx/ICHx-M LPC bridges

- [iosf(4)](/man/iosf/4.md)

  Intel OnChip System Fabric device

- [nviic(4)](/man/nviic/4.md)

  NVIDIA nForce2/3/4 SMBus controller

- [ohci(4)](/man/ohci/4.md)

  USB Open Host Controller Interface

- [pcib(4)](/man/pcib/4.md)

  PCI-ISA bridge

- [pcic(4)](/man/pcic/4.md)

  PCI PCMCIA controllers, including the Cirrus Logic GD6729

- [piixpm(4)](/man/piixpm/4.md)

  Intel PIIX SMBus controller

- [ppb(4)](/man/ppb/4.md)

  PCI-PCI bridge

- [rtsx(4)](/man/rtsx/4.md)

  Realtek SD card reader

- [sbbc(4)](/man/sbbc/4.md)

  PCI BootBus Controller

- [sdhc(4)](/man/sdhc/4.md)

  SD Host Controller

- [ssio(4)](/man/ssio/4.md)

  National Semiconductor PC87560 Legacy IO

- [tcpcib(4)](/man/tcpcib/4.md)

  Intel Atom E600 series LPC bridge and watchdog timer

- [uhci(4)](/man/uhci/4.md)

  USB Universal Host Controller Interface

- [viapm(4)](/man/viapm/4.md)

  VIA SMBus controller

- [virtio(4)](/man/virtio/4.md)

  VirtIO support driver

- [xspd(4)](/man/xspd/4.md)

  XenSource Platform Device driver

## IOCTLS

If the kernel is compiled with the *USER\_PCICONF* kernel option, the following [ioctl(2)](/man/ioctl/2.md) calls are supported by the **pci** driver. They are defined in the header file ⟨sys/pciio.h⟩.

- PCIOCREAD *struct pci\_io \**

  This [ioctl(2)](/man/ioctl/2.md) reads the PCI configuration registers specified by the passed-in *pci\_io* structure. The *pci\_io* structure consists of the following fields:

  - pi\_sel

    A *pcisel* structure which specifies the bus, slot and function the user would like to query.

  - pi\_reg

    The PCI configuration register the user would like to access.

  - pi\_width

    The width, in bytes, of the data the user would like to read. This value can be only 4.

  - pi\_data

    The data returned by the kernel.

- PCIOCWRITE *struct pci\_io \**

  This [ioctl(2)](/man/ioctl/2.md) allows users to write to the PCI device specified in the passed-in *pci\_io* structure. The *pci\_io* structure is described above. The limitations on data width described for reading registers, above, also apply to writing PCI configuration registers.

- PCIOCGETROM *struct pci\_rom \**

  This [ioctl(2)](/man/ioctl/2.md) allows users to read the contents of the PCI ROM specified in the passed-in *pci\_rom* structure. The *pci\_rom* structure consists of the following fields:

  - pr\_sel

    A *pcisel* structure which specifies the bus, slot and function the user would like to query.

  - pr\_romlen

    Size of the buffer to store the contents of the ROM. Upon return, this field will contain the size of the ROM

  - pr\_rom

    The address of the buffer to store the contents of the ROM.

    If the ROM is larger than the specified buffer size, ENOMEM will be returned.

## FILES

- */dev/pci\**

  Character device for the **pci** driver.

## SEE ALSO

[intro(4)](/man/intro/4.md), [pcidump(8)](/man/pcidump/8.md)

## HISTORY

The machine-independent PCI subsystem appeared in OpenBSD 1.2.
