xref: /openbsd/share/man/man4/pci.4 (revision 4bdff4be)
1.\"	$OpenBSD: pci.4,v 1.403 2023/10/14 06:29:11 jmc Exp $
2.\"	$NetBSD: pci.4,v 1.29 2000/04/01 00:32:23 tsarna Exp $
3.\"
4.\" Copyright (c) 2000 Theo de Raadt.  All rights reserved.
5.\" Copyright (c) 1997 Jason R. Thorpe.  All rights reserved.
6.\" Copyright (c) 1997 Jonathan Stone
7.\" All rights reserved.
8.\"
9.\" Redistribution and use in source and binary forms, with or without
10.\" modification, are permitted provided that the following conditions
11.\" are met:
12.\" 1. Redistributions of source code must retain the above copyright
13.\"    notice, this list of conditions and the following disclaimer.
14.\" 2. Redistributions in binary form must reproduce the above copyright
15.\"    notice, this list of conditions and the following disclaimer in the
16.\"    documentation and/or other materials provided with the distribution.
17.\" 3. All advertising materials mentioning features or use of this software
18.\"    must display the following acknowledgements:
19.\"      This product includes software developed by Jonathan Stone
20.\" 4. The name of the author may not be used to endorse or promote products
21.\"    derived from this software without specific prior written permission
22.\"
23.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
24.\" IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
25.\" OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
26.\" IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
27.\" INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
28.\" NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
29.\" DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
30.\" THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
31.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
32.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
33.\"
34.Dd $Mdocdate: October 14 2023 $
35.Dt PCI 4
36.Os
37.Sh NAME
38.Nm pci
39.Nd introduction to PCI bus support
40.Sh SYNOPSIS
41.Cd "# alpha"
42.Cd "pci* at apecs?"
43.Cd "pci* at cia?"
44.Cd "pci* at irongate?"
45.Cd "pci* at lca?"
46.Cd "pci* at tsp?"
47.Cd "pci* at mcpcia?"
48.Pp
49.Cd "# amd64, i386"
50.Cd "pci* at mainbus0"
51.Pp
52.Cd "# arm64"
53.Cd "pci* at acpipci?"
54.Cd "pci* at bcmpcie?"
55.Cd "pci* at dwpcie?"
56.Cd "pci* at mvkpcie?"
57.Cd "pci* at pciecam?"
58.Cd "pci* at rkpcie?"
59.Pp
60.Cd "# armv7"
61.Cd "pci* at mvpcie?"
62.Cd "pci* at pciecam?"
63.Pp
64.Cd "# hppa"
65.Cd "pci* at dino?"
66.Cd "pci* at elroy?"
67.Pp
68.Cd "# landisk"
69.Cd "pci* at shpcic?"
70.Pp
71.Cd "# loongson"
72.Cd "pci* at bonito?"
73.Cd "pci* at htb?"
74.Pp
75.Cd "# macppc"
76.Cd "pci* at mpcpcibr?"
77.Cd "pci* at ht?"
78.Cd "pci* at hpb?"
79.Pp
80.Cd "# octeon"
81.Cd "pci* at octpcie?"
82.Pp
83.Cd "# riscv64"
84.Cd "pci* at dwpcie?"
85.Cd "pci* at pciecam?"
86.Pp
87.Cd "# sparc64"
88.Cd "pci* at psycho?"
89.Cd "pci* at schizo?"
90.Cd "pci* at pyro?"
91.Cd "pci* at vpci?"
92.Pp
93.Cd "# all architectures"
94.Cd "pci* at pchb?"
95.Cd "pci* at ppb?"
96.Sh DESCRIPTION
97The system includes a machine-independent PCI bus subsystem and
98several machine-independent PCI device drivers.
99.Pp
100Note that interrupt mappings on the i386 may require that you configure
101your BIOS to reserve sufficient interrupts as "PCI/ISAPnP" so that there
102are sufficient interrupts remaining to configure the discovered PCI
103devices.
104For more information, see
105.Xr pcibios 4 .
106.Pp
107.Ox
108provides support for the following devices.
109Note that not all architectures support all devices.
110.Ss SCSI host adapters
111.Bl -tag -width 10n -offset ind -compact
112.It Xr adv 4 , Xr adw 4
113AdvanSys PCI SCSI interface
114.It Xr ahc 4
115Adaptec VL/EISA/PCI SCSI interface
116.It Xr ahd 4
117Adaptec PCI/PCI-X AIC79xx-based Ultra320 SCSI interface
118.It Xr iha 4
119Initio INIC-940/950 based PCI SCSI interface
120.It Xr mpi 4
121LSI Logic Fusion-MPT Message Passing Interface
122.It Xr mpii 4
123LSI Logic Fusion-MPT Message Passing Interface II
124.It Xr nvme 4
125Non-Volatile Memory Host Controller Interface
126.It Xr pcscp 4
127Advanced Micro Devices Am53c974 PCscsi-PCI SCSI interface
128.It Xr qla 4
129QLogic ISP2100/2200/2300 Fibre Channel controller
130.It Xr qle 4
131QLogic ISP2400/2500 Fibre Channel controller
132.It Xr qlw 4
133QLogic ISP1000/1020/1x40/1x80/1x160 SCSI controller
134.It Xr siop 4
135LSI/Symbios Logic/NCR 53c8xx SCSI interface
136.It Xr trm 4
137TRM-S1040 based PCI SCSI interface
138.It Xr vmwpvs 4
139VMware Paravirtual SCSI
140.El
141.Ss IDE disk controllers
142.Bl -tag -width "kauaiata(4)" -offset ind -compact
143.It Xr ahci 4
144Advanced Host Controller Interface for Serial ATA
145.It Xr jmb 4
146JMicron JMB36x SATA II and PATA Host Controller
147.It Xr kauaiata 4
148ATA100 HD controller on PCI bus
149.It Xr pciide 4
150PCI IDE controller driver
151.It Xr sili 4
152Silicon Image 3124/3132/3531 SATA controller
153.El
154.Ss RAID and cache controllers
155.Bl -tag -width 10n -offset ind -compact
156.It Xr aac 4
157Adaptec SAS/SATA/SCSI RAID controller
158.It Xr ami 4
159American Megatrends Inc. MegaRAID PATA/SATA/SCSI RAID controller
160.It Xr arc 4
161Areca Technology Corporation SAS/SATA RAID controller
162.It Xr cac 4
163Compaq Smart Array 2/3/4 SCSI RAID controller
164.It Xr ciss 4
165Compaq Smart Array SAS/SATA/SCSI RAID controller
166.It Xr gdt 4
167ICP-Vortex and Intel GDT SATA/SCSI RAID controller
168.It Xr ips 4
169IBM SATA/SCSI ServeRAID controller
170.It Xr mfi 4
171LSI Logic & Dell MegaRAID SAS RAID controller
172.It Xr mfii 4
173LSI Logic MegaRAID SAS Fusion RAID controller
174.It Xr twe 4
1753ware 5000/6000/7000/8000 series PATA/SATA RAID controller
176.El
177.Ss Wired network interfaces
178.Bl -tag -width 10n -offset ind -compact
179.It Xr age 4
180Attansic L1 10/100/1Gb Ethernet device
181.It Xr alc 4
182Atheros AR813x/AR815x/AR816x/AR817x 10/100/1Gb Ethernet device
183.It Xr ale 4
184Atheros AR8121/AR8113/AR8114 10/100/1Gb Ethernet device
185.It Xr aq 4
186Aquantia AQC1xx 1Gb/2.5Gb/5Gb/10Gb PCIe Ethernet device
187.It Xr bce 4
188Broadcom BCM4401 10/100 Ethernet device
189.It Xr bge 4
190Broadcom BCM57xx/BCM590x 10/100/1Gb Ethernet device
191.It Xr bnx 4
192Broadcom NetXtreme II 10/100/1Gb Ethernet device
193.It Xr bnxt 4
194Broadcom NetXtreme-C/E 10Gb/25Gb/40Gb/50Gb Ethernet device
195.It Xr cas 4
196Sun Cassini 10/100/1Gb Ethernet device
197.It Xr dc 4
198DEC/Intel 21140/21142/21143/21145 and clones 10/100 Ethernet device
199.It Xr de 4
200DEC DC21x4x (Tulip) 10/100 Ethernet device
201.It Xr dwqe 4
202Synopsys DesignWare Ethernet Quality-of-Service Controller
203.It Xr em 4
204Intel PRO/1000 10/100/1Gb Ethernet device
205.It Xr ep 4
2063Com EtherLink III and Fast EtherLink III 10/100 Ethernet device
207.It Xr epic 4
208SMC 83C170 (EPIC/100) 10/100 Ethernet device
209.It Xr et 4
210Agere/LSI ET1310 10/100/1Gb Ethernet device
211.It Xr fxp 4
212Intel EtherExpress PRO/100 10/100 Ethernet device
213.It Xr gem 4
214GEM 10/100/1Gb Ethernet device
215.It Xr hme 4
216Sun Happy Meal 10/100 Ethernet device
217.It Xr iavf 4
218Intel Ethernet Adaptive Virtual Function device
219.It Xr igc 4
220Intel I225/I226 1Gb/2.5Gb Ethernet device
221.It Xr ix 4
222Intel 82598/82599/X540/X550 PCI Express 100/1Gb/10Gb Ethernet device
223.It Xr ixgb 4
224Intel PRO/10GbE 10Gb Ethernet device
225.It Xr ixl 4
226Intel Ethernet 700 series Ethernet device
227.It Xr jme 4
228JMicron JMC25x/JMC26x 10/100/1Gb Ethernet device
229.It Xr lge 4
230Level 1 LXT1001 NetCellerator PCI 1Gb Ethernet device
231.It Xr lii 4
232Attansic L2 10/100 Ethernet device
233.It Xr mcx 4
234Mellanox 5th generation Ethernet device
235.It Xr msk 4
236Marvell Yukon-2 10/100/1Gb Ethernet device
237.It Xr mtd 4
238Myson Technology MTD800/MTD803/MTD891 10/100/1Gb Ethernet device
239.It Xr myx 4
240Myricom Myri-10G PCI Express 10Gb Ethernet device
241.It Xr ne 4
242NE2000 and compatible 10/100 Ethernet device
243.It Xr nep 4
244Sun Neptune 10Gb Ethernet device
245.It Xr nfe 4
246NVIDIA nForce MCP 10/100/1Gb Ethernet device
247.It Xr ngbe 4
248WangXun WX1860 PCI Express 10/100/1Gb Ethernet device
249.It Xr nge 4
250National Semiconductor PCI 10/100/1Gb Ethernet device
251.It Xr oce 4
252Emulex OneConnect 10Gb Ethernet device
253.It Xr pcn 4
254AMD PCnet-PCI 10/100 Ethernet device
255.It Xr re 4
256Realtek 8139C+/8169/816xS/811xS/8168/810xE 10/100/1Gb Ethernet device
257.It Xr rge 4
258Realtek 8125/8125B PCI Express 10/100/1Gb/2.5Gb Ethernet device
259.It Xr rl 4
260Realtek 8129/8139 10/100 Ethernet device
261.It Xr se 4
262SiS 190/191 10/100/1Gb Ethernet device
263.It Xr sf 4
264Adaptec AIC-6915 "Starfire" PCI 10/100 Ethernet device
265.It Xr sis 4
266SiS 900, SiS 7016, and NS DP83815/6 10/100 Ethernet device
267.It Xr sk 4
268SysKonnect XMAC II and Marvell Yukon 10/100/1Gb Ethernet device
269.It Xr ste 4
270Sundance Technologies ST201 10/100 Ethernet device
271.It Xr stge 4
272Sundance/Tamarack TC9021 1Gb Ethernet device
273.It Xr tht 4
274Tehuti Networks 10Gb Ethernet device
275.It Xr ti 4
276Alteon Networks Tigon I and II 1Gb Ethernet device
277.It Xr tl 4
278Texas Instruments ThunderLAN 10/100 Ethernet device
279.It Xr txp 4
2803Com 3XP Typhoon/Sidewinder (3CR990) 10/100 Ethernet device
281.It Xr vge 4
282VIA Velocity 10/100/1Gb Ethernet device
283.It Xr vic 4
284VMware VMXnet Virtual Interface Controller device
285.It Xr vmx 4
286VMware VMXNET3 Virtual Interface Controller device
287.It Xr vr 4
288VIA Rhine I/II/III 10/100 Ethernet device
289.It Xr vte 4
290RDC R6040 10/100 Ethernet device
291.It Xr wb 4
292Winbond W89C840F 10/100 Ethernet device
293.It Xr xge 4
294Neterion Xframe/Xframe II 10Gb Ethernet device
295.It Xr xl 4
2963Com EtherLink XL and Fast EtherLink XL 10/100 Ethernet device
297.El
298.Ss Wireless network interfaces
299.Bl -tag -width 10n -offset ind -compact
300.It Xr acx 4
301TI ACX100/ACX111 IEEE 802.11a/b/g wireless network device
302.It Xr an 4
303Aironet Communications 4500/4800 IEEE 802.11FH/b wireless network device
304.It Xr ath 4
305Atheros IEEE 802.11a/b/g wireless network device with GPIO
306.It Xr athn 4
307Atheros IEEE 802.11a/b/g/n wireless network device
308.It Xr atw 4
309ADMtek ADM8211 IEEE 802.11b wireless network device
310.It Xr bwfm 4
311Broadcom and Cypress IEEE 802.11a/ac/ax/b/g/n wireless network device
312.It Xr bwi 4
313Broadcom AirForce IEEE 802.11b/g wireless network device
314.It Xr ipw 4
315Intel PRO/Wireless 2100 IEEE 802.11b wireless network device
316.It Xr iwi 4
317Intel
318PRO/Wireless 2200BG/2225BG/2915ABG IEEE 802.11a/b/g wireless network device
319.It Xr iwn 4
320Intel WiFi Link and Centrino IEEE 802.11a/b/g/n wireless network device
321.It Xr iwm 4
322Intel 7000/8000/9000 IEEE 802.11a/ac/b/g/n wireless network device
323.It Xr iwx 4
324Intel AX200/AX201/AX210/AX211 IEEE 802.11a/ac/ax/b/g/n wireless network device
325.It Xr malo 4
326Marvell Libertas IEEE 802.11b/g wireless network device
327.It Xr pgt 4
328Conexant/Intersil Prism GT Full-MAC IEEE 802.11a/b/g wireless network device
329.It Xr ral 4
330Ralink Technology/MediaTek IEEE 802.11a/b/g/n wireless network device
331.It Xr rtw 4
332Realtek RTL8180L IEEE 802.11b wireless network device
333.It Xr rtwn 4
334Realtek RTL8188CE/RTL8188EE/RTL8192CE/RTL8723AE PCIe IEEE 802.11b/g/n wireless
335network device
336.It Xr wi 4
337WaveLAN/IEEE, PRISM 2-3, and Spectrum24 IEEE 802.11b wireless network
338device
339.It Xr wpi 4
340Intel PRO/Wireless 3945ABG IEEE 802.11a/b/g wireless network device
341.El
342.Ss Cryptography accelerators
343.Bl -tag -width 10n -offset ind -compact
344.It Xr ccp 4
345AMD cryptographic co-processor
346.It Xr glxsb 4
347Geode LX Security Block crypto accelerator
348.El
349.Ss Serial interfaces
350.Bl -tag -width 10n -offset ind -compact
351.It Xr cy 4
352Cyclades Cyclom-4Y, -8Y, and -16Y asynchronous serial communications devices
353.It Xr cz 4
354Cyclades-Z series multi-port serial adapter device
355.It Xr puc 4
356PCI
357.Dq universal
358communications card driver
359.El
360.Ss Display adapters
361.Bl -tag -width 10n -offset ind -compact
362.It Xr astfb 4
363Aspeed BMC frame buffer
364.It Xr gfxp 4
365accelerated color frame buffer
366.It Xr ifb 4
367inextricable frame buffer
368.It Xr machfb 4
369accelerated color frame buffer
370.It radeonfb 4
371accelerated color frame buffer
372.It Xr raptor 4
373accelerated color frame buffer
374.It Xr sisfb 4
375SiS 315 Pro frame buffer
376.It Xr smfb 4
377Silicon Motion frame buffer
378.It Xr sti 4
379HP Standard Text Interface
380.It Xr tga 4
381DECchip 21030 (TGA) graphics driver
382.It Xr vga 4
383VGA graphics cards
384.It Xr vgafb 4
385VGA frame buffer
386.El
387.Ss Audio devices
388.Bl -tag -width 10n -offset ind -compact
389.It Xr auacer 4
390Acer Labs I/O Controller Hub integrated AC'97 audio device
391.It Xr auglx 4
392AMD Geode LX CS5536 integrated AC'97 audio device
393.It Xr auich 4
394Intel ICH integrated AC'97 audio device
395.It Xr auixp 4
396ATI SB200/SB300/SB400/SB600 integrated AC'97 audio device
397.It Xr autri 4
398Trident 4DWAVE-DX/NX, SiS 7018, ALi M5451 audio device
399.It Xr auvia 4
400VIA VT82C686A/VT8233/VT8235/VT8237 integrated AC'97 audio device
401.It Xr azalia 4
402generic High Definition Audio device
403.It Xr clcs 4
404Cirrus Logic CS4280/CS4610/CS4615 audio device
405.It Xr clct 4
406Cirrus Logic CS4281 audio device
407.It Xr cmpci 4
408C-Media CMI8338/CMI8738/CMI8768 PCI audio device
409.It Xr eap 4
410Ensoniq AudioPCI audio device
411.It Xr emu 4
412Creative Labs SBLive!, PCI 512, and Audigy audio device
413.It Xr envy 4
414VIA Envy24 audio device
415.It Xr esa 4
416ESS Technology Allegro-1/Maestro-3 family audio device
417.It Xr eso 4
418ESS Technology Solo-1 PCI AudioDrive audio device
419.It Xr fms 4
420Forte Media FM801 audio device
421.It Xr maestro 4
422ESS Maestro 1 and 2 audio device
423.It Xr neo 4
424NeoMagic 256AV/ZX audio device
425.It Xr sv 4
426S3 SonicVibes audio device
427.It Xr yds 4
428Yamaha DS-XG audio device
429.El
430.Ss Time receiver devices
431.Bl -tag -width 10n -offset ind -compact
432.It Xr mbg 4
433Meinberg Funkuhren timedelta sensor
434.El
435.Ss Radio receiver devices
436.Bl -tag -width 10n -offset ind -compact
437.It Xr fms 4
438Forte Media FM801 audio device
439.El
440.Ss Hardware Sensors
441.Bl -tag -width 10n -offset ind -compact
442.It Xr berkwdt 4
443Berkshire Products watchdog timer device
444.It Xr geodesc 4
445Geode SC1100/SCx200 IAOC watchdog timer device
446.It Xr ichwdt 4
447Intel 6300ESB ICH watchdog timer device
448.It Xr itherm 4
449Intel 3400 temperature sensor
450.It Xr kate 4
451AMD K8 temperature sensor
452.It Xr km 4
453AMD K10 temperature sensor
454.It Xr ksmn 4
455AMD K17 temperature sensor over SMN
456.It Xr pchtemp 4
457Intel PCH temperature sensor
458.It Xr pwdog 4
459Quancom PWDOG1 watchdog timer device
460.It Xr viapm 4
461VIA SMBus controller and VIA VT82C686A/VT8231 hardware monitor
462.It Xr wdt 4
463ICS PCI-WDT500/501 watchdog timer device
464.El
465.Ss Miscellaneous devices
466.Bl -tag -width "amdpcib(4)" -offset ind -compact
467.It Xr alipm 4
468Acer Labs M7101 SMBus controller
469.It Xr amas 4
470AMD memory address map
471.It Xr amdiic 4
472AMD-8111 SMBus controller
473.It Xr amdpcib 4
474AMD-8111 series LPC bridge and timecounter
475.It Xr amdpm 4
476AMD-756/766/768/8111 Power Management and SMBus controller
477.It Xr bktr 4
478Brooktree Bt848/849/878/879 PCI TV tuners and video capture boards
479.It Xr cbb 4
480PCI Yenta compatible CardBus bridges
481.It Xr drm 4
482Direct Rendering Manager device
483.It Xr dwiic 4
484Synopsys DesignWare I2C controller
485.It Xr ehci 4
486USB Enhanced Host Controller Interface
487.It Xr gcu 4
488Intel EP80579 Global Configuration Unit
489.It Xr glxpcib 4
490CS5536 PCI-ISA Bridge with timecounter, watchdog timer, and GPIO
491.It Xr gscpcib 4
492National Semiconductor Geode SC1100 PCI-ISA bridge with GPIO
493.It Xr gscpm 4
494National Semiconductor Geode SC1100 SMI/ACPI module
495.It Xr hpb 4
496HyperTransport-PCI bridge
497.It Xr ichiic 4
498Intel ICH SMBus controller
499.It Xr ichpcib 4
500Intel ICHx/ICHx-M LPC bridges
501.It Xr iosf 4
502Intel OnChip System Fabric device
503.It Xr nviic 4
504NVIDIA nForce2/3/4 SMBus controller
505.It Xr ohci 4
506USB Open Host Controller Interface
507.It Xr pcib 4
508PCI-ISA bridge
509.It Xr pcic 4
510PCI PCMCIA controllers, including the Cirrus Logic GD6729
511.It Xr piixpm 4
512Intel PIIX SMBus controller
513.It Xr ppb 4
514PCI-PCI bridge
515.It Xr rtsx 4
516Realtek SD card reader
517.It Xr sbbc 4
518PCI BootBus Controller
519.It Xr sdhc 4
520SD Host Controller
521.It Xr ssio 4
522National Semiconductor PC87560 Legacy IO
523.It Xr tcpcib 4
524Intel Atom E600 series LPC bridge and watchdog timer
525.It Xr uhci 4
526USB Universal Host Controller Interface
527.It Xr viapm 4
528VIA SMBus controller
529.It Xr virtio 4
530VirtIO support driver
531.It Xr voyager 4
532Silicon Motion Mobile Multimedia Companion Chip
533.It Xr xspd 4
534XenSource Platform Device driver
535.El
536.Sh IOCTLS
537If the kernel is compiled with the
538.Va USER_PCICONF
539kernel option, the following
540.Xr ioctl 2
541calls are supported by the
542.Nm
543driver.
544They are defined in the header file
545.In sys/pciio.h .
546.Bl -tag -width Ds
547.It PCIOCREAD Fa "struct pci_io *"
548This
549.Xr ioctl 2
550reads the PCI configuration registers specified by the passed-in
551.Va pci_io
552structure.
553The
554.Va pci_io
555structure consists of the following fields:
556.Bl -tag -width pi_width
557.It pi_sel
558A
559.Va pcisel
560structure which specifies the bus, slot and function the user would like to
561query.
562.It pi_reg
563The PCI configuration register the user would like to access.
564.It pi_width
565The width, in bytes, of the data the user would like to read.
566This value can be only 4.
567.It pi_data
568The data returned by the kernel.
569.El
570.It PCIOCWRITE Fa "struct pci_io *"
571This
572.Xr ioctl 2
573allows users to write to the PCI device specified in the passed-in
574.Va pci_io
575structure.
576The
577.Va pci_io
578structure is described above.
579The limitations on data width described for
580reading registers, above, also apply to writing PCI configuration registers.
581.It PCIOCGETROM Fa "struct pci_rom *"
582This
583.Xr ioctl 2
584allows users to read the contents of the PCI ROM specified in the passed-in
585.Va pci_rom
586structure.
587The
588.Va pci_rom
589structure consists of the following fields:
590.Bl -tag -width pr_romlen
591.It pr_sel
592A
593.Va pcisel
594structure which specifies the bus, slot and function the user would like to
595query.
596.It pr_romlen
597Size of the buffer to store the contents of the ROM.
598Upon return, this field will contain the size of the ROM
599.It pr_rom
600The address of the buffer to store the contents of the ROM.
601.El
602.Pp
603If the ROM is larger than the specified buffer size,
604.Dv ENOMEM
605will be returned.
606.El
607.Sh FILES
608.Bl -tag -width /dev/pci* -compact
609.It Pa /dev/pci*
610Character device for the
611.Nm
612driver.
613.El
614.Sh SEE ALSO
615.Xr intro 4 ,
616.Xr pcidump 8
617.Sh HISTORY
618The machine-independent PCI subsystem appeared in
619.Ox 1.2 .
620